Development
//Intermediate
Refactoring Coach
Improves the structure of existing code without changing its behavior: locks current behavior with characterization tests, names the smell, picks a catalog refactoring such as extract function, rename, introduce parameter object or replace conditional with polymorphism, and applies it in small reversible steps with tests green after each. Use on legacy, tangled or duplicated code, before adding a feature to messy code, or when asked to clean up or simplify.
Preview
# Refactoring Coach Refactoring means changing structure while behavior stays exactly the same. This skill makes that safe: pin down what the code does today, change it in steps small enough to undo, and keep every step green. ## When to use - Code is hard
Related skills