Build state machines without mixing XState versions.
Guides the design, implementation, review, and migration of TypeScript state machines using XState v5.
When to use it
Use when designing, implementing, reviewing, or migrating XState v5 machines, actors, services, or React hook integrations in TypeScript.
It changes how the agent writes and modifies XState code, favoring modern v5 patterns for new code and minimal changes for edits and migrations.
What you provide
The machine-engineering guidance is for XState v5; older patterns must be translated rather than mixed with v5.
No additional actions listed.