Skip to main content
Transform Devin Desktop into a documentation expert that understands your style guide, components, and project context through workspace rules and memories.
Cognition acquired Windsurf and rebranded it as Devin Desktop. The Cascade AI assistant and workspace rules system remain the same.

Use Devin Desktop with Mintlify

You can tune Devin Desktop’s Cascade AI assistant 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 live in your documentation repository, so your whole team shares them.
  • Memories provide individual context that builds up over time.
Set up workspace rules for shared documentation standards. You can develop memories as you work, but since they are not shared, they are not consistent across team members. Create workspace rules in the .devin/rules directory of your docs repo. Devin Desktop still supports rules from .windsurf/rules for backward compatibility. See Memories & Rules in the Devin Desktop 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.
Save your rule as a .md file in the .devin/rules directory of your docs repo.

Working with Cascade

Once your rules are set up, you can use Cascade to assist with various documentation tasks. See Cascade in the Devin Desktop documentation for more information.

Example prompts

Writing new content:
Improving existing content:
Creating code examples:
Maintaining consistency:

Enhance with MCP server

Connect the Mintlify MCP server to Devin Desktop to give Cascade access to search the Mintlify documentation while helping you write. When you connect the MCP server, Cascade searches the up-to-date Mintlify documentation for context so you don’t have to leave your IDE to reference documentation. Add the MCP server to ~/.codeium/windsurf/mcp_config.json:
See Model Context Protocol in the Devin Desktop documentation and Model Context Protocol in the Mintlify documentation for more details.