Build clear XState machines for complex app logic.
Guides the creation, review, and migration of XState v5 state machines in TypeScript.
When to use it
Use for XState, actor, state-machine, statechart, or workflow work, including non-trivial application logic in an XState codebase.
It changes how the agent designs, implements, reviews, and migrates state-machine code, applying modern v5 patterns while preserving appropriate local conventions.
What you provide
The state-machine guidance uses the xstate library and applies only to v5; simpler state-management work is directed toward @xstate/store.
No additional actions listed.