codingbuddy / rules
Cursor rule31 starsChanged 8 months agoMITView on GitHub
codingbuddy common rules - applied to all conversations
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/auto-agent.mdcCursor rule
- parallel-issuesSkill
- plan-to-issuesSkill
- retroSkill
- shipSkill
- taskmaestroSkill
The file
We split this imports.mdc into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
EVAL: only on explicit request
- Very specific: line 17
When PLAN, ACT, EVAL, AUTO keywords detected → Immediately call parse_mode MCP tool
- Very specific: line 21
After completing work in any mode → call update_context MCP tool to persist decisions and notes.
- Very specific: line 39
Use get_project_config MCP tool to retrieve project-specific settings (language, tech stack, conventions).
- Distinctive: line 43
When a skill might apply to the user's task:
- Very specific: line 44
Call recommend_skills with the user's prompt
- Very specific: line 45
If recommendations returned, call get_skill with the top skillName
- Distinctive: line 46
Follow the loaded skill instructions
- Distinctive: line 56
All details in Single Source of Truth:
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: codingbuddy common rules - applied to all conversations globs: alwaysApply: true --- # codingbuddy Rules ## Workflow - **PLAN** → **ACT** → **PLAN** (default flow) - **EVAL** only on explicit request - **AUTO** for autonomous PLAN → ACT → EVAL cycle until quality achieved ## Required Actions When `PLAN`, `ACT`, `EVAL`, `AUTO` keywords detected → **Immediately** call `parse_mode` MCP tool ## Context Persistence After completing work in any mode → call `update_context` MCP tool to persist decisions and notes. ## Quality Tools - `analyze_task` — Pre-planning task analysis with risk assessment - `generate_checklist` — Contextual checklists for security, accessibility, performance - `search_rules` — Search project rules and guidelines - `get_code_conventions` — Get code conventions and style guide ## Core Principles - TDD: Red → Green → Refactor - Test coverage 90%+ - TypeScript strict (no `any`) - Server Components first ## Project Config Use `get_project_config` MCP tool to retrieve project-specific settings (language, tech stack, conventions). ## Skills When a skill might apply to the user's task: 1. Call `recommend_skills` with the user's prompt 2. If recommendations returned, call `get_skill` with the top skillName 3. Follow the loaded skill instructions Key skill triggers: - Bug/error/debug → `systematic-debugging` - New feature/build → `brainstorming` → `writing-plans` - TDD/test → `test-driven-development` - Plan execution → `executing-plans` ## Detailed Rules All details in Single Source of Truth: - [`packages/rules/.ai-rules/rules/augmented-coding.md`](../../packages/rules/.ai-rules/rules/augmented-coding.md) - [`packages/rules/.ai-rules/rules/clarification-guide.md`](../../packages/rules/.ai-rules/rules/clarification-guide.md) - [`packages/rules/.ai-rules/rules/core.md`](../../packages/rules/.ai-rules/rules/core.md) - [`packages/rules/.ai-rules/rules/parallel-execution.md`](../../packages/rules/.ai-rules/rules/parallel-execution.md) - [`packages/rules/.ai-rules/rules/project.md`](../../packages/rules/.ai-rules/rules/project.md) - [`packages/rules/.ai-rules/rules/structured-reasoning-guide.md`](../../packages/rules/.ai-rules/rules/structured-reasoning-guide.md) - [`packages/rules/.ai-rules/agents/README.md`](../../packages/rules/.ai-rules/agents/README.md)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

