refactor-clean
Installation
SKILL.md
Code Refactor Clean
Behavior-preserving refactoring to improve readability, reduce complexity, and remove waste — applicable to any language or project.
Detailed rules live in:
- rules/dead-code.md
- rules/simplification.md
- rules/naming-readability.md
- rules/data-structures-performance.md
Core Principle
Every refactoring must preserve observable behavior. If there are no tests covering the code being changed, flag the risk before proceeding.
When To Use
Use this skill when the task involves: