xstate
Installation
SKILL.md
XState v5 Developer Guide
This skill provides comprehensive guidelines, patterns, and best practices for working with the XState v5 ecosystem in this project, including:
- XState State Machines - Finite state machines and actors for complex application logic
- @xstate/store - Simple event-driven stores for lightweight state management
- XState + TanStack Query - Integration patterns for data fetching orchestration
Quick Reference
| Use Case | Tool | Reference |
|---|---|---|
| Complex state flows, guards, hierarchical states | XState Machines | references/machine-patterns.md |
| Simple event-driven state, atoms, undo/redo | @xstate/store | references/store-patterns.md |
| Data fetching with state orchestration | XState + TanStack Query | references/query-patterns.md |