26 lines
1.2 KiB
Markdown
26 lines
1.2 KiB
Markdown
# Code Quality Reviewer Prompt Template
|
|
|
|
Use this template when dispatching the overall code quality reviewer after all phases are complete.
|
|
|
|
**Purpose:** Verify implementation is well-built (clean, tested, maintainable)
|
|
|
|
**Dispatch after all implementation phases are complete and the task-level verifications have passed.**
|
|
|
|
```
|
|
Task tool (general-purpose):
|
|
Use template at requesting-code-review/code-reviewer.md
|
|
|
|
DESCRIPTION: [overall implementation summary]
|
|
PLAN_OR_REQUIREMENTS: Full implementation plan from [plan-file]
|
|
BASE_SHA: [commit before executing the plan]
|
|
HEAD_SHA: [current commit]
|
|
```
|
|
|
|
**In addition to standard code quality concerns, the reviewer should check:**
|
|
- Does each file have one clear responsibility with a well-defined interface?
|
|
- Are units decomposed so they can be understood and tested independently?
|
|
- Is the implementation following the file structure from the plan?
|
|
- Did this implementation create new files that are already large, or significantly grow existing files? (Don't flag pre-existing file sizes — focus on what this change contributed.)
|
|
|
|
**Code reviewer returns:** Strengths, Issues (Critical/Important/Minor), Assessment
|