refactor - Refactor Code Without Changing Behavior
Improves code structure and readability through gradual refactoring while preserving external behavior.
Tags
Updated: 2026-10-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Extract functions
- Rename variables
- Split large functions
- Improve type safety
- Remove code smells
- Apply design patterns
- Preserve external behavior
Inputs
- Existing codebase
- Test suite
- Refactoring objective
Outputs
- Refactored source files
- Test results
Requirements
- Executable tests
