Cursor rule
.cursor/rules/task-review.mdc[object Object]
Cursor rules
Quality
69/100
Scores the file, not the repository.Length
786 words
10 headings · 7 code blocksRepository
9
— · pushed 389 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Task Completion Workflow with Zen MCP78<critical_requirement>9**MANDATORY:** Before marking any task as complete, you MUST follow this exact workflow to ensure code quality:10</critical_requirement>1112<workflow_overview>13**Enhanced Quality Assurance Steps:**141. **Task Definition Validation** - Verify alignment with task, PRD, and tech spec152. **Rules Analysis & Code Review** - Analyze applicable rules and perform comprehensive review163. **Issue Resolution** - Address all identified problems174. **Pre-Commit Validation** - Final validation before commit185. **Task Completion** - Mark task as complete only after successful validation19</workflow_overview>2021## 1. Task Definition Validation2223<mandatory_step>24**FIRST:** Verify the implementation aligns with requirements:25</mandatory_step>2627- **Task Definition:** Review the specific task file (e.g., `tasks/prd-[feature-slug]/[task_number]_task.md`)28- **PRD Alignment:** Check against the Product Requirements Document (`tasks/prd-[feature-slug]/_prd.md`)29- **Tech Spec Compliance:** Ensure implementation follows the Technical Specification (`tasks/prd-[feature-slug]/_techspec.md`)3031```32Verify that task [task_number] implementation fully satisfies:331. The specific requirements defined in the task file342. The business objectives from the PRD353. The technical specifications and architecture requirements364. All acceptance criteria and success metrics37```3839## 2. Rules Analysis & Code Review with Zen MCP4041<mandatory_step>42**Analyze applicable rules first, then perform comprehensive code review:**43</mandatory_step>4445### 2.1 Rules Analysis46```47Analyze all Cursor rules that apply to the changed files for task [task_number]:48- Identify which .cursor/rules/*.mdc files are relevant to the implementation49- List the specific coding standards, patterns, and requirements that apply50- Check for any rule violations or areas needing attention51```5253### 2.2 Multi-Model Code Review5455<mandatory_step>56Use the criteria from [`review-checklist.mdc`](mdc:.cursor/rules/review-checklist.mdc) as the basis for all code reviews:57</mandatory_step>5859<critical>60**MANDATORY REQUIREMENTS:**61- **ALWAYS** check dependent files APIs before write tests to avoid write wrong code62- **ALWAYS** verify against PRD and tech specs - NEVER make assumptions63- **NEVER** use workarounds, especially in tests - implement proper solutions64- **MUST** follow all established project standards:65 - Architecture patterns: `.cursor/rules/architecture.mdc`66 - Go coding standards: `.cursor/rules/go-coding-standards.mdc`67 - Testing requirements: `.cursor/rules/testing-standards.mdc`68 - API standards: `.cursor/rules/api-standards.mdc`69 - Security & quality: `.cursor/rules/quality-security.mdc`70- **MUST** run `make lint` and `make test` before completing ANY subtask71- **MUST** follow `.cursor/rules/task-review.mdc` workflow for parent tasks72**Enforcement:** Violating these standards results in immediate task rejection.73</critical>7475```76Use zen for codereview with gemini-2.5-pro-preview-05-06 to analyze the implementation for task [task_number]: [task_title].77Focus on the review checklist criteria: code quality, security, adherence to project standards, error handling, testing patterns, and maintainability.78Apply the specific rules identified in step 2.1 during the review.79```8081```82Use zen with o3 to perform a logical review of the implementation for task [task_number]: [task_title].83Analyze the logic, edge cases, and potential issues while considering the applicable coding standards and rules.84```8586### 2.3 Rules-Specific Review87```88Use zen with gemini-2.5-pro-preview-05-06 to review task [task_number] implementation specifically against the identified Cursor rules:89- Verify compliance with project-specific coding standards90- Check adherence to architectural patterns and design principles91- Validate implementation follows the established conventions92- Ensure all rule-based requirements are met93```9495## 3. Fix Review Issues9697<mandatory_fixes>98Address ALL issues identified:99- Fix critical and high-severity issues immediately100- Address medium-severity issues unless explicitly justified101- Document any decisions to skip low-severity issues102</mandatory_fixes>103104## 4. Pre-Commit Validation105106<mandatory_step>107**Execute codereview validation with proper parameters:**108</mandatory_step>109110**Required Parameters:**111- `path`: Current workspace directory (absolute path)112- `model`: Use `gemini-2.5-pro-preview-05-06` for comprehensive analysis113- `prompt`: Original task requirements and context114115**Example Implementation:**116```117Execute codereview validation for task [task_number]:118- Path: /path/to/workspace119- Model: gemini-2.5-pro-preview-05-06120- Context: Implementation of [task_title] as defined in task requirements121- Review: Comprehensive validation of all staged and unstaged changes122```123124**Validation Focus:**125- Verify implementation matches task requirements126- Check for bugs, security issues, and incomplete implementations127- Ensure changes follow project coding standards128- Validate test coverage and error handling129- Confirm no code duplication or logic redundancy130131## 5. Mark Task Complete132133**ONLY AFTER** successful validation, update the Markdown task file:134135```markdown136- [x] 1.0 [task_title] ✅ COMPLETED137 - [x] 1.1 Implementation completed138 - [x] 1.2 Task definition, PRD, and tech spec validated139 - [x] 1.3 Rules analysis and compliance verified140 - [x] 1.4 Code review completed with Zen MCP141 - [x] 1.5 Ready for deployment142```143144## Important Notes145146- **Tool Usage:** Most Zen MCP tools use natural language requests, but **codereview requires structured parameters** (path, model, prompt)147- **File Paths:** Use absolute paths when referencing files with Zen MCP148- **Available Models:** `gemini-2.5-pro-preview-05-06` (deep analysis), `o3` (logical reasoning), `flash` (fast responses)149- **Codereview Parameters:** Always provide absolute workspace path, model selection, and task context for codereview validation150- **Exceptions:** Only allowed for hotfixes, documentation-only, or config-only changes (must be documented)151152<enforcement_policy>153**MANDATORY:** This workflow must be followed for every task completion. No exceptions without explicit justification.154</enforcement_policy>155
Also in compozy/gograph
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| compozy/gograph.cursor/rules/architecture.mdc · 9 | Cursor rules | styletesting-strategydependenciesdo-not | 57/100 | 3 days ago | |
| compozy/gograph.cursor/rules/api-standards.mdc · 9 | Cursor rules | lint-formatapidocs | 54/100 | 3 days ago | |
| compozy/gograph.cursor/rules/backwards-compatibility.mdc · 9 | Cursor rules | do-notagent-behaviour | 32/100 | 3 days ago | |
| compozy/gograph.cursor/rules/compozy-agent-config.mdc · 9 | Cursor rules | agent-behaviour | 45/100 | 3 days ago | |
| compozy/gograph.cursor/rules/compozy-examples.mdc · 9 | Cursor rules | stylearchtypesagent-behaviour | 58/100 | 3 days ago | |
| compozy/gograph.cursor/rules/compozy-project-config.mdc · 9 | Cursor rules | setupstyle | 54/100 | 3 days ago | |
| compozy/gograph.cursor/rules/cursor_rules.mdc · 9 | Cursor rules | no sections | 40/100 | 3 days ago | |
| compozy/gograph.cursor/rules/compozy-shared-patterns.mdc · 9 | Cursor rules | styleagent-behaviour | 54/100 | 3 days ago | |
| compozy/gograph.cursor/rules/compozy-task-patterns.mdc · 9 | Cursor rules | stylearchagent-behaviour | 70/100 | 3 days ago | |
| compozy/gograph.cursor/rules/core-libraries.mdc · 9 | Cursor rules | testing-strategydependenciesdo-not | 60/100 | 3 days ago | |
| compozy/gograph.cursor/rules/critical-validation.mdc · 9 | Cursor rules | no sections | 24/100 | 3 days ago | |
| compozy/gograph.cursor/rules/go-coding-standards.mdc · 9 | Cursor rules | stylearchdependencies | 62/100 | 3 days ago | |
| compozy/gograph.cursor/rules/go-patterns.mdc · 9 | Cursor rules | style | 66/100 | 3 days ago | |
| compozy/gograph.cursor/rules/no_linebreaks.mdc · 9 | Cursor rules | no sections | 31/100 | 3 days ago | |
| compozy/gograph.cursor/rules/prd-create.mdc · 9 | Cursor rules | stylearchagent-behaviour | 48/100 | 3 days ago | |
| compozy/gograph.cursor/rules/prd-tech-spec.mdc · 9 | Cursor rules | setuptestarchagent-behaviour | 56/100 | 3 days ago | |
| compozy/gograph.cursor/rules/quality-security.mdc · 9 | Cursor rules | securityperformancedo-not | 46/100 | 3 days ago | |
| compozy/gograph.cursor/rules/review-checklist.mdc · 9 | Cursor rules | testing-strategygit | 52/100 | 3 days ago | |
| compozy/gograph.cursor/rules/section_comments.mdc · 9 | Cursor rules | no sections | 31/100 | 3 days ago | |
| compozy/gograph.cursor/rules/task-developing.mdc · 9 | Cursor rules | agent-behaviour | 47/100 | 3 days ago |
Diff against .cursor/rules/architecture.mdc Diff against .cursor/rules/api-standards.mdc Diff against .cursor/rules/backwards-compatibility.mdc Diff against .cursor/rules/compozy-agent-config.mdc Diff against .cursor/rules/compozy-examples.mdc Diff against .cursor/rules/compozy-project-config.mdc Diff against .cursor/rules/cursor_rules.mdc Diff against .cursor/rules/compozy-shared-patterns.mdc Diff against .cursor/rules/compozy-task-patterns.mdc Diff against .cursor/rules/core-libraries.mdc Diff against .cursor/rules/critical-validation.mdc Diff against .cursor/rules/go-coding-standards.mdc Diff against .cursor/rules/go-patterns.mdc Diff against .cursor/rules/no_linebreaks.mdc Diff against .cursor/rules/prd-create.mdc Diff against .cursor/rules/prd-tech-spec.mdc Diff against .cursor/rules/quality-security.mdc Diff against .cursor/rules/review-checklist.mdc Diff against .cursor/rules/section_comments.mdc Diff against .cursor/rules/task-developing.mdc
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
