Registry / citypaul

citypaul/dotfiles/xstate

Model front-end and workflow logic as XState v5 statecharts and actors — when finite states earn their place (and when @xstate/store or a discriminated union is honest), event-first machine design, guards/actions/delays, invoke vs spawn, app-level actor systems, persistence, @xstate/react integration, behavior-driven machine testing including model-based path generation via xstate/graph, and a Mermaid stateDiagram-v2 render regenerated whenever a machine is designed or changed. Fires on ordinary

Agent skill · version 0.0.0-main.1794518941.gcd4028d · from citypaul/.dotfiles

Install

npx yarkr-cli add skill:citypaul/dotfiles/xstate

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:citypaul/dotfiles/xstate
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:citypaul/dotfiles/xstate

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:citypaul/dotfiles/xstate

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.