What problem does it solve?
This Skill helps developers improve difficult-to-maintain code by removing code smells, simplifying structure, and increasing readability while preserving existing behavior.
Core Features & Use Cases
- Code Smell Reduction: Identifies and addresses long functions, duplicated logic, large classes, primitive obsession, nested conditionals, and other maintainability issues.
- Safe Refactoring Guidance: Applies incremental techniques such as extracting methods, improving type safety, introducing patterns, and using guard clauses with testing practices.
- Use Case: Improve a legacy service module by breaking apart large functions, removing duplication, and making future feature development easier without changing application output.
Quick Start
Use the refactor skill to clean up this codebase by identifying code smells and applying safe behavior-preserving improvements.