About
This skill provides a systematic approach to code improvement based on industry-standard refactoring patterns and the core principle of test-driven safety. It helps developers identify common 'code smells'—such as long functions, high cyclomatic complexity, and duplication—and provides guided workflows for executing safe transformations like extracting functions, simplifying conditionals, and applying polymorphism. By emphasizing a rigorous cycle of incremental changes and continuous testing, this skill ensures that codebases become cleaner and more modular while remaining functional and stable.