reviewing-code
Skill1 starsChanged 5 months agoMITView on GitHub
Use before merging or after milestones — two-stage review: spec compliance first, then code quality. Also handles receiving review feedback.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- bostonaholic/skillstheir own version, first seen Oct 2, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
- gregoryfoster/skillstheir own version, first seen Aug 5, 2026
- gabrielbauman/skillstheir own version, first seen Jul 16, 2026
- Agentic-Assets/apple-mail-mcptheir own version, first seen Jul 15, 2026
- RadekCihlar/Claude-skillstheir own version, first seen Jul 10, 2026
Used with
Projects with it also use auditing-security and incident-response.
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
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- mykaarma/kaarma-skills★ 4same name
- oryanmoshe/agent-skills★ 3same name
- witi-projects/Skills★ 2same name
- augmnt/webdev-skills★ 1same name
- bostonaholic/skills★ 1same name
- gabrielbauman/skills★ 1same name
- gregoryfoster/skills★ 1same name
- RadekCihlar/Claude-skills★ 1same name
- ZeroTokenClaw/agents-skills★ 1same name
- Agentic-Assets/apple-mail-mcp★ 0same name
3 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyzing-over-engineeringSkill
- brainstormingSkill
- curating-docsSkill
- executing-plansSkill
- finishing-workSkill
- planningSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-devflowSkill
- verifying-completionSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Always determine the review target explicitly before dispatching reviewers:
- Distinctive: line 28
If the target is unclear, ask the user: "What should I review — uncommitted changes, a specific branch, or a PR?"
- Distinctive: line 32
When dispatching either reviewer subagent, the prompt may contain only facts: the review scope, the spec/plan, and the diff (or SHAs).
- Very specific: line 58
Only after Stage 1 passes, dispatch a code quality reviewer using the prompt in templates/stage2-code-quality.md.
- Distinctive: line 64
If either stage finds issues:
- Distinctive: line 72
When receiving review feedback — whether from the reviewer subagent or from an external reviewer (PR review, user, teammate):
- Distinctive: line 75
Verify: Check against the actual codebase.
- Distinctive: line 84
If an external reviewer's feedback conflicts with the user's prior architectural decisions, discuss with the user before implementing.
- Distinctive: line 99
Large diffs get shallow reviews: If the milestone diff is too large for one pass, review per-task or split the scope explicitly rather than …
“Common” is measured: kept by at least 6 in 10 of the 12 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
Two-stage review after each task or milestone: first verify the code matches the spec, then evaluate code quality. Fixing is delegated back to executing-plans.
Triggers
- Checkpoint Review — after each milestone completes (invoked by executing-plans)
- Final Global Review — after all milestones complete (invoked by executing-plans)
- Manual trigger — user invokes directly via
/reviewor instruction
Review Target
Always determine the review target explicitly before dispatching reviewers:
| Trigger | Review Target |
| Checkpoint Review | Diff between the Milestone's first and last commit |
| Final Global Review | Diff between feature branch HEAD and base branch (e.g., main) |
| Manual: PR review | git diff base...HEAD (the PR's changes) |
| Manual: uncommitted work | git diff + untracked files |
| Manual: specific file/dir | User specifies; scope is only those files |
If the target is unclear, ask the user: "What should I review — uncommitted changes, a specific branch, or a PR?"
Dispatch Discipline
When dispatching either reviewer subagent, the prompt may contain only facts: the review scope, the spec/plan, and the diff (or SHAs). It must never carry the dispatcher's opinion about the work.
Banned in the dispatch prompt:
- Pre-rating severity ("this is minor", "at most Important")
- Telling the reviewer to skip or ignore anything ("don't worry about X")
- Answering for the reviewer ("this is fine because…", "I left this unabstracted on purpose")
- Framing the spec loosely so something slips through
A reviewer handed the dispatcher's verdict has no reason to check the work. Keep it adversarial by feeding evidence, never conclusions.
The reviewer is strictly read-only: it must not edit files or run git checkout/commit — a reviewer that runs git checkout can orphan later commits.
Two-Stage Review
Execute reviews in strict order. Do NOT start Stage 2 before Stage 1 passes.
Stage 1: Spec Compliance
Dispatch a spec compliance reviewer. Only question: does the implementation match the specification? Use the prompt in templates/stage1-spec-compliance.md.
Important: Spec compliance is binary. If the reviewer finds missing, extra, or wrong behavior, it fails. Do NOT proceed to Stage 2.
Each issue must include: file:line reference, what's wrong, what the spec requires, and how to fix.
Stage 2: Code Quality
Only after Stage 1 passes, dispatch a code quality reviewer using the prompt in templates/stage2-code-quality.md.
Stage 2 requires file:line references for every concrete issue. Calibrate severity — not everything is Critical. Acknowledge strengths before listing issues; accurate praise helps the implementer trust the rest of the feedback.
Review Loop
If either stage finds issues:
- The implementer fixes all issues from that stage
- Re-run the same stage's review
- Repeat until that stage passes, then proceed to the next stage
- Max one re-review round per stage — if issues persist after re-review, fix what can be fixed, note remaining issues, and proceed
Feedback Handling
When receiving review feedback — whether from the reviewer subagent or from an external reviewer (PR review, user, teammate):
- Understand: Restate the feedback in your own words. If anything is unclear, ask before implementing.
- Verify: Check against the actual codebase. Is it technically correct? Does it break existing functionality?
- Evaluate: Does it violate architectural decisions? Is it YAGNI?
- Act:
- Correct and important → implement (one item at a time, test each)
- Uncertain → ask the user
- Wrong or inapplicable → push back with technical reasoning
No performative agreement. State what you're fixing, or state why you disagree. Actions over words.
If an external reviewer's feedback conflicts with the user's prior architectural decisions, discuss with the user before implementing.
Feedback Decision Table
| Feedback pattern | Don't | Do |
Reviewer flags a real bug with file:line | Argue defensively | Fix it — one item, tested |
| Reviewer says "this is wrong" without evidence | Agree reflexively to seem responsive | Verify against the code first; implement only if correct |
| Suggestion that adds scope beyond the spec | Implement to please the reviewer | Push back: out of scope / YAGNI; ask the user if unsure |
| External feedback conflicts with a prior decision | Silently override the decision | Surface the conflict to the user before acting |
| Feedback you don't understand | Guess at the intent and change something | Restate it in your own words and ask before acting |
Gotchas
- Resist "Critical" inflation. Tagging style nits as Critical drowns out the real must-fix issues. Reserve Critical for bugs, security holes, data loss, and broken functionality.
- Large diffs get shallow reviews. If the milestone diff is too large for one pass, review per-task or split the scope explicitly rather than letting the reviewer skim.
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.

