Skip to main content

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 keeps rules living

Windsurf Rules go stale - Moxie keeps instructions evergreen Export free above · connect a repo when you want Moxie to keep it accurate

Windsurf-optimized structure

Runnable build/test command blocks, explicit conventions, file structure notes, and security directives specifically for the Windsurf AI agent.

Live preview

View the rendered .windsurfrules Markdown output in real-time as you fill out the fields.

Shareable drafts

The full editor state is persisted in the URL. Bookmark the page or share links directly with teammates.

Completely private

Runs entirely client-side. Your private codebase configurations and conventions never touch our servers.

What to include in .windsurfrules

Agent Instructions

Instruct the agent on how to approach refactors, write clean modules, and verify compilation status.

Repository Layout

Outline where components, styles, helper scripts, and tests belong so files are created in the right spots.

Build & Verify Scripts

List standard CLI commands for building, linting, and testing so the agent can self-repair broken changes.

Security Guardrails

Define explicit rules around secrets handling, API key exposure, and database mutations.

Built for the AI-agent era

Windsurf Rules go stale - Moxie keeps instructions evergreen

Draft and export your .windsurfrules here. Connect GitHub when you want Moxie to automatically detect doc gaps, catch drift, and serve fresh repo context via MCP.

Export free above · connect a repo when you want Moxie to keep it accurate