Windsurf Rules (.windsurfrules)
Structuring instructions for Windsurf Cascade:
- List framework versions and key packages.
- Detail file naming conventions and state management patterns.
- Specify testing expectations prior to task completion.
Structure .windsurfrules to guide Windsurf Cascade agent through architectural decisions and code style.
Andromity loads skills from folders you trust. Install with andromity skill install windsurf-rules-guide — autonomy and approval limits stay configurable per session.
# Install the "Windsurf Cascading Rules" skill You are installing an AgenticMarket skill into this workspace. Follow these steps exactly. ## 1. Detect your environment and choose the destination file - Andromity: `.andromity/skills/windsurf-rules-guide/SKILL.md` (or user scope `~/.andromity/skills/windsurf-rules-guide/SKILL.md`) - Antigravity / Gemini CLI: `.agent/skills/windsurf-rules-guide/SKILL.md` - Cursor: `.cursor/rules/windsurf-rules-guide.mdc` - Claude Code: append to `CLAUDE.md` (or `.claude/skills/windsurf-rules-guide.md`) - Windsurf: append to `.windsurfrules` - Cline / Roo Code: `.clinerules/windsurf-rules-guide.md` - GitHub Copilot: append to `.github/copilot-instructions.md` - ChatGPT / web only: paste the content into Custom Instructions - Any other agent: save to `.agent/skills/windsurf-rules-guide/SKILL.md` ## 2. Create the destination file - Preserve every existing file and configuration entry. - Create parent folders as needed. - Never overwrite unrelated content. ## 3. Write exactly this content ```markdown --- name: windsurf-rules-guide description: "Structure .windsurfrules to guide Windsurf Cascade agent through architectural decisions and code style." author: community license: mit version: 1.0.0 --- # Windsurf Rules (.windsurfrules) Structuring instructions for Windsurf Cascade: - List framework versions and key packages. - Detail file naming conventions and state management patterns. - Specify testing expectations prior to task completion. ``` ## 4. Verify - Confirm the file exists and is readable. - Report the destination path and confirm the "Windsurf Cascading Rules" skill is installed and active. Skill metadata: - Slug: windsurf-rules-guide - Category: ai-agents - License: mit - Source: AgenticMarket
Structuring instructions for Windsurf Cascade:
Build stateful AI agents, durable workflows, real-time WebSocket communication, and MCP servers on Workers.
Design structured outputs, JSON schema function calling, tool execution loops, and error recovery for OpenAI models.
Master XML tag structure, system prompts, role prompting, scratchpad reasoning, and few-shot examples for Claude.