refactor - Refactor code with complexity-reduction principles
Analyzes code complexity, creates a prioritized refactoring plan, and executes safety-first changes while preserving functionality.
Tags
Updated: 2026-11-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze code complexity
- Apply design principles
- Identify code smells
- Create prioritized plans
- Write characterization tests
- Execute safe refactorings
Inputs
- File or directory path
- Source code
- Existing tests
- Git repository state
Outputs
- Complexity analysis
- Prioritized refactoring plan
- Refactored source code
- Characterization tests
- Test results
Requirements
- Clean committed Git state
- Vite 7+
- React 19
- TypeScript
- Tauri 2.0
- Rust
- Zustand
- Tailwind CSS
- kube-rs
