Minimal diff review
Skill SID-SURANGE/cursor-team-ops/skills/core/minimal-diff-review
Enforcement & release-hygiene layer for Cursor agents β blocking git/DB/license guardrails, commit hygiene, and docs-ops.
npx -y skills add SID-SURANGE/cursor-team-ops --skill minimal-diff-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.7 KB, as published. Nobody here has run it
π Minimal Diff Review
Get the diff
git diff # unstaged
git diff --cached # staged
git diff HEAD # both
Read 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 in
Rules
- 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.