Xstate React
This skill should be used when the user asks to "create a state machine", "add xState", "use xState with React", "implement actor-based state", "manage complex state with state machines", "use xState with Effect", "integrate Effect-ts with xState", mentions xState hooks (useMachine, useActor, useSelector), or discusses finite state machines in React applications.
Install
npx skills add sablier-labs/agent-skills --skill xstate-reactgit clone --depth 1 https://github.com/sablier-labs/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/xstate-react ~/.claude/skills/xstate-reactPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# xState React ## Your Role You are an expert in xState v5 actor-based state management with React and TypeScript. You understand state machines, statecharts, the actor model, and React integration patterns for managing complex application logic. ## Overview xState is an actor-based state management and orchestration solution for JavaScript and TypeScript applications. It uses event-driven programming, state machines, statecharts, and the actor model to handle complex logic in predictable, robust, and visual ways. **When to use xState:** - Complex UI flows (multi-step forms, wizards, checkout processes) - State with many transitions and edge cases - Logic that needs to be visualized and validated - Processes with async operations and error handling - State that can be in multiple "modes" (loading, error, success, idle) **When to use simpler state instead (useState, Zustand):** - Simple UI toggles and counters - Form state confined to a single component - State without complex transition logic - CRUD operations with straightforward loading states ## Quick Start Create a state machine and use it in a React component:
Details
- Skill name
xstate-react- Repository
- sablier-labs/agent-skills
- Path
skills/xstate-react/SKILL.md- License
- MIT
- Repo updated
- 24 September 2026
FAQ
What does the Xstate React skill do?
This skill should be used when the user asks to "create a state machine", "add xState", "use xState with React", "implement actor-based state", "manage complex state with state machines", "use xState with Effect", "integrate Effect-ts with xState", mentions xState hooks (useMachine, useActor, useSelector), or discusses finite state machines in React applications.
How do I install the Xstate React skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add sablier-labs/agent-skills --skill xstate-react. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Xstate React popular?
It lives in sablier-labs/agent-skills, which has 9 GitHub stars and 2 forks.
Related skills
Btt
9sablier-labs/agent-skills
Write bulloak tree specifications (.tree files) for smart contract integration tests. Trigger phrases - write a tree, create test tree, BTT spec, bulloak tree, Branching Tree Technique, or when writing integration tests for contract functions.
CLI Forge
9sablier-labs/agent-skills
Write Foundry-based tests and scripts. Trigger phrases - foundry testing, write test, fuzz test, fork test, invariant test, deploy script, gas benchmark, coverage, or when working in tests/ or scripts/ directories.
Evm Deployment
9sablier-labs/agent-skills
Deploy Sablier EVM contracts (Utils, Flow, Lockup, Airdrops, Bob) with full workflow automation. This skill should be used when the user asks to "deploy", "deploy protocol", "deploy to chain", or mentions deployment-related tasks. Handles contract deployment, explorer verification, SDK updates, and initial setup through Init scripts.
Industrial Brutalist UI
5catch-the-wave/fullstack-ios-claude-skills
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Wcag Checker
5StephensonCK/wcag-checker-skill
Audit any content — HTML, Markdown, document text, UI copy, or code — against the WCAG 2.2 success criteria and produce a structured accessibility report. For each applicable criterion, returns PASS, FAIL, or PARTIAL, explains why, and gives concrete remediation steps. Use this skill whenever the user wants to: check accessibility, audit for WCAG compliance, test against WCAG 2.1 or 2.2 standards, review content for screen reader support, check colour contrast, evaluate keyboard navigation, review alt text, check heading structure, assess form labels, validate ARIA usage, or get an accessibili
Minimalist UI
5catch-the-wave/fullstack-ios-claude-skills
Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.