review-code
Skill4 starsChanged 5 months agoMITView on GitHub
Review code changes, including research and development code, for simplicity and readability, consistency, and correctness. Report questions about intent, required fixes, and optional improvements.
78 other projects use a version of this.
Adopted by
Most recently taken up by
- NemesLaszlo/claude-code-harnesstheir own version, first seen Nov 29, 2026
- NemesLaszlo/Agent-Collectiontheir own version, first seen Nov 29, 2026
- yamanidev/claude-code-configurationtheir own version, first seen Nov 29, 2026
- YauhenBichel/engineering-skillstheir own version, first seen Nov 29, 2026
- lyricat/agent-skillstheir own version, first seen Nov 29, 2026
- awcameron/skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use review-deps, audit-test-suite 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.
ba0918Skillreview-deps
A focused read-only review that treats manifests, lockfiles, and dependency diffs as first-class input and evaluates known vulnerabilities and supply chain signals. Use when the user says "review the dependencies", "look at the dependency vulnerabilities", "check the lockfile", "supply chain risk", "organize the npm audit output", "detect typosquats", "dependency health", or "review-deps". Its subject is the health of the dependencies, not test quality or code quality.
Also in 4 projects that use this
yaohuangguanSkillaudit-test-suite
Find where an existing test suite is weak and decide what to test next, ranked by risk. Use this when asked to add missing tests, find gaps, raise coverage, assess test quality or see which areas are thin, even if the request only mentions a coverage percentage.
Also in 3 projects that use this
yaohuangguanSkillchange-data-safely
Change a database schema or stored data without breaking running code or losing data. Use this for any migration, new or changed column, backfill, bulk update, delete, index, or change to a stored format, including in small projects. Data mistakes are often impossible to undo.
Also in 3 projects that use this
mrdulasolutionsSkillclear-caches
Clear extension caches, analysis data, and drafts from the database. Use when testing sender lookups, analysis, or draft generation from a clean state.
Also in 3 projects that use this
GeiserXSkilldocs-loop
Use when the user asks to audit docs, check documentation for stale claims, or verify docs against the code.
Also in 3 projects that use this
mrdulasolutionsSkillelectron-devtools-testing
Test the Electron app interactively using Chrome DevTools Protocol. Use when the user asks to test, verify, or interact with the running app via browser automation.
Also in 3 projects that use this
- +1 more from mrdulasolutions
- +1 more from yaohuangguan
Other versions78 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 78
- penpot/penpot★ 63ksame name
- pnpm/pnpm★ 37ksame name
- verdaccio/verdaccio★ 18ksame name
- NVIDIA-NeMo/DataDesigner★ 2.4ksame name
- OpenAEV-Platform/openaev★ 1.9ksame name
- bazel-contrib/rules_python★ 694same name
- wataru-maeda/react-native-boilerplate★ 521same name
- ankitvgupta/exo★ 494same name
- ankitvgupta/mail-app★ 494same name
- ninehills/skills★ 280same name
68 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.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-incrementalSkill
- code-simplifySkill
- create-or-clone-repositorySkill
- design-firstSkill
- implementation-workflowSkill
- manage-git-worktreesSkill
- plan-driven-developmentSkill
- setup-wiki-backed-project-skillsSkill
- subagent-supervisionSkill
- task-briefSkill
- test-driven-debugSkill
- tidy-firstSkill
- write-personal-wikiSkill
- write-project-wikiSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 68 edited versions we read keep these.
6
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 8
List the changes: Read the request and the diff in scope.
- Distinctive: line 17
If the change strengthens reproducibility beyond the existing implementation, does the experiment need that stronger guarantee?
- Distinctive: line 23
Do the code and operating procedures follow established repository conventions?
- Distinctive: line 30
Do existing paths still work?
- Distinctive: line 31
Do the tests cover the intended behavior and the existing behavior the change could break?
- Distinctive: line 68
Recommended change: Call the existing function with the validation split so filename conventions can be updated in one place.
“Common” is measured: kept by at least 6 in 10 of the 68 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
- List the changes. Read the request and the diff in scope. Write one short bullet per substantive change, starting with a descriptive title. Include its purpose or effect when it helps explain the change.
Review from three perspectives. Identify potential problems, points where the author's intent needs clarification, and opportunities to improve or simplify the code. Inspect existing code, callers, and tests as needed to support your judgment.
Simplicity and readability
- Can a reader quickly follow the main flow?
- Is the implementation straightforward for what the change needs to accomplish?
- Is each validation check and fallback necessary for a supported use case or a realistic failure?
- If the change strengthens reproducibility beyond the existing implementation, does the experiment need that stronger guarantee? Is it worth the extra code or processing?
- Does the implementation use standard patterns and library APIs that fit the repository's style?
- What dependencies or constraints does the change add? Are they justified?
Consistency
- Do the code and operating procedures follow established repository conventions? Do routine tasks require extra settings or steps, and are they justified?
- Could reorganizing an existing path handle the new case without adding a special branch?
- Can the same structure accommodate foreseeable additions, such as another experiment setting or evaluation method?
Correctness
- Is the intent clear, and does the implementation match it?
- Do existing paths still work? Do added constraints narrow the inputs, settings, or environments they previously supported?
- Do the tests cover the intended behavior and the existing behavior the change could break?
- Are any tests or verification steps redundant, or do they cover scenarios beyond realistic use?
Consider how to address each candidate. Check its evidence and impact, then assess possible responses using the same three perspectives. Choose a response proportionate to the problem and account for any added implementation or operational burden. If your judgment depends on the author's intent, formulate a specific question.
Request additional handling or verification only for an explicit requirement, behavior existing callers rely on, or a realistic experiment workflow. Identify when the issue could occur and what it would affect. Omit findings based solely on hypothetical inputs, configurations, or environments. Distinguish confirmed problems from material verification gaps.
Report the change summary and review results. Begin with the summary from step 1, even if there are no findings. Drop disproportionate findings and group the rest under Review results. Give each finding a priority from P0 (most urgent) to P3 (lowest priority) based on its impact and urgency, alongside its location and rationale. List higher-priority findings first within each group.
- Change summary. List the changes from step 1 as bullets.
- Review results.
- Clarify intent. State what you need to ask the author and how the answer would affect your judgment.
- Required fix. Describe when the issue occurs and what it affects. Describe the fix in a separate Recommended change item.
- Suggested improvement. Describe the limitation in the current implementation. Describe the optional change and its benefit in a separate Recommended change item.
Example review report
Change summary
- Validation-split evaluation. Adds a mode for comparing checkpoints before evaluating on the test set.
- Metric aggregation. Computes the reported loss as the mean of batch means.
- Deterministic GPU default. Enables deterministic GPU execution for all evaluation runs.
Review results
Clarify intent
- [P2]
eval/config.py:24— Does checkpoint selection require identical scores across repeated runs with the same setup? If only selected experiments need deterministic execution, an explicit option could avoid the runtime cost on routine runs.
Required fix
- [P1]
eval/metrics.py:58— The evaluator averages batch means equally, although the metric is defined as a mean over samples. For batches with losses[0, 0]and[3], it returns1.5where the expected mean is1.0.- Recommended change. Sum the per-sample losses and divide by the sample count. Use unequal batch sizes in the regression test.
Suggested improvement
- [P3]
eval/validation.py:41— The new mode repeats the filename formatting already handled byresult_path()ineval/outputs.py. A naming change would require edits in both places.- Recommended change. Call the existing function with the validation split so filename conventions can be updated in one place.
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.

