Using Windsurf with Mintlify
Windsurf’s Cascade AI assistant can be tuned to write documentation according to your standards using Mintlify components. Workspace rules and memories provide persistent context about your project, ensuring more consistent suggestions from Cascade.- Workspace rules are stored in your documentation repository and shared with your team.
- Memories provide individual context that builds up over time.
.windsurf/rules
directory of your docs repo. See Memories & Rules in the Windsurf documentation for more information.
Example workspace rule
This rule provides Cascade with context about Mintlify components and general technical writing best practices. You can use this example rule as-is or customize it for your documentation:- Writing standards: Update language guidelines to match your style guide.
- Component patterns: Add project-specific components or modify existing examples.
- Code examples: Replace generic examples with real API calls and responses for your product.
- Style and tone preferences: Adjust terminology, formatting, and other rules.
.md
file in the .windsurf/rules
directory of your docs repo.