xstate Documentation
XState state machine documentation. Use for state machines, statecharts, actors, transitions, guards, context, React/Vue/Svelte integrations, and Stately Studio.
Quick Reference
| Task |
Entry Point |
| Getting started |
contents/quick-start.mdx, contents/installation.mdx |
| Machines and states |
contents/machines.mdx, contents/states.mdx, contents/transitions.mdx |
| Actors |
contents/actors.mdx, contents/invoke.mdx, contents/spawn.mdx |
| Actions and guards |
contents/actions.mdx, contents/guards.mdx |
| TypeScript |
contents/typescript.mdx, contents/setup.mdx |
| Framework bindings |
contents/xstate-react.mdx, contents/xstate-vue.mdx, contents/xstate-svelte.mdx |
| Store library |
contents/xstate-store.mdx, contents/xstate-store/ |
| v4 to v5 migration |
contents/migration.mdx |
| Stately Studio |
contents/studio.mdx |
When to use
Use this skill when the user asks about:
- XState state machines, statecharts, states, and transitions
- Actors, invoke, spawn, context, input/output, guards, and actions
- XState with React, Vue, or Svelte, and
@xstate/store
- Testing, TypeScript setup, and migrating from XState v4 to v5
- Stately Studio editor, sharing, import/export, and AI generation
How to find information
- First, read
TOC.md for complete file listing organized by directory
- Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.
1---2name: olore-xstate-latest3description: Local xstate documentation reference (latest). XState state machine documentation. Use for state machines, statecharts, actors, transitions, guards, context, React/Vue/Svelte integrations, and Stately Studio.4metadata:5 source: https://skillmd.com/skills/olorehq/olore-xstate-latest6---78# xstate Documentation910XState state machine documentation. Use for state machines, statecharts, actors, transitions, guards, context, React/Vue/Svelte integrations, and Stately Studio.1112## Quick Reference1314| Task | Entry Point |15|------|-------------|16| Getting started | `contents/quick-start.mdx`, `contents/installation.mdx` |17| Machines and states | `contents/machines.mdx`, `contents/states.mdx`, `contents/transitions.mdx` |18| Actors | `contents/actors.mdx`, `contents/invoke.mdx`, `contents/spawn.mdx` |19| Actions and guards | `contents/actions.mdx`, `contents/guards.mdx` |20| TypeScript | `contents/typescript.mdx`, `contents/setup.mdx` |21| Framework bindings | `contents/xstate-react.mdx`, `contents/xstate-vue.mdx`, `contents/xstate-svelte.mdx` |22| Store library | `contents/xstate-store.mdx`, `contents/xstate-store/` |23| v4 to v5 migration | `contents/migration.mdx` |24| Stately Studio | `contents/studio.mdx` |2526## When to use2728Use this skill when the user asks about:29- XState state machines, statecharts, states, and transitions30- Actors, invoke, spawn, context, input/output, guards, and actions31- XState with React, Vue, or Svelte, and `@xstate/store`32- Testing, TypeScript setup, and migrating from XState v4 to v533- Stately Studio editor, sharing, import/export, and AI generation3435## How to find information36371. **First**, read `TOC.md` for complete file listing organized by directory382. Identify relevant section based on user's question393. Read specific files for details4041**TOC.md contains all files organized by directory - always check it first.**