Skip to content
Prompt

code-agent — Windsurf Rules

by danielbodart

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "code-agent — Windsurf Rules" prompt rules to my project.
Repository: https://github.com/danielbodart/code-agent

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Windsurf Rules for code-agent

Core Rules

• Communication • Be concise in chat responses • Generate minimal, efficient code • No repetition in explanations or implementations • Never add "helpful" extras without explicit request • If something seems helpful, ask first • Documentation First • Search and read latest documentation before making suggestions • If you can't find documentation look for the source code and read that • Verify exact syntax and options • State explicitly if documentation is unclear or unavailable • Never make up syntax or options • Always cite at least one source for each suggestion • Implementation • Only implement explicitly requested features • Check pyproject.toml for existing libraries and prefer them over adding new ones • Always ask before adding new libraries • To add a library run ./run uv add [library] • Run ./run check to typecheck any Python changes • Testing • Maintain existing tests, never delete without approval • Add tests for new code • Use in-memory test doubles over mocks • Maintain contract tests across interfaces • Run ./run test (all) or ./run test [specific test file] • Command Execution • Use ./run [command] [args] when available • Check ./run and commands.sh for already available commands • Examples: ./run test

Project Structure

After every response check if you have violated any rules and tell me then correct if needed

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1y ago
Dead
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Issues0
Updated1y ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more