| name: code_review | |
| description: Review scope, correctness, tests, security and maintainability before merge. | |
| # code_review | |
| ## Purpose | |
| Block risky changes and keep the codebase maintainable. | |
| ## Checklist | |
| - Scope matches the task. | |
| - Existing code search is documented. | |
| - Reuse decision is justified. | |
| - Tests are present or missing tests are justified. | |
| - Security risks are checked. | |
| - Temporal leakage is checked when relevant. | |
| - Duplication is avoided. | |
| - Architecture stays simple. | |
| - Performance impact is understood. | |
| - Docs and task report are updated. | |
| ## Output | |
| Return findings first, ordered by severity: | |
| ```markdown | |
| ## Findings | |
| - Severity: file:line — issue and impact | |
| ## Questions | |
| ## Verdict | |
| approve / request changes / block | |
| ``` | |