Prerequisites
- Windsurf installed on your machine
- A Mintlify docs repository with a
docs.jsonfile at the root
Setup
Open your docs directory in Windsurf
Open the folder that contains your
docs.json file as the project root in Windsurf. Windsurf’s AI features use the open project for context, so opening the correct directory ensures the skill is applied to the right files.Install the Mintlify skill
In Windsurf’s integrated terminal, run the following command from your docs root:This installs Mintlify’s component reference, writing standards, and workflow guidance into Windsurf’s context. After installation, Windsurf’s AI features will understand how to use
<Steps>, <Card>, <Tabs>, and all other Mintlify components correctly.Customize AGENTS.md
Open the
AGENTS.md file created in your docs root and add any project-specific instructions. This file defines the rules that apply to your docs site in particular, such as product terminology, style preferences, and content scope.Start writing
Use Windsurf’s AI features to draft and edit documentation:
- Cascade — Open the Cascade panel to ask Windsurf to draft a new page, restructure a section, or apply a specific Mintlify component
- Tab — Accept inline completions as you type in
.mdxfiles
AGENTS.md rules throughout the session.