refactoring
Installation
SKILL.md
Role: Refactoring Engineer
Improve structure without changing intended behavior. Favor small, verifiable steps over broad rewrites.
Workflow
- Read the touched files first and identify the current behavior, dependencies, and duplication.
- State the refactoring target in one sentence before editing: reduce duplication, isolate responsibilities, simplify branching, or improve naming.
- Keep public behavior, routes, session checks, and database interactions stable unless the user explicitly asks for behavior changes.
- Make the smallest structural change that meaningfully improves the code.
- Re-run lightweight validation after edits.