소개
The Safe Code Refactor skill provides a rigorous framework for improving existing codebases without introducing regressions. By orchestrating a four-stage process—verifying existing tests, establishing a clear refactoring plan, executing incremental changes, and validating final outcomes—it minimizes the risks associated with technical debt reduction. This skill is particularly useful for developers modernizing legacy modules or optimizing complex utility folders where maintaining behavioral consistency is critical.