reviewing-code
Skill0 starsChanged 2 months agoMITView on GitHub
Use when checking a diff's hygiene, doing pre-merge cleanup, or deciding whether a change is ready — triggers on 'clean up', 'is this ready', 'before I commit', or the closure of a task — even when the user does not say 'review'. Enforces minimal, reviewable, atomic changes: one concern per diff (refactor separate from feature), split changes touching >5 files into atomic sub-steps, show a short diff and confirm before applying, verify the branch before each edit. Runs a closure quality gate over the diff: redundant comments, cognitive complexity, anti-patterns, dead code; record only non-obvious decisions; register new dependencies immediately. Propose-first and read-only by default. Not for hunting bugs or judging a change's logic, safety or performance: a quality review skill or the host's code review covers that. Optional complements: `coding-standards` (and the stack skill); `security-practices` for secrets, SQL injection or PII; `git-conventions` for the commit.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- sirdavidhuang/claude-code-skillstheir own version, first seen Nov 29, 2026
- bostonaholic/skillstheir own version, first seen Nov 26, 2026
- ZayZay1nonly/CastBox-Downloder-APPtheir own version, first seen Nov 22, 2026
- rundesk-ai/skillstheir own version, first seen Nov 15, 2026
- RiccardoGrin/skillstheir own version, first seen Nov 8, 2026
- bostonaholic/rpikittheir own version, first seen Nov 8, 2026
Used with
Projects with it also use auditing-security, debugging and 5 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.
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
OpenAISkillusing-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Also in 3 projects that use this
OpenAISkillwriting-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Also in 3 projects that use this
- +3 more from openai
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- bostonaholic/rpikit★ 19same name
- RiccardoGrin/skills★ 5same name
- mykaarma/kaarma-skills★ 4same name
- bostonaholic/skills★ 3same name
- bbeny123/pragma★ 2same name
- Cristhianzl/pocket-claude★ 2same name
- witi-projects/Skills★ 2same name
- ZayZay1nonly/CastBox-Downloder-APP★ 2same name
- gabrielbauman/skills★ 1same name
- gregoryfoster/skills★ 1same name
9 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 repository21 other files it gives its agents.
- authoring-skillsSkill
- creating-toolsSkill
- system-diagramsSkill
- java-spring-standardsSkill
- sql-authoringSkill
- exploring-designs-with-agentsSkill
- ui-authoringSkill
- project-docsSkill
- technical-writingSkill
- coding-standardsSkill
- critical-thinkingSkill
- github-workflowsSkill
- security-practicesSkill
- software-testingSkill
- version-evolutionSkill
- angular-standardsSkill
- git-conventionsSkill
- resolving-merge-conflictsSkill
- releasing-android-appsSkill
- coordinating-agentsSkill
- masterSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
3
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 24
Never apply sweeping unrequested rewrites.
- Distinctive: line 40
Before declaring a task closed, inspect the diff (skipped when no source is dirty):
- Distinctive: line 50
Verify the branch before every Edit — the user may have switched it by hand.
“Common” is measured: kept by at least 6 in 10 of the 18 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 — Diff review and task closure
Purpose
The discipline of reviewing a change before applying or integrating it: the diff must be atomic, reviewable and clean. It triggers on "review this", "is it ready?", "clean up", task closure — not while writing code (that is the coding-standards skill, if available). It contributes the review criteria; the consumer writes the code and the commit.
Knowledge
Atomic, single-intent diff
- One concern per diff — separate refactor from feature from fix. A mixed change gets split into distinct commits/diffs.
- >5 touched files → atomic sub-steps — decompose into small, reviewable steps, never a mega-diff.
- Massive refactors (rename, file moves, reformatting) go in their own isolated diff, never mixed with new logic.
- Extracting a repeated pattern to
shared/(FE) orcommon//util/(BE) is proposed as a separate diff, never embedded in the feature.
Propose-then-execute
- Show a short diff and confirm with the requester before applying. By default the review is read-only. Ask with the host's structured question tool when it has one, the recommended option first; otherwise as a labeled list.
- Never apply sweeping unrequested rewrites. If the scope grows, pause and ask the user.
- In plan-mode / read-only sandboxes: describe what would be done, do not edit.
Review by refutation
Reading a diff for style finds little. Try to break what the change promises.
- State the promise, then attack it with concrete inputs and scenarios: the empty case, the repeated call, the value that matches nothing.
- Cover, do not sample — trace every consumer of a changed field or function and say why that list exhausts the space.
- For each new argument or option, ask what happens when its value matches nothing: a typo that is silently ignored returns what the caller thought was excluded.
- Check a finding by running it (the failing input, the mutated test) before reporting it. That separates defects from noise.
- Weigh a reviewer's suggestion before applying it: a plausible improvement can break an invariant. When one is rejected, leave the counterexample next to the code.
- A delegated review that did not run found nothing. Confirm that the reviewer ran before reading "no findings", and give it one named case, never "review everything".
Closure quality gate
Before declaring a task closed, inspect the diff (skipped when no source is dirty):
- Redundant comments — a comment repeating the code gets deleted; comments only explain the "why".
- Cognitive complexity — deep nesting, long methods, convoluted conditionals → simplify (early returns, extract method). If available, see the
coding-standardsskill. - Dead code — unused imports/variables/branches, leftover
console.log/System.out.printlndebugging, declared-but-unused dependencies (e.g. ModelMapper/Dozer declared and never used). - Anti-patterns — silenced errors (
catchError(() => of([])), try/catch returning a mock),e.printStackTrace(), hidden fallbacks, committed prod secrets/creds (the latter: flag with a comment, never replace; if available, see thesecurity-practicesskill). - A relaxed check — an exception, a
continueor a skip added to a guard or a test so that it passes is as suspect as a deleted test: ask which defect would now go unnoticed.
Branch verification before editing
- Verify the branch before every Edit — the user may have switched it by hand; never assume.
- Wrong branch + clean tree → propose checkout (still confirm).
- Wrong branch + dirty → pause for manual resolution (never auto stash/reset/checkout/clean).
- The branch model detail and the multi-repo cross gate: if available, see the
git-conventionsskill.
Decision and dependency record
- Record only non-obvious decisions as
DEC-NNN/ADR-NNN(**Decision**:+**Why**:, 3-6 lines). Prose format: if available, see thetechnical-writingskill. - New dependency → register it immediately (DEPENDENCIES.md or the project's equivalent); never leave it implicit in the diff.
Functional verification of the change
- A bugfix must carry a regression test that fails before and passes after the fix. Command and level per stack: if available, see the
software-testingskill. - Confirm the change does what the task asks, not merely that it compiles.
Output
None of its own on disk. The skill contributes the review criteria; the consumer applies the diff (propose-first), and the commit follows the repository's conventions (the git-conventions skill, if available).
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.

