software-design-refactoring
Installation
SKILL.md
Software Design Refactoring
Goal
Improve the design enough to make the next behavior change obvious, without expanding the task.
Refactoring Workflow
- Identify the behavior that must remain unchanged.
- Add or locate the smallest safety net: tests, characterization, logs, or manual verification.
- Name the design problem: duplication, leakage, shallow module, unclear name, temporal coupling, or special case.
- Make one coherent structural change.
- Run the narrow verification.
- Repeat only if the next improvement is necessary for the requested work.