Skill / SKILL.md

Xstate V5

statelyai/skills

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.
2 views 56 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/statelyai/skills' skill-source

Use the complete skill-source/skills/xstate-v5 directory with your client’s skill installer.

Source directory skills/xstate-v5

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
0acf27562066b286a5ab726535fe4a7a9110347e47f7f8660758d2c3c41fade5
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills