reviewing-code
Skill0 starsChanged 50 days agoMITView on GitHub
Use when reading a diff or pull request for defects, when acting as the reviewer on a change you did not write, or when review feedback arrives on your own change.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- RiccardoGrin/skillstheir own version, first seen Nov 8, 2026
- bostonaholic/rpikittheir own version, first seen Nov 8, 2026
- gabrielbauman/skillstheir own version, first seen Nov 1, 2026
- bbeny123/pragmatheir own version, first seen Nov 1, 2026
- bostonaholic/skillstheir own version, first seen Oct 25, 2026
- mhihasan/agentic-sdlctheir own version, first seen Oct 15, 2026
Used with
Projects with it also use auditing-security and debugging.
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.
witi-projectsSkillauditing-security
Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns. Use when the user says "/auditing-security", "auditing security", or asks about auditing security.
Also in 4 projects that use this
BlockSkilldebugging
Debugging guidelines and best practices
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- bostonaholic/rpikit★ 19same name
- RiccardoGrin/skills★ 5same name
- mykaarma/kaarma-skills★ 4same name
- bbeny123/pragma★ 2same name
- bostonaholic/skills★ 2same name
- Cristhianzl/pocket-claude★ 2same name
- witi-projects/Skills★ 2same name
- gabrielbauman/skills★ 1same name
- gregoryfoster/skills★ 1same name
- mhihasan/agentic-sdlc★ 1same name
5 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 repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- capturing-decisionsSkill
- choosing-subagent-modelsSkill
- committing-changesSkill
- debugging-systematicallySkill
- delegating-workSkill
- designing-changesSkill
- exploring-a-codebaseSkill
- injecting-dependenciesSkill
- planning-changesSkill
- pruning-testsSkill
- reflecting-on-changesSkill
- resolving-conflictsSkill
- verifying-changesSkill
- writing-commentsSkill
- writing-logsSkill
- writing-project-instructionsSkill
- writing-skillsSkill
- writing-testsSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
4
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
A review exists to catch what the author could not see: Not to show diligence or produce a list.
- Distinctive: line 16
Scope is the diff: Read whatever context you need.
- Distinctive: line 71
Before the verdict, list each behavior you set aside as outside the requirements, one line with the reason.
- Distinctive: line 77
Do not imply a check that never ran.
“Common” is measured: kept by at least 6 in 10 of the 15 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
Reviewing code
A review exists to catch what the author could not see. Not to show diligence or produce a list. What you bring is that you do not share the author's assumptions.
Ground rules
- The reviewer does not fix. A review carrying a patch gets read as a patch, and its findings are
never read. Enforce with read-only tools where possible —
vvkit-swift:swift-reviewersetstoolsfor this reason. - Scope is the diff. Read whatever context you need; report only on touched lines. Pre-existing problems bury this change's findings. Exception: the diff makes an existing defect reachable — a dead path now called, an input no longer validated upstream.
- An empty diff: say so and stop. Reviewing the whole repo instead is a task nobody asked for.
Severity is consequence, not confidence
| Bucket | Meaning |
| Critical | Ships broken: data loss, a crash on a reachable path, a security or privacy hole |
| Important | Works today, fails on a plausible input, on another platform, or under concurrency |
| Minor | Correct but will mislead the next reader, or violates a stated convention |
| Optional | Taste. Kept under its own heading, never interleaved with the three above |
Mixed with taste, the reader calibrates on the weakest item and skims the Critical with it.
Every finding names a location and a failure
- Cite
file:line. A finding without a location gets skipped, however right. - State what input or state produces what wrong result. No breaking input means a preference — Optional. "Add tests" or "add docs" counts only when it names the uncovered behavior.
- Two sentences: what breaks and when, then the smallest fix in words, not a patch. Longer only when the evidence needs it; never drop a real finding to stay short.
What to hunt first
Correctness before convention:
- Absence — a value assumed present: a force-unwrap, a non-null assertion, an assumed index, a default hiding a missing case.
- Lifetime — acquired, not released: a retain cycle, an observer or timer never torn down, a subscription outliving its owner.
- Shared state — non-atomic read-modify-write, initialization reachable from two threads, mutable state crossing an isolation boundary.
- Trust boundaries — outside input reaching a query, shell, path or template unescaped; a handler with no authorization, or one checking who the caller is but not what they own; a secret in code or logs. Confirm the input is attacker-controlled and reachable first — where the framework escapes it, it is noise.
- Contracts — a changed API, schema, wire format, persisted field or event that something deployed still reads. A rename is breaking even when every caller in this repo was updated.
- Counterfeit values — another layer's type hand-built from data that did not come from there, its invented fields read downstream as real. Fix: an entry point taking the data's own type.
- Swallowed failure — an error discarded, a result ignored, a plausible empty value instead of a failure.
- Remote calls — no timeout, a retry around a non-idempotent operation, a retry loop with no cap.
- Boundaries — first, last, empty, maximum, negative.
- Behavior changing without a test —
vvkit:writing-testsdecides whether one is owed.
Convention after, and only where established — vvkit:writing-comments for over-commented diffs.
Review against the requirements
- A plan, design or ticket is input. Check everything it asks for is present; flag every deviation for the author to confirm. A problem in the plan itself: say so.
- Where the design is silent, judge by what a reasonable user would expect, graded by effect.
- Before the verdict, list each behavior you set aside as outside the requirements, one line with the reason. The author rules on each.
Finding nothing is a result
- Say so plainly. Manufactured findings teach the author to skim, and the next Critical gets skimmed.
- Do not imply a check that never ran. A PR description is context, not proof; a limit on what you could verify gets one sentence.
Output shape
## Critical
- path/to/File.ext:42 — what breaks, and under what conditions
## Important
- path/to/Other.ext:17 — what breaks, and under what conditions
## Minor
- ...
## Optional
- ...- Then which findings block, and a verdict: ready, not ready, or ready with named fixes.
- That is the whole review: it opens on the first finding — no introduction, praise, recap, checklist or closing summary. Empty buckets are left out; Optional holds at most two. A clean diff gets one line saying so, then the verdict.
- On a re-review, update the earlier findings rather than restating them. A finding fixed or rebutted stays closed without new evidence.
Asking for a review
Request one after substantial work, and always before merging to the default branch. Give the reviewer what it cannot infer, and none of your reasoning:
- What was built and what it should do — the plan, design or ticket.
- The exact range: from the start commit or
git merge-base <base> HEADtoHEAD. NeverHEAD~1for multi-commit work. - Read-only.
git show,git diff,git log; never moveHEADor touch the working tree. - No sub-reviewers. One seat; a diff too large for one pass is reviewed in passes, and says so.
Then fix Critical at once, Important before moving on, and record Minor.
When you are the author
A finding is a claim, and gets the same scrutiny as any claim.
- Clarify every unclear item before implementing any — items are often related.
- Check each against the code. Does it break behavior? Does the current form exist for a reason — a platform floor, a compatibility constraint, a decision the human made?
- Grep before building it "properly". An unused path gets deleted, not completed.
- Push back with evidence — a test, a call site, a constraint. Wrong pushback: say what you checked, and fix it.
- One item at a time, tested each, blocking first.
- A conflict with the human's earlier decision goes to the human.
- Acknowledge with the change — "Fixed: the nil path at
Parser.swift:88" — not "Great catch!".
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.

