This is a comprehensive XState v5 skill that guides you through designing, implementing, and migrating state machines in TypeScript. It knows when to recommend the simpler @xstate/store instead of a full machine, which is refreshingly practical. The skill emphasizes modeling first and API correctness second, walking you through the right questions before you write code: what are the finite states, what belongs in context, should this be a guard or a separate state. It handles three distinct modes (new code, local edits, migrations) and adjusts its opinionation accordingly, so it won't bulldoze your existing codebase with unnecessary refactors. Particularly strong on v5-specific patterns like setup scoped actions, tags for UI semantics, and choosing the right actor type for your async work.

skills.sh installs
541
GitHub stars
59
last updated
Aug 21, 2026

Install

$ npx -y skills add seed-hypermedia/seed --skill xstate --agent claude-code

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/seed-hypermedia/seed
Category
Frontend Development
First seen
Jun 3, 2026
1kindy avatarprimevuekindy/skillsSetup and use PrimeVue UI component library in Vue/Vite projects with auto-import, theming, and component configuration. Use when working with PrimeVue componen536skills.sh installs
2connorads avatarweb-animation-designconnorads/dotfilesDesign and implement web animations that feel natural and purposeful. Use this skill proactively whenever the user asks questions about animations, motion, easi521skills.sh installs
3jezweb avatarai-sdk-uijezweb/claude-skillsBuild React chat interfaces with Vercel AI SDK v6. Covers useChat/useCompletion/useObject hooks, message parts structure, tool approval workflows, and 18 UI err517skills.sh installs
4aaronontheweb avatarmjml-email-templatesaaronontheweb/dotnet-skillsBuild responsive email templates using MJML markup language. Compiles to cross-client HTML that works in Outlook, Gmail, and Apple Mail. Includes template rende513skills.sh installs
5laravel avatarstarter-kit-upgradelaravel/agent-skillsSelectively pull upstream improvements from a Laravel starter kit (laravel/vue-starter-kit, laravel/react-starter-kit, laravel/svelte-starter-kit, laravel/livew512skills.sh installs
6horuz-ai avatarwebsite-clonerhoruz-ai/claude-pluginsAgentic workflow for cloning websites with pixel-perfect fidelity using specialized sub-agents. Use when the user wants to clone/copy/replicate a website, creat509skills.sh installs