xstate Agent Skills & AI Rules

GitHub

State machines, statecharts, and actors for complex logic

RAW Rules
17 Discovered Rules β€’ ~16,652 Estimated Tokens
Quick:
Loading skill content...

AI Agent Protocol & Instructions

AGENTS.md root-instruction ~183 tokens
Raw
This is a monorepo containing XState, @xstate/store, and related packages.

## Dev environment

- Use pnpm to install dependencies

## PR instructions

- Run `pnpm test` to run the tests in all packages, only for changes that affect mulitple packages.
- Run `pnpm test:core` to only run core XState tests.
- Run `pnpm test:store` to only run @xstate/store tests.
- Run `pnpm lint` and `pnpm format:check` to check linting and formatting.
- Run `pnpm typecheck` to make sure that there are no type errors.
- Before making a PR, run `pnpm changeset` to create a changeset with a short description of the changes, and a code example if applicable. Do not include implementation details; only pertinent details for developers using the package.