FREE TOOL
.windsurfrules Generator
Structured Windsurf guidelines. Live preview. Clean Markdown export. Shareable links.
Draft the instructions file Windsurf's AI agent parses before editing your code. No signup required.
Learn how Moxie Docs keeps rules livingWindsurf Rules go stale - Moxie Docs keeps instructions evergreen Export free above · connect a repo when you want Moxie Docs to keep it accurate
Runnable build/test command blocks, explicit conventions, file structure notes, and security directives specifically for the Windsurf AI agent.
View the rendered .windsurfrules Markdown output in real-time as you fill out the fields.
The full editor state is persisted in the URL. Bookmark the page or share links directly with teammates.
Runs entirely client-side. Your private codebase configurations and conventions never touch our servers.
What to include in .windsurfrules
Instruct the agent on how to approach refactors, write clean modules, and verify compilation status.
Outline where components, styles, helper scripts, and tests belong so files are created in the right spots.
List standard CLI commands for building, linting, and testing so the agent can self-repair broken changes.
Define explicit rules around secrets handling, API key exposure, and database mutations.
Frequently asked questions
Built for the AI-agent era
Windsurf Rules go stale - Moxie Docs keeps instructions evergreen
Draft and export your .windsurfrules here. Connect GitHub when you want Moxie Docs to automatically detect doc gaps, catch drift, and serve fresh repo context via MCP.
Export free above · connect a repo when you want Moxie Docs to keep it accurate