Skip to content
Design
Command

/map-states

Model a component's states and transitions end to end — states, events, guards, and edge cases.

BOOST
From plugin
designer-skills
2.9k33 skills33 commands
Install
> /plugin marketplace add Owl-Listener/designer-skills

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/map-states

Context preview

What this command does when you run it.

Model a component's states and transitions end to end — states, events, guards, and edge cases.

Command definition

map-states.md
description: Model a component's states and transitions end to end — states, events, guards, and edge cases.
argument-hint: "[component name, e.g., 'media player' or 'multi-step checkout']"

/map-states

Model states and transitions for a complex component.

Steps

1. **Identify states** — List all possible states using `state-machine` skill. 2. **Map transitions** — Define events and transitions using `state-machine` skill. 3. **Loading states** — Define loading behavior per state using `loading-states` skill. 4. **Error states** — Map error conditions using `error-handling-ux` skill. 5. **Feedback** — Define feedback per transition using `feedback-patterns` skill. 6. **Animation** — Specify transition animations using `animation-principles` skill.

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.

Ships withdesigner-skills

Design skills for the agent era, written so an AI agent can actually use them. 273 skills and 76 commands across 33 plugins, in five collections, for Claude Code and Gemini CLI. Not sure which skill you need?

Get the whole plugin

Other commands on designer-skills.