minimal-diff-review
Skill0 starsChanged 4 months agoMITView on GitHub
Review a set of code or document changes for scope creep, convention drift, and quality issues following team standards. Use when the user asks to "review my changes", "check the diff", "look at what I changed", "is this good to go", "sanity check my code", "does this look right", "review before I push", "quick review", or before a PR is created. Also use proactively after large edits to check nothing went out of scope.
In this repository21 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- ci-cd-pipelineSkill
- requirements-synthesisSkill
- security-hardeningSkill
- spec-driven-developmentSkill
- workflow-from-chatsSkill
- architecture-decision-recordsSkill
- commit-history-auditSkill
- commit-messageSkill
- deslopSkill
- document-thisSkill
- env-drift-checkSkill
- handoffSkill
- onboardingSkill
- pre-commit-checkSkill
- pr-review-canvasSkill
- pr-summarySkill
- release-readinessSkill
- requirements-qaSkill
- sync-docs-after-editSkill
- write-changelogSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 16
Read original files at changed lines for context before judging.
- Distinctive: line 38
Do not suggest rewrites unless the user asks for them.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
🔎 Minimal Diff Review
Get the diff
git diff # unstaged
git diff --cached # staged
git diff HEAD # bothRead original files at changed lines for context before judging.
Flag these categories
| Category | Flag if |
| Scope creep | Files touched that are unrelated to the stated task |
| Convention drift | Naming, imports, or style diverge from surrounding code |
| Unrequested abstractions | New classes, helpers, or layers added without being asked |
| Debug code | console.log, print(, debugger, breakpoint(), TODO in changed lines |
| Doc drift | Public API or interface changed but no corresponding doc update |
| Test gap | Behavior-changing code with no test added or updated (flag only, not block) |
Output format
[scope-creep] src/utils.py:45 — touches unrelated date formatter
[convention] api/routes.ts:12 — uses snake_case; surrounding code uses camelCase
[debug] app/main.go:88 — print statement left inRules
- Flag issues only. Do not silently fix or revert changes.
- Do not suggest rewrites unless the user asks for them.
- Severity is implied by category — do not add emoji or color ratings.
Gotchas
- A rename that Git can't detect as a rename (heavy edits alongside the move) shows as a full delete + add — don't flag it as scope creep without checking
git diff -Mfirst. git diffalone misses already-staged changes andgit diff --cachedalone misses unstaged ones — usegit diff HEADwhen the user means "everything I've changed," not just one of the two.- On a very large diff, reading every changed file in full can blow the context budget — scope to the files the diff stat shows as most-changed first, and say what was skipped.
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.

