What problem does it solve?
This skill provides a structured, language-agnostic workflow to improve code health through measured refactoring. It enables systematic measurement, target identification, safe transformations, and verification to reduce complexity and duplication without altering external behavior.
Core Features & Use Cases
- Five-phase workflow: measure, identify targets, transform, measure again, and verify changes.
- Language-agnostic guidance with language-specific references to support TypeScript, Python, Go, Java, C++, and more.
- Targeted refactoring patterns: extraction, consolidation, simplification, and modularization with guardrails and testing.
- Operational guidance for production workflows: risk assessment, rollback considerations, and compatibility checks across modules.
Quick Start
Begin a refactor by establishing a baseline, then follow the five-phase workflow to safely improve structure without changing behavior.