| name | code-review-checklist |
| description | Systematic code review checklist for quality, security, and maintainability Use when this capability is needed. |
| metadata | {"author":"gapfdev"} |
Code Review Checklist
Skill for systematically reviewing code to verify quality, security, and maintainability.
Input
- Source code to review (PR, feature branch, or specific files)
- Tests associated with the code
Output
- Review report with findings classified by severity
- Decision: Approve / Approve with conditions / Reject
Process
Phase 1: Run Tests
- If any test fails → REJECT immediately
- If all pass → Continue review
Phase 2: Review Checklist
Correctness
Readability
Maintainability
Performance
Security
Tests
Phase 3: Classify Findings
| Severity | Meaning | Action |
|---|
| 🔴 Critical | Bug, security issue, test failure | BLOCKS approval |
| 🟡 Warning | Code smell, important improvement | Should be fixed |
| 🔵 Info | Suggestion, nice-to-have | Optional |
Phase 4: Decision
Any 🔴 Critical findings?
├── Yes → REJECT → Return with list of corrections
└── No → Any 🟡 Warning findings?
├── Yes → APPROVE WITH CONDITIONS → Fix before continuing
└── No → APPROVE
Rules
- NEVER approve code with failing tests
- NEVER approve code with Critical findings
- ALWAYS run tests before reviewing code
- ALWAYS classify each finding with severity
Converted and distributed by TomeVault — claim your Tome and manage your conversions.