Use when refactoring a file over ~500 lines, splitting a monolithic module, or extracting reusable parts. Emphasizes safety: tests first, small reversible steps, no behavior changes mixed with structural changes.
Use when refactoring a file over ~500 lines, splitting a monolithic module, or extracting reusable parts. Emphasizes safety: tests first, small reversible steps, no behavior changes mixed with structural changes.