What problem does it solve?
This Skill addresses the need to enhance code quality, readability, and maintainability by applying established refactoring patterns and project-specific best practices.
Core Features & Use Cases
- Behavior Preservation: Ensures refactoring does not alter existing functionality.
- Incremental Changes: Promotes a step-by-step approach to refactoring for safety and verifiability.
- Refactoring Patterns: Demonstrates techniques like component separation, custom hook extraction, type consolidation, and service layer separation.
- Project-Specific Guidance: Provides tailored refactoring suggestions for
apps/web, apps/server, and packages/shared directories.
- Use Case: Refactor a large, monolithic component in
apps/web into smaller, reusable components and extract repeated logic into custom hooks.
Quick Start
Apply refactoring patterns to improve the code quality of the current project.