code-review-checklist
Five-axis code review checklist (correctness, security, readability, performance, test coverage) producing actionable comments instead of style nitpicks.
Skill by alapha888
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alapha888-code-review-checklist
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-review-checklist
What's inside
- Skill name
code-review-checklist- Description
- Five-axis code review checklist (correctness, security, readability, performance, test coverage) producing actionable comments instead of style nitpicks. Use when the user asks to review code, a diff, or a pull request.
- License
- MIT
- Instructions
- 72 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Code Review Checklist
One review answers a single question: "Will this code become someone else's problem within three months?" Walk the five axes in order; each axis gets pass / fail / N-A, and every failure must come with a concrete fix.
## Workflow
1. **Check the scope first**: look at the diff size. Over ~400 changed lines, ask for a split before reviewing — review quality on huge diffs always collapses.
2. **Check axis by axis** (order = priority):
- **Correctness**: edge cases (null, empty, zero, negative, oversized), concurrency/timing assumptions, error handling (are exceptions swallowed?). One of the two axes that can block a merge (with Security).
- **Security**: is user input concatenated into SQL / shell commands / HTML; are secrets or tokens hard-coded; does logging leak sensitive data. One of the two axes that can block a merge (with Correctness).
- **Readability**: do names say what things are; does each function do one thing; are magic numbers named. Flag only what you can't understand — not "I'd write it differently."
- **Performance**: repeated queries or recomputation inside loops; N+1 problems; avoidable large-object copies. No data-free performance speculation ("this might get slow" is not a comment).
- **Test coverage**: does new logic have tests; do edge cases have cases. All-green tests with the critical path uncovered still earn a `Should fix` — flag it explicitly, but tests alone don't block the merge.
3. **Write the comments**: fixed format — `[axis] file:line problem → suggested fix`. Only actionable suggestions; "could be optimized" is not one.
4. **Triage**: `Must fix` = a concrete correctness or security failure (these two axes, and only these, can block a merge) vs `Should fix` (readability / performance / tests). "Should fix" doesn't block the merge, but say so explicitly.
## Rules
- At most 10 comments per review. More than that means the code is too broken — send it back for a rewrite instead of grading 50 items.
- No style policing: indentation, quotes, semicolons — that's the linter's job, not a human's.
- Speak with the diff: every comment must cite a concrete line of code. A comment without a code reference is invalid.
## Checklist (minimal executable version)
```markdown
## Code review checklist
- [ ] Correctness: edge cases (null/0/negative/oversized) handled, exceptions not swallowed
- [ ] Correctness: concurrency/timing assumptions hold, no races
- [ ] Security: no SQL/shell/HTML injection points, no hard-coded secrets, no sensitive data in logs
- [ ] Readability: names are descriptive, functions have a single responsibility, no magic numbers
- [ ] Performance: no repeated queries/computation in loops, no N+1, no evidence-free performance worries
- [ ] Tests: new logic is covered, edge cases have cases
- [ ] Scope: diff ≤ ~400 lines, otherwise split first
```
Example review comments:
```text
[Must fix][Correctness] order.py:87 empty order list triggers IndexError → guard for empty before taking [0]
[Should fix][Readability] order.py:92 magic number 86400 → name it SECONDS_PER_DAY
```
## Worked example
A 14-line diff adds a discount endpoint. The full review this checklist produces:
```python
@app.get("/discount")
def discount(code: str):
row = db.execute(f"SELECT pct FROM coupons WHERE code = '{code}'").fetchone()
return {"pct": row[0], "label": "SAVE" + str(row[0]) + "%"}
```
```text
[Must fix][Security] discount.py:3 user input interpolated into SQL → parameterize the query (code = ?)
[Must fix][Correctness] discount.py:4 unknown code makes fetchone() return None, row[0] raises TypeError → return 404 when row is None
[Should fix][Readability] discount.py:5 label built by string concatenation → use an f-string or a named helper
Verdict: do not merge — 2 must-fix items (security + correctness). The readability item does not block.
```
Note what the checklist kept out: no comment on quotes, line length, or naming taste, and no performance remark — there is no data showing this query is slow. Two blocking findings, one non-blocking note, one explicit verdict: that ratio is the point of the triage rule.
## Anti-patterns
- ❌ Drive-by LGTM: approving before reading the whole diff — the review is theater.
- ❌ Style police: 18 of 20 comments about quotes and line breaks while a null-pointer dereference slips through.
- ❌ Comments without code: "this logic looks off" — which logic? Which line? Unsaid means invalid.
- ❌ Performance speculation: "this loop might be slow at scale" — a performance comment without data is noise.
- ❌ Grading 50 items: when there are too many problems to list, the right move is "rewrite and resubmit", not playing teacher.From alapha888/agent-skills-en, MIT.
More from alapha888/agent-skills-en
- 0.587score
meeting-notes
alapha888
Turns raw meeting notes into structured minutes: conclusion first, then decisions / action items / open questions; every action item must have an owner and a…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
deep-research-framework
alapha888
Framework for deep research reports: define the question and tier sources first, cross-verify, then write conclusion-first reports with explicit uncertainty…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
git-commit-message
alapha888
Generates conventional-commit messages from staged changes: type prefix + English imperative subject (≤50 chars) + optional body explaining why.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
tech-writing-proofread
alapha888
Proofreads English technical writing for typos, grammar slips, punctuation, terminology consistency, jargon, and structure; returns an itemized Original →…
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 15, 2026 (13 days ago)
- Last release
- Oct 16, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/alapha888/agent-skills-en
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from alapha888
- 0.587score
meeting-notes
alapha888
Turns raw meeting notes into structured minutes: conclusion first, then decisions / action items / open questions; every action item must have an owner and a…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
deep-research-framework
alapha888
Framework for deep research reports: define the question and tier sources first, cross-verify, then write conclusion-first reports with explicit uncertainty…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
git-commit-message
alapha888
Generates conventional-commit messages from staged changes: type prefix + English imperative subject (≤50 chars) + optional body explaining why.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
tech-writing-proofread
alapha888
Proofreads English technical writing for typos, grammar slips, punctuation, terminology consistency, jargon, and structure; returns an itemized Original →…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
code-review-checklist skill. Agent Mart. https://agentmart.dev/skills/alapha888-code-review-checklist (last updated 2026-10-24)