refactor-code
Installation
SKILL.md
Refactor selected code to improve quality while maintaining same functionality, providing refactored code with explanations.
- Code Quality: Extract reusable functions/components, eliminate duplication, improve naming, simplify complex logic/reduce nesting
- Performance: Identify/fix bottlenecks, optimize algorithms/data structures, reduce unnecessary computations, improve memory usage
- Maintainability: Make code readable/self-documenting, add appropriate comments, follow SOLID principles/design patterns, improve error handling/edge case coverage