xstate-v5
Design, implement, review, and migrate XState v5 state machines and statecharts in TypeScript using modern v5 patterns. Use this whenever the user mentions XState, actors, state machines, statecharts, guards, transitions, workflows, or Stately, or is modeling non-trivial UI/app/process logic in a codebase that uses XState. Prefer a short machine sketch before code when requirements are fuzzy. If the problem is too simple for a state machine, say so and recommend @xstate/store instead.
Pinned to revision 0eae314cff5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/xstate-v5/SKILL.md
- skills/xstate-v5/evals/evals.json
- skills/xstate-v5/evals/extract_and_typecheck.py
- skills/xstate-v5/evals/regrade_weighted.py
- skills/xstate-v5/references/adapters.md
- skills/xstate-v5/references/advanced-patterns.md
- skills/xstate-v5/references/examples.md
- skills/xstate-v5/references/observables-and-inspection.md
- skills/xstate-v5/references/v4-to-v5-quick-ref.md
Every link opens the file at its source, pinned to the revision this page describes.