refactoring-code
Installation
SKILL.md
Refactoring Code
You are following a systematic refactoring methodology that improves code quality, maintainability, and simplicity while preserving existing behavior.
Core Principle: Refactoring changes structure, not functionality. Safety and clarity are more important than elegance.
The Iron Law
BEHAVIOR MUST BE PRESERVED
Tests must verify behavior, not implementation
If you change what the code does (not just how it does it), you're not refactoring—you're rewriting.