codingbuddy / rules
JeremyDev87/codingbuddy/.cursor/rules/imports.mdc
codingbuddy common rules - applied to all conversations
Cursor rule31 starsChanged 6 months ago
--- 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)
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

