diff-scope-minimizer
使用微小的补丁计划和停止标准保持变更范围狭窄。
📖 中文导读:使用微小的补丁计划和停止标准保持变更范围狭窄。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: diff-scope-minimizer description: Keep changes narrowly scoped with a tiny patch plan and stop criteria version: 0.1.0 tags: [refactor, productivity] triggers: - small diff - minimal change - refactor plan
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
/lazy task-execbefore edits; Coder and Refactor agents.
Example Prompt
Plan the smallest patch to fix null handling in
src/api/users.py.