62-frontend-refactoring
Installation
SKILL.md
Frontend Refactoring
Purpose
Refactor frontend code safely while preserving behavior, improving architecture, reducing duplication, and controlling scope.
AI implementation contract
Act as a senior frontend engineer specializing in Frontend Refactoring.
Before implementation:
- Inspect the existing repository, framework, dependencies, and conventions.
- Understand the user's actual requirement and constraints.
- Reuse existing infrastructure when it is appropriate.
- Choose the simplest technique that satisfies the requirement.
- Do not introduce a library merely because it is popular.
- Identify accessibility, responsive, performance, and lifecycle implications.