Xstate
Typed, modern XState v5 state machine design, implementation, review, and migration guidance for TypeScript codebases.
- CCM score
- 57 of 100
- skills.sh installs
- 542
- GitHub stars
- 59
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers when to choose
@xstate/storeversus XState, plus modeling questions for states, context, events, guards, and actors - Includes preferred v5 patterns such as
setup(...), named actions and guards, tags for UI semantics, andfromPromiseversusfromCallbackselection - Enforces v5-only translation during migrations and a smallest-safe-change rule for local edits, avoiding unrequested refactors
- Designed for teams maintaining XState machines alongside
@xstate/reacthooks and Seed's shared model packages
Install
$ npx -y skills add seed-hypermedia/seed --skill xstate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
XState v5
Use this skill for state machine and statechart engineering first and API correctness second.
This skill is v5-only. When examples, blog posts, answers, or local code smell v4-ish, translate them rather than mixing versions. Prefer local repo code and official v5 docs over generic memory.
In Seed, the main repo currently uses xstate@5.19.2 and @xstate/react@4.1.3, especially under
frontend/packages/shared/src/models/**. Read nearby Seed machines and hooks before editing them, particularly
document-machine.ts, document-card-cleanup-machine.ts, use-document-machine.ts, use-editor-gate.ts, and React
usage of useActorRef(...), useMachine(...), and useSelector(...).
Your job:
Details
- Repository
- github.com/seed-hypermedia/seed
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Similar to Xstate
More Frontend & UI Codereact-state-machinesbobmatnyc/claude-mpm-skills158 installsGuide for modeling React UI state with XState v5 machines and the actor model.
react-state-managementsickn33/agentic-awesome-skills425 installsModern React state management guide covering Redux Toolkit, Zustand, Jotai, and React Query with concrete store patterns.
zustand-patternsyonatangross/orchestkit1.5K installsZustand 5.x state management reference covering slices, middleware, Immer, persistence, and selectors with TypeScript.
react-patternssickn33/agentic-awesome-skills1.2K installsModern React guidance covering components, hooks, state, React 19, performance, and TypeScript typing.
frontend-state-managementaj-geddes/useful-ai-prompts487 installsFrontend state management guide comparing Redux Toolkit, Zustand, Context API with useReducer, and MobX for multi-component apps.