Set up Windsurf’s Cascade AI assistant to help you write and maintain your Mintlify documentation.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flan02/docs/llms.txt
Use this file to discover all available pages before exploring further.
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