diff-review
Skill0 starsChanged 8 days agoMITView on GitHub
Fast mechanical review pass over a unified diff before a human or agent reads it. Flags debug output left in production paths, TODO/FIXME/HACK markers added by the change, trivial test assertions that prove nothing, and deleted tests. Chains sibling gates (secret-gate, comment-checker) so one command runs the entire mechanical layer. Deterministic, stdlib-only, reads a unified diff from stdin.
27 other projects use a version of this.
Adopted by
Most recently taken up by
- biliboss/skillstheir own version, first seen Nov 29, 2026
- Job-Yang/jobbyang-ai-skillstheir own version, first seen Nov 29, 2026
- Job-Yang/jobyang-ai-skillstheir own version, first seen Nov 29, 2026
- HeTPort/skillstheir own version, first seen Nov 29, 2026
- alexcollins/skillstheir own version, first seen Nov 29, 2026
- hmu332233/skillstheir own version, first seen Nov 27, 2026
Used with
Projects with it also use prototype, triage 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.
GoogleSkillprototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Also in 5 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 4 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
NVIDIASkillresearch
Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
- +2 more from google
Other versions27 projects use a version of this.
Word for word · 1
- trac3r00/agent-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 26
- ClickHouse/ClickHouse★ 51ksame name
- Job-Yang/jobbyang-ai-skills★ 108same name
- Job-Yang/jobyang-ai-skills★ 108same name
- ComplyEaze/bridge★ 36same name
- lamemustafa/bridge★ 36same name
- rosslevinsky/portable-agent-skills★ 13same name
- yasunori0418/skills★ 10same name
- MidnightDarling/collate★ 8same name
- dprakash2101/dotnet-production-agent-skills★ 4same name
- Lixiuxiu559/AgentForge★ 4same name
16 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 repository84 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- 3d-designSkill
- anti-bsSkill
- api-testerSkill
- apple-homeSkill
- apple-suiteSkill
- apple-tvSkill
- apps-handoffSkill
- appshotSkill
- astra-initSkill
- browser-asideSkill
- changelog-genSkill
- ci-test-rebuildSkill
- claim-auditSkill
- claude-designSkill
- cleanup-worktreesSkill
- code-reviewSkill
- comment-checkerSkill
- context-budgetSkill
- create-skillsSkill
- cron-auditSkill
- cyber-bypassSkill
- dftSkill
- discord-messengerSkill
- doc-readerSkill
- env-gateSkill
- ext-scaffoldSkill
- fddSkill
- finderSkill
- finish-prSkill
- game-filmSkill
- gate-graphSkill
- graph-toolsSkill
- herdrSkill
- image-genSkill
- init-readmeSkill
- init-rulesSkill
- iphone-mirroringSkill
- json-diffSkill
- kakao-messengerSkill
- karpathy-promptSkill
- loeSkill
- log-analyzerSkill
- macos-settingsSkill
- max-buildSkill
- mofficeSkill
- net-probeSkill
- notionSkill
- obsidian-vaultSkill
- omo-runnerSkill
- open-loopsSkill
- optimize-omo-configSkill
- phone-facetimeSkill
- portfolio-auditSkill
- preflightSkill
- project-sessionsSkill
- prompt-builderSkill
- pro-reviewSkill
- proxmox-veSkill
- The first 60 shown.
The file
Files
Diff Review
The mechanical layer of code review, automated: run it on every diff and the human (or agent) reviewer only sees what actually needs judgment.
Commands
git diff | python3 scripts/diff_review.py
git diff main...HEAD | python3 scripts/diff_review.py --json
git diff | python3 scripts/diff_review.py --tools-dir skills/
git diff --cached | python3 scripts/diff_review.py --fail-over 3Detects
| Kind | What it catches |
debug-output | print(, console.log(, puts, pprint, dbg! added to non-test code |
unresolved-marker | TODO, FIXME, HACK, XXX, WIP, REMOVE ME added by the change |
trivial-assertion | assert True, assert 1 == 1 — tests that can never fail |
test-deleted | def test_ / it( lines removed without replacement |
secret-gate-findings | credential leaks (when chained via --tools-dir) |
comment-checker-findings | unjustified comments (when chained via --tools-dir) |
Chaining ecosystem gates
--tools-dir <skills-root> looks for secret-gate/scripts/secret_gate.py and
comment-checker/scripts/comment_checker.py in that directory and feeds them
the added lines. Their findings appear as *-findings entries with the first
evidence line. Both are optional — chain whatever is installed.
Pairs with
merge-quiz (the human comprehension gate after the mechanical pass),
remove-ai-slops (structural cleanup beyond what a diff pass can see),
verification-before-completion (the evidence-before-claims wrapper around
the whole workflow).
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.

