Code Refactoring
Installation
SKILL.md
Code Refactoring
Purpose
Improve code structure, readability, and maintainability without changing its external behavior or functionality.
When to Use
- Code is hard to understand or modify
- Duplicated code exists
- Functions are too long or complex
- Code smells are present
- Preparing for new features
Key Capabilities
- Extract Method - Break long functions into smaller pieces
- Rename - Improve variable/function names for clarity
- Remove Duplication - Consolidate repeated code