refactor
Refactor code for clarity and maintainability. Use when code is hard to understand or has code smells.
Files3
View on GitHubSKILL.md.claude/skills/refactor/SKILL.md
GitHubRefactor
Refactor code for clarity and maintainability. Use when code is hard to understand or has code smells.
Steps
- Understand the context from
$ARGUMENTS - Read relevant source files
- Plan the approach
- Implement the solution
- Verify with tests
Resources
- See reference.md for patterns and examples
- See checklist.md for completion criteria