952 B
952 B
| description | argument-hint |
|---|---|
| Model the states and transitions for a complex UI component. | [component name, e.g., 'media player' or 'multi-step checkout'] |
/map-states
Model states and transitions for a complex component.
Steps
- Identify states — List all possible states using
state-machineskill. - Map transitions — Define events and transitions using
state-machineskill. - Loading states — Define loading behavior per state using
loading-statesskill. - Error states — Map error conditions using
error-handling-uxskill. - Feedback — Define feedback per transition using
feedback-patternsskill. - Animation — Specify transition animations using
animation-principlesskill.
Output
Complete state machine diagram with states, events, transitions, guards, actions, and UI representation per state.
Consider following up with /design-interaction for detailed interaction specs.