Behavior-preserving refactoring discipline. Activates when the task involves restructuring, extracting, or renaming existing code without adding new behavior.
Installs into .claude/skills of the current project.
Are you the author of Refactoring Discipline?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/glitchwerks-refactoring-discipline)
---
name: refactoring-discipline
description: >
Behavior-preserving refactoring discipline. Activates when the task
involves restructuring, extracting, or renaming existing code without
adding new behavior.
---
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.