refactor-ui
Installation
SKILL.md
Refactor UI
Use when the next step is to edit UI code.
Rule
Remove or consolidate before adding. Preserve behavior unless the user explicitly asks to change product scope.
Sequence
-
Inventory the visible surface.
- List titles, paragraphs, helper panels, badges, buttons, duplicated labels, empty states, and repeated suggestions.
- Mark implementation-detail copy for deletion or replacement.
-
Pick the minimum target.
- One title per screen area.
- One primary action per decision area.
- One path for each task unless distinct paths have clear user value.