| name | code-review-checklist |
| description | Provides a comprehensive code review checklist for pull requests covering security, performance, maintainability, and testing. Use as a reference during code reviews or when the user asks for a review checklist. |
| allowed-tools | Read, Glob, Grep, Bash |
| argument-hint | [file path or PR number] |
| user-invocable | true |
| effort | 3 |
| when_to_use | Quick self-check before committing, when a full review is not needed |
Code Review Checklist
Pre-review (always start here)
Functionality
Security (block if any fail)
const q = `SELECT * FROM users WHERE email = '${email}'`;
db.query("SELECT * FROM users WHERE email = $1", [email]);
const KEY = "sk_live_abc123";
const KEY = process.env.API_KEY;
if (!KEY) throw new Error("API_KEY is required");
Performance
Code quality
Tests
Documentation
Review comment format
**Issue:** [What's wrong]
**Current:** `problematic code`
**Suggested:** `improved code`
**Why:** [reason]
Verdict
- APPROVED — all sections pass
- APPROVED WITH CONDITIONS — minor items, non-blocking
- CHANGES REQUIRED — blocking security, correctness, or test coverage issues
Output: checklist score (X/Y passing) + blocking items with file:line refs + verdict