review-checklist
Skill4 starsChanged 9 months agoMITView on GitHub
Systematic code review checklist with severity classification. Activate whenever the user asks for a code review, wants feedback on their code, submits a PR for review, or asks what to look for when reviewing code. Also activate when writing review comments or discussing code quality standards.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- vospr/context-engineering-templatetheir own version, first seen Oct 1, 2026
- SohrabZ/buzz-agent-teamstheir own version, first seen Aug 12, 2026
- matejformanek/postgres-claudetheir own version, first seen Jun 1, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- vospr/context-engineering-template★ 9same name
- matejformanek/postgres-claude★ 1same name
- SohrabZ/buzz-agent-teams★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository78 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/claude-initial-setup.mdcCursor rule
- parallel-task-executionSkill
- subagent-patternsSkill
- task-coordinationSkill
- agent-communicationSkill
- context-managementSkill
- multi-agent-orchestrationSkill
- deploy-strategiesSkill
- github-actions-guideSkill
- pipeline-patternsSkill
- anthropic-sdk-guideSkill
- prompt-engineeringSkill
- tool-use-patternsSkill
- automated-review-setupSkill
- pr-standardsSkill
- file-organizationSkill
- immutability-patternsSkill
- naming-conventionsSkill
- branching-strategySkill
- commit-conventionsSkill
- pr-workflowSkill
- migration-patternsSkill
- query-optimizationSkill
- schema-design-guideSkill
- error-tracingSkill
- log-analysisSkill
- systematic-debuggingSkill
- django-admin-customizationSkill
- django-orm-masterySkill
- drf-api-patternsSkill
- docker-compose-guideSkill
- dockerfile-best-practicesSkill
- multi-stage-buildsSkill
- express-error-handlingSkill
- middleware-patternsSkill
- rest-api-nodeSkill
- async-fastapiSkill
- dependency-injection-fastapiSkill
- pydantic-validationSkill
- concurrency-patterns-goSkill
- error-handling-goSkill
- idiomatic-goSkill
- automation-triggersSkill
- hook-recipesSkill
- pre-post-hooksSkill
- junit-testingSkill
- maven-gradle-guideSkill
- spring-boot-patternsSkill
- mcp-resource-patternsSkill
- mcp-server-creationSkill
- mcp-tool-designSkill
- context-optimizationSkill
- knowledge-persistenceSkill
- memory-patternsSkill
- caching-strategiesSkill
- lazy-loading-patternsSkill
- profiling-guideSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 142
Write reviews that teach, not criticize.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Review Checklist
A systematic approach to code review with categorized checks and severity levels. Focus on issues that matter most: correctness, security, and maintainability. Provide constructive, actionable feedback.
When to Use
- Reviewing a pull request or code changes
- Asking Claude to review code you wrote
- Setting up code review standards for a team
- Learning what to look for in code reviews
- Writing review comments on PRs
Core Patterns
Severity Levels
Classify every finding by severity to prioritize fixes.
CRITICAL - Must fix before merge. Security vulnerabilities, data loss risks,
broken functionality, production crashes.
HIGH - Should fix before merge. Bugs, race conditions, missing error handling,
performance issues with measurable impact.
MEDIUM - Fix soon, can merge with follow-up ticket. Code smells, missing tests
for edge cases, suboptimal patterns, unclear naming.
LOW - Optional improvement. Style preferences, minor readability tweaks,
documentation suggestions.Correctness Checks
The most important category. Does the code do what it claims?
// CHECK: Off-by-one errors
// WRONG
for (let i = 0; i <= items.length; i++) { // Off-by-one: should be <
process(items[i]); // items[items.length] is undefined
}
// CHECK: Null/undefined handling
// WRONG
function getDisplayName(user: User): string {
return user.profile.displayName; // What if profile is null?
}
// CORRECT
function getDisplayName(user: User): string {
return user.profile?.displayName ?? user.email;
}
// CHECK: Async error handling
// WRONG
async function fetchData() {
const response = await fetch('/api/data'); // Unhandled rejection
return response.json();
}
// CORRECT
async function fetchData() {
const response = await fetch('/api/data');
if (!response.ok) {
throw new Error(`Fetch failed: ${response.status} ${response.statusText}`);
}
return response.json();
}Security Checks
Review every PR for security implications.
// CHECK: User input flows to dangerous sinks
// Look for: SQL queries, HTML rendering, file paths, shell commands,
// redirects, eval(), RegExp constructors
// CHECK: Authorization on every endpoint
// WRONG: Only checks authentication, not authorization
app.delete('/api/posts/:id', authenticate, async (req, res) => {
await db.posts.delete(req.params.id); // Anyone authenticated can delete any post
});
// CORRECT: Verify ownership
app.delete('/api/posts/:id', authenticate, async (req, res) => {
const post = await db.posts.findById(req.params.id);
if (post.authorId !== req.user.id) {
return res.status(403).json({ error: 'Forbidden' });
}
await db.posts.delete(req.params.id);
});
// CHECK: Sensitive data exposure
// WRONG: Returning password hash to client
app.get('/api/users/:id', async (req, res) => {
const user = await db.users.findById(req.params.id);
res.json(user); // Includes passwordHash, internalNotes, etc.
});
// CORRECT: Select only needed fields
const { id, name, email, avatar } = await db.users.findById(req.params.id);
res.json({ id, name, email, avatar });Performance Checks
Identify patterns that cause performance issues at scale.
// CHECK: N+1 queries
// WRONG
const posts = await db.posts.findMany();
for (const post of posts) {
post.author = await db.users.findById(post.authorId); // N+1 queries
}
// CORRECT
const posts = await db.posts.findMany({
include: { author: true }, // Single query with join
});
// CHECK: Unbounded queries
// WRONG
const allUsers = await db.users.findMany(); // Returns entire table
// CORRECT
const users = await db.users.findMany({ take: 50, skip: offset });
// CHECK: Missing indexes implied by query patterns
// If reviewing a new query with WHERE clauses, verify indexes existConstructive Feedback Format
Write reviews that teach, not criticize.
## Good review comment format:
**[MEDIUM] Consider using `Map` instead of object for dynamic keys**
The current approach uses a plain object as a lookup table. `Map` provides
better performance for frequent additions/deletions and avoids prototype
pollution risks.
```typescript
// Current
const cache: Record<string, Data> = {};
cache[key] = value;
// Suggested
const cache = new Map<string, Data>();
cache.set(key, value);Bad review comment format:
"This is wrong, use a Map." (No severity, no explanation, no example, not constructive)
### Review Checklist Summary
Walk through this list for every PR:
```markdown
## Correctness
- [ ] Logic handles edge cases (empty arrays, null, zero, negative numbers)
- [ ] Error states are handled (network failures, invalid data, timeouts)
- [ ] Async operations have proper error handling
- [ ] No race conditions in concurrent code
## Security
- [ ] User input is validated at the boundary
- [ ] Authorization checks on every resource access
- [ ] No sensitive data in logs, responses, or error messages
- [ ] No hardcoded secrets or credentials
## Maintainability
- [ ] Functions are focused and under 50 lines
- [ ] Variable and function names clearly express intent
- [ ] No unnecessary complexity or premature abstraction
- [ ] Changes are consistent with existing codebase patterns
## Testing
- [ ] New code has corresponding tests
- [ ] Edge cases are tested
- [ ] Tests verify behavior, not implementation details
- [ ] No flaky test patterns (timeouts, order-dependence)
## Performance
- [ ] No N+1 query patterns
- [ ] Database queries are bounded (LIMIT/pagination)
- [ ] No unnecessary re-renders in UI code
- [ ] Large data sets are handled with streaming or paginationAnti-Patterns
- Nitpicking style issues that should be handled by linters/formatters
- Rubber-stamping PRs without reading the code ("LGTM" with no comments)
- Rewriting the author's approach in your preferred style without justification
- Blocking on LOW severity items
- Providing only negative feedback with no constructive suggestions
- Reviewing only the diff without understanding the broader context
- Leaving ambiguous comments like "this seems wrong" without explanation
Quick Reference
| Priority | Focus Area | Key Questions |
| 1 | Correctness | Does it work? Edge cases handled? |
| 2 | Security | Input validated? Auth checked? Secrets safe? |
| 3 | Performance | N+1 queries? Unbounded results? |
| 4 | Maintainability | Readable? Testable? Consistent? |
| 5 | Testing | Tests exist? Cover edge cases? |
| 6 | Style | Handled by linters, not reviewers |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

