refactoring-patterns - Safe code refactoring workflows
Apply safe refactoring patterns for code restructuring and cleanup
Tags
Updated: 2026-03-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- extract method
- extract class
- extract module
- inline function
- move code
- rename symbol
- replace conditional
- introduce parameter
- extract constant
Inputs
- source code
- test suite
- code smell indicators
Outputs
- refactored code
- new files
- updated references
- named constants
Requirements
- test coverage
- IDE refactoring tools
- version control system
