Change Discipline

Make any code change in an order that keeps it small and proven: size it first so the ceremony fits the change, make it work with a failing test and the smallest edit, then make it right with measurable gates on the changed functions only — CRAP score, new structural duplication and diff-scoped mutation survivors — keep a ledger of each action, reason and evidence, and stop after two failed fixes that rest on the same assumption. Use when someone says "make this change properly", "add this feature with tests and quality gates", "keep complexity down on what I change", or "check the CRAP score of my diff". Not for designing tests (test-design), restructuring with no behaviour change (refactoring), finding a bug's cause (debugging), mutation testing setup (mutation-testing), reviewing someone's diff (code-review), or turning a rule into a hook (agent-guardrails).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit f936174e35

Frequently asked questions

npx get-skill add greenblacked/change-discipline