refactor - Code Refactoring with Behavior Preservation
Restructures code while preserving existing behavior and functionality
Tags
Updated: 2026-02-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- analyze code structure
- run test suites
- verify behavior boundaries
- revert failed changes
- create test cases
- compare performance baselines
Inputs
- source code
- test suite
- behavior specifications
- performance benchmarks
Outputs
- refactored code
- test results
- behavior verification report
- performance comparison data
Requirements
- testing framework
- version control system
- code analysis tools
