Refactoring Discipline

Behavior-preserving refactoring discipline. Activates when the task involves restructuring, extracting, or renaming existing code without adding new behavior.

glitchwerks 0344ad2 2 files · 656 B Updated

File contents

Guides behavior-preserving restructures: extract functions/classes, rename symbols, reduce duplication, and reorganize modules — all without adding new capabilities. Enforces the refactor-signal check discipline to prevent scope creep.

glitchwerks/claude-wayfinder/tree/main/tests/fixtures/skills/refactoring-discipline commit 0344ad2763

Frequently asked questions

npx skillmds@latest add glitchwerks/refactoring-discipline