review
Skill2 starsChanged 31 days agoMITView on GitHub
Use when reviewing code changes, examining PRs, or checking your own work before submitting. Covers what to look for (correctness, security, performance, style), how to review systematically, and how to give actionable feedback.
190 other projects use a version of this.
Adopted by
Most recently taken up by
- ClickHouse/clickhouse-jstheir own version, first seen Nov 30, 2026
- zapek/Xerestheir own version, first seen Nov 30, 2026
- Inrixia/TidaLunatheir own version, first seen Nov 29, 2026
- aviatesk/JETLS.jltheir own version, first seen Nov 29, 2026
- LeeYudok/doksam-skillstheir own version, first seen Nov 29, 2026
- yarikleto/claude-teacher-plugintheir own version, first seen Nov 29, 2026
Used with
Projects with it also use close-spec, design-with-images and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 5 projects that use this
dzhngSkilldesign-with-images
Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.
Also in 5 projects that use this
LambenthanSkilldaily-arxiv
每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新
Also in 5 projects that use this
LambenthanSkillexp-eval
实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges
Also in 5 projects that use this
- +3 more from dzhng
- +5 more from Lambenthan
Other versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 190
- garrytan/gstack★ 143ksame name
- ansible/ansible★ 72ksame name
- docling-project/docling★ 71ksame name
- traefik/traefik★ 66ksame name
- ClickHouse/ClickHouse★ 51ksame name
- ccch1mneyyy/dsh-Go★ 34ksame name
- temporalio/temporal★ 25ksame name
- tisfeng/Easydict★ 15ksame name
- juicedata/juicefs★ 15ksame name
- elie222/inbox-zero★ 13ksame name
180 more not listed
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.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 153 edited versions we read keep these.
7
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 43
Do tests actually test behavior, not implementation details?
- Distinctive: line 45
Do existing tests still pass?
- Distinctive: line 49
Don't nitpick on whitespace or import order in review comments
- Distinctive: line 108
Before marking your own PR ready:
- Distinctive: line 144
Read the comments already left -- don't duplicate
- Distinctive: line 145
Check CI status -- is the author already fixing things?
- Distinctive: line 146
Check how far behind the base branch -- outdated PRs may need rebase first
“Common” is measured: kept by at least 6 in 10 of the 153 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
What to Look For
Review in this priority order:
1. Correctness (highest priority)
- Does the code do what the PR description claims?
- Are there off-by-one errors, null/undefined cases, race conditions?
- Does it handle errors properly?
- Are edge cases covered (empty arrays, zero, negative, very large)?
- Does it break existing behavior?
2. Security
- Is user input validated at trust boundaries?
- Are queries parameterized (no SQL injection)?
- Is output encoded (no XSS)?
- Are secrets absent from code and logs?
- Are authentication/authorization checks in place?
- Are dependencies up to date and trusted?
3. Performance
- Are there N+1 queries?
- Is pagination used for list endpoints?
- Are loops doing synchronous I/O?
- Any unnecessary re-computation or re-renders?
- Are caches invalidated correctly?
4. Maintainability
- Does the code match existing patterns in the codebase?
- Are names clear and specific?
- Is complexity proportional to the problem?
- Are comments explaining WHY (not WHAT)?
- Is there duplicated logic that should be extracted?
5. Testing
- Are there tests for the new behavior?
- Do tests actually test behavior, not implementation details?
- Are both happy path AND error cases covered?
- Do existing tests still pass?
6. Style (lowest priority, automated)
- Let linters/formatters handle this
- Don't nitpick on whitespace or import order in review comments
How to Review Systematically
1. Read the PR description -- what is this trying to do?
2. Check the test diff first -- does the tested behavior match the description?
3. Read the implementation diff
4. Run the code locally if the change is significant
5. Check CI status -- what's passing/failing?
6. Consider: how would this break in production?
7. Write comments grouped by severityGiving Good Feedback
Categories of Comments
| Tag | Meaning | Example |
blocking: | Must fix before merge | blocking: SQL injection in line 42 |
needs-discussion: | Design concern worth debating | needs-discussion: should we use JWT or sessions? |
suggestion: | Optional improvement | suggestion: this could use Array.flatMap |
nit: | Trivial / stylistic | nit: typo in comment |
question: | Asking to understand | question: why did we choose this approach? |
praise: | Call out good work | praise: nice error handling here |
What Makes a Good Comment
blocking: SQL injection risk in `getUserByEmail`
The query uses string concatenation:
```
db.query(`SELECT * FROM users WHERE email = '${email}'`)
```
Use parameterized queries instead:
```
db.query('SELECT * FROM users WHERE email = $1', [email])
```
This prevents attackers from injecting SQL via crafted email values.Good comments:
- State the problem
- Explain the impact
- Suggest a specific fix
- Link to docs or examples if helpful
Bad comments:
- "This is wrong" (no explanation)
- "I don't like this" (not actionable)
- Demanding changes without explaining why
- Restating what the code does
Self-Review Before Submitting
Before marking your own PR ready:
| Check | Why |
| Re-read your own diff | Catches obvious issues |
| Run the feature end-to-end | Verifies it actually works |
| Remove debug logs, commented code, TODOs | Clean up |
| Update or add tests | Behavior without tests is untested |
| Update docs if behavior changed | Future-you will forget |
| Check for secrets in diff | Last chance to catch them |
| Write a clear PR description | Reviewers need context |
PR Description Template
## Summary
One sentence: what does this PR do?
## Why
The motivation / context / ticket link.
## Changes
- Bullet list of key changes
- Include new dependencies
- Flag breaking changes
## Testing
How was this tested? Include screenshots/logs for UI/output changes.
## Notes for Reviewer
Anything non-obvious? Trade-offs made? Open questions?Reviewing Others' PRs
Before leaving comments:
- Read the comments already left -- don't duplicate
- Check CI status -- is the author already fixing things?
- Check how far behind the base branch -- outdated PRs may need rebase first
- Assume good intent -- ask questions before assuming mistakes
Anti-Patterns
| Anti-Pattern | Problem | Do Instead |
| Rubber-stamping without reading | Bugs ship to production | Actually review the code |
| Reviewing only lines shown in diff | Miss broken callers | Check related files too |
| Nit-picking style | Wastes time, demoralizes | Let linters handle style |
| Blocking on opinion disagreements | Gridlock | Distinguish blocking from suggestion |
| Vague comments ("this is bad") | Author can't act | State problem + impact + fix |
| Approving while CI is red | Merges broken code | Wait for CI green |
| Reviewing while tired | Miss obvious bugs | Batch reviews, review fresh |
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.

