Prerequisites
- Windsurf editor installed
Setup
Open your docs directory in Windsurf
Open the root of your documentation repository where
docs.json is located.Install the Mintlify skill
In the integrated terminal, run:This gives Windsurf Mintlify’s component reference, writing standards,
and workflow guidance.
Customize project instructions
Edit
AGENTS.md in your project root to add project-specific terminology,
style preferences, and content boundaries.Using Cascade with Mintlify
Cascade modes
Windsurf’s Cascade offers different modes for documentation work:- Chat mode - Ask questions and get guidance
- Edit mode - Make direct changes to files
- Flow mode - Multi-step documentation tasks
Flow mode is particularly useful for creating multiple related pages or updating navigation structures.
Example workflows
Best practices
Project context
Make sure yourAGENTS.md file includes:
- Product-specific terminology
- Preferred component usage patterns
- Content boundaries and what to avoid documenting
Cascade reads
AGENTS.md automatically, so keeping it updated ensures consistent documentation quality.Iterative refinement
Use Cascade iteratively:- Draft content with Cascade
- Preview with
mint dev - Refine based on preview
- Ask Cascade to adjust specific sections