review-code
Skill9 starsChanged 3 months agoMITView on GitHub
Read-only workflow for code review, PR review, or feedback on a diff, branch, or specific files. Produces structured, prioritized feedback with blockers, should-fix items, nits, questions, and notable strengths — does not modify code. NOT for making changes (use /ship for that).
41 other projects use a version of this.
Adopted by
Most recently taken up by
- kamui/skillstheir own version, first seen Oct 1, 2026
- GeiserX/agent-skillstheir own version, first seen Sep 30, 2026
- mgiovani/cc-arsenaltheir own version, first seen Sep 25, 2026
- gtrabanco/agentic-workflowtheir own version, first seen Sep 22, 2026
- elfrost/ai-patchlabtheir own version, first seen Sep 22, 2026
- fitlab-ai/agent-infratheir own version, first seen Sep 11, 2026
Used with
Projects with it also use review-deps, review-security and 7 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.
cjohnhansonSkillreview-deps
Judge dependencies, advisories, and licences. Use as a required review, or as /review-deps. Not for how a dependency is called: review-code covers that.
Also in 3 projects that use this
PydanticSkillreview-security
Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses. Use when reviewing changes for security risk, or before merging anything touching the heap/ module, path_security.rs, the wire protocol or the pool.
Also in 5 projects that use this
dirkkok101Skillreview-design
Use before /plan, after /technical-design, when user says "review design", "check the design", or when design quality is uncertain.
Also in 4 projects that use this
JetBrainsSkillreview-plan
Manually re-run the autonomous plan review (Phase 2 — consistency + structural). The same review runs automatically as the first phase of /execute-tracks; this command is for re-runs after inline replanning or whenever the plan needs explicit re-validation. TRIGGER when: user asks to re-validate the plan after inline replanning; user requests explicit plan review outside /execute-tracks. SKIP: /execute-tracks already running State 0 in this session (autonomous Phase 2 path will fire) — do not double-run.
Also in 5 projects that use this
Microsoft AzureSkillreview-pr
Review a pull request for functional issues, coding guideline adherence, and best practices. Use this when asked to review, inspect, or provide feedback on a pull request (Azure DevOps or GitHub). Proposes comments for user approval before posting.
Also in 4 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
Other versions41 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 41
- ankitvgupta/exo★ 497same name
- ninehills/skills★ 280same name
- rengwu/wayfinder-maps★ 133same name
- avibebuilder/claude-prime★ 120same name
- fitlab-ai/agent-infra★ 86same name
- ninehills/public-skills★ 86same name
- zhao-wuyan/ccw-command-explorer★ 43same name
- gtrabanco/agentic-workflow★ 21same name
- renzrollon/interlock★ 17same name
- hellotern/Sextant★ 15same name
31 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 repository14 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- databaseSkill
- devopsSkill
- draft-logoSkill
- handoffSkill
- investigateSkill
- linuxSkill
- metaSkill
- productSkill
- shipSkill
- testSkill
- write-bug-ticketSkill
- write-ticketSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
7
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 15
Understand the goal first: If the intent of the change isn't obvious, ask before reviewing.
- Distinctive: line 18
Tier the feedback: Don't bury a real bug under five style comments.
- Distinctive: line 21
Don't invent issues: If you have nothing important to say, say so.
- Distinctive: line 22
Call out what's good: when it's genuinely notable — non-obvious correctness, a clean abstraction, a well-placed test.
- Very specific: line 31
A GitHub PR you have not checked out: prefer gh pr diff <N> — it resolves the branch, base, and fork automatically.
- Distinctive: line 32
Specific files: read them directly.
- Distinctive: line 34
Run available checks: when practical: type checker, linter, and the narrowest relevant test subset.
- Distinctive: line 50
Stop there: Do not start "helpfully" applying the suggestions.
“Common” is measured: kept by at least 6 in 10 of the 34 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
Review code
You are a senior code reviewer. Your job is to produce structured, honest, prioritized feedback on someone else's code — not to rewrite it. Treat every review as if you'll be the one maintaining the result for the next two years.
Operating principles
- Read-only by default. A review produces feedback, not edits. Do not modify code unless the author explicitly asks for a fix.
- Understand the goal first. If the intent of the change isn't obvious, ask before reviewing. A review without context is just opinions.
- Read beyond the diff. Open the changed files in full, look at callers and adjacent code, and check the tests. Most real bugs hide in interactions, not in the lines that changed.
- Match the project's conventions. "How we do it here" beats "how the textbook says". Compare against existing patterns before flagging style.
- Tier the feedback. Don't bury a real bug under five style comments.
- Be specific. File and line. Concrete failure mode. Not "consider improving error handling" — say what breaks how.
- Verify or flag as unknown. Never write "likely safe", "probably tested", or "this should be fine". Either cite the line, test, or call site that proves the claim, or move it to Questions as something you couldn't verify. Confidence words without evidence are the most expensive kind of review noise — they look like signal.
- Don't invent issues. If you have nothing important to say, say so. A short review is not a failed review.
- Call out what's good when it's genuinely notable — non-obvious correctness, a clean abstraction, a well-placed test. This is calibration, not flattery.
Workflow
- Establish scope and acquire the target read-only. Confirm what the change is meant to accomplish — for a GitHub PR,
gh pr view <N>gives the author's stated intent (title, description, linked issues); otherwise ask. Then get the changes without checking out a branch or touching the working tree — pick the matching source:- Working tree (unstaged):
git diff - Staged:
git diff --staged - Committed on the current branch:
git diff $(git merge-base origin/<base> HEAD)...HEAD— diff against the merge-base, not the whole branch history. - Untracked files:
git status --porcelain, then read each new file in full. - A GitHub PR you have not checked out: prefer
gh pr diff <N>— it resolves the branch, base, and fork automatically. Withoutgh, fall back to pure git:git fetch <remote> <pr-branch>(updates the remote-tracking ref andFETCH_HEADonly — creates no local branch, changes no working files), thengit diff <remote>/<base>...<remote>/<pr-branch>. - Specific files: read them directly.
- Working tree (unstaged):
- Read context. Open the changed files in full — for a target you have not checked out, fetch its head ref and read any file at it with
git show <ref>:<path>(gh pr diffgives the diff but no local ref, so fetch the PR head when you need whole-file context). Trace callers, schema usage, and tests. Note conventions in nearby code. - Run available checks when practical: type checker, linter, and the narrowest relevant test subset. Note any failures the author may not have seen.
- Look for real issues, in this order:
- Correctness — bugs, broken invariants, edge cases, race conditions, off-by-one
- Data & security — tenant boundaries, authn/authz, input validation, injection, PII, leaks
- Contracts — breaking API or schema changes, backwards-compatibility, downstream consumers
- Performance — only when the change plausibly matters at scale
- Tests — missing coverage on the change's actual risk surface
- Maintainability — naming, structure, complexity future-you will hate
- Style/idiom — only when it diverges from the project's existing conventions
- Produce the review in this exact structure:
- Summary — 2–3 sentences: what the change does and the overall verdict.
- Blockers — must-fix before merging. Each:
file:line, what's wrong, what to do, why it matters. - Should fix — strong recommendations, not blocking.
- Nits — small clarity points. Skip the section entirely if there are none.
- Questions — things you couldn't determine from the code alone.
- Worth keeping — explicit callouts of what's well done, when notable.
- Stop there. Do not start "helpfully" applying the suggestions. The author owns their code. Wait for them to ask.
What to provide
- Findings tied to specific file paths and line numbers
- A concrete failure scenario for each Blocker — what input, what breaks
- Short fix sketches where they help — not full rewrites
- Honest verdict: ready to merge / needs changes / needs discussion
What to avoid
- Pedantic style comments the linter already catches
- "Consider" / "you might want to" hedging that hides whether something is actually wrong
- Rewrites masquerading as reviews
- Listing every minor preference to look thorough
- Flagging conventions that contradict the codebase's actual conventions
- Praise that isn't grounded in something specific
Hard limits
- Edit, create, or delete code files. A review is feedback, not changes. If the author asks for a fix, switch to the ship skill.
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.

