review-diff
Skill1 starsChanged 2 months agoMITView on GitHub
Reviews git diffs (typically worktree vs current branch HEAD) for quality and correctness. Two-pass workflow: architecture and design first, then detail and edge cases. Use when the user asks for a code review, PR review, sanity check on changes, or review of unstaged or committed diffs.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- Hy0sh/claude-skillstheir own version, first seen Sep 25, 2026
- giacomo-ciro/skillstheir own version, first seen Sep 24, 2026
- kartykk/agent-readytheir own version, first seen Sep 21, 2026
- kaiitunnz/claude-skillstheir own version, first seen Sep 8, 2026
- BhangeeF16/kaizentheir own version, first seen Jul 24, 2026
- Pradnyeshp/Claude-Skillstheir own version, first seen Jul 6, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- faizkhairi/claude-code-blueprint★ 71same name
- iamwjun/localcoder★ 39same name
- huytd/skills★ 19same name
- Pradnyeshp/Claude-Skills★ 2same name
- giacomo-ciro/skills★ 1same name
- Hy0sh/claude-skills★ 1same name
- kaiitunnz/claude-skills★ 1same name
- minhtran3124/cursor-skills★ 1same name
- thunderkds/claude-skills★ 1same name
- BhangeeF16/kaizen★ 0same name
1 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 repository6 other files it gives its agents.
- anorth-reviewSkill
- land-to-mainSkill
- lets-buildSkill
- prepare-commitSkill
- reflectSkill
- sub-agent-reviewSkill
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 11 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
- could be automatic: a setting could enforce it
- Distinctive: line 17
Do make suggestions for how to resolve any issue encountered.
- Distinctive: line 37
When authorization matters, check that data and actions remain limited to appropriate users.
- Distinctive: line 38
Treat schema and query changes seriously: read affected queries and their call paths for correctness and leaks.
- Distinctive: line 42
Avoid merge-blocking language (for example “do not merge”).
“Common” is measured: kept by at least 6 in 10 of the 11 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 diff
Read the change set (usually git diff against HEAD of the current branch). Also read existing code surrounding and/or relevant to the diff. Usually read the files touched significantly in full, as well as functions and methods that are called by the changed code, and peer files that can serve as reference for patterns and conventions.
Focus both on problems to fix and opportunities to improve. Output numbered points in decreasing order of importance. A useful shape is: short summary, then issues and opportunities, then open questions—but no rigid template is required.
Do make suggestions for how to resolve any issue encountered. Do not apply substantive edits before discussion; at most make trivial formatting changes.
Repository policy files (for example AGENTS.md) are background: assume they were already followed. Instead, judge the diff against how the rest of the codebase actually behaves—open unchanged files the diff touches or depends on when judging patterns and boundaries.
You do not need to run tests or lints, assume that's already been done.
Pass 1 — Big picture
- Is the approach appropriate for the problem being solved?
- Does it fit the surrounding codebase in structure, conventions, and patterns?
- Are concerns decoupled sensibly? Where the change meets existing modules, are boundaries clean?
- For patterns that already exist (database access, routes, HTTP APIs, repetitive UI): is this use consistent with other uses, or is divergence justified and obvious?
- Are there chances to clarify intent—through structure, naming, or a brief comment—without adding noise?
- Are there opportunities to simplify the codebase by extracting common patterns or functions?
Pass 2 — Detail and risk
- Inspect complex areas carefully: logic errors, edge cases, and unintended effects on callers or data.
- Watch for inconsistency at the small scale: similar snippets elsewhere should look similar or explain why not.
- Trace data flow: especially anything sensitive leaving the server or database when the client does not need it.
- When authorization matters, check that data and actions remain limited to appropriate users.
- Treat schema and query changes seriously: read affected queries and their call paths for correctness and leaks.
Duplication is acceptable; still call out reasonable extraction opportunities when they would reduce drift. Do not perform a full accessibility audit—only flag obvious basic gaps if the diff introduces user-facing controls.
Avoid merge-blocking language (for example “do not merge”). Stay factual and direct.
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.

