| name | component-polish |
| description | Polish components to production quality — interactive states, micro-interactions, and final refinement. Run all three passes or target one area. |
| argument-hint | [states | interactions] — Optional: run just interactive states or micro-interactions. Default: full polish pass (all three). |
Component Polish
Polish components to production quality. Run a full pass or target a specific area.
Usage
/component-polish — full pass (states + interactions + polish)
/component-polish states — interactive states only (hover, focus, active, disabled, loading)
/component-polish interactions — micro-interactions only (animations, transitions, entrance effects)
Instructions
Parse the argument and run the specified area. If no argument, run all three in order.
Area: states
Add complete interactive states to components: hover, focus, active, disabled, loading.
Goals:
- Every interactive element has all essential states defined
- States are visually distinct and accessible (focus visible to keyboard users)
- Transitions between states are smooth (150ms ease-out for micro, 200ms for larger elements)
Hover states — subtle, purposeful changes:
.button:hover { background: var(--color-primary-dark); transform: translateY(-1px); : (,,,.); }
{ : (--color-border-hover); : (,,,.); }
{ : (--color-primary-dark); : currentColor; }