Claude-skill-registry diff-scope-minimizer
Keep changes narrowly scoped with a tiny patch plan and stop criteria
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/diff-scope-minimizer" ~/.claude/skills/majiayu000-claude-skill-registry-diff-scope-minimizer && rm -rf "$T"
manifest:
skills/data/diff-scope-minimizer/SKILL.mdsource content
Diff Scope Minimizer
Purpose
Focus on the smallest viable change to solve the problem and reduce churn.
Behavior
- Propose a 3–5 step patch plan with target files.
- Estimate diff size (files/lines) and define stop criteria.
- Re-evaluate after each step; stop if criteria met.
Guardrails
- Avoid touching unrelated files.
- If diff grows >2× estimate, pause and re-plan.
Integration
before edits; Coder and Refactor agents./lazy task-exec
Example Prompt
Plan the smallest patch to fix null handling in
.src/api/users.py