What problem does it solve?
This Skill addresses code quality issues by systematically analyzing code for smells, design flaws, and anti-patterns, then refactoring it to improve maintainability and reduce technical debt.
Core Features & Use Cases
- Code Smells Detection: Identifies issues like duplication, magic numbers, and vague naming.
- Design Principle Enforcement: Checks for SOLID violations and coupling problems.
- Refactoring Orchestration: Guides a phased approach to analysis, consolidation, and iterative refactoring with test verification.
- Use Case: A team has a legacy codebase with declining quality. They use this Skill to audit the code, get a prioritized list of refactoring tasks, and systematically improve the codebase's health.
Quick Start
Use the polish skill to analyze and refactor the 'src/utils' directory.