CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

statelyai/xstate-v6

Write, review, test, and migrate XState v6 machines and actors by reading the documentation that ships inside the installed xstate package. Use when a project depends on xstate 6 (including betas), when the user asks for XState v6, or when migrating XState v5 code to v6. For a project on xstate 5, use the xstate-v5 skill instead.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Scored by GLM 5.3

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exemplary version-pinned skill body: it is lean, assumes Claude's competence, and concentrates entirely on non-obvious v6-specific facts — where the docs live, the v5 syntax traps, the shipped CLI verification tools, and the codemod migration loop. Validation and feedback loops are explicit at every stage where mistakes are likely.

DimensionReasoningScore

Conciseness

The body never explains what XState or a state machine is; every line is version-specific, non-obvious guidance (e.g. "A bare string such as `on: { GO: 'done' }` and transition arrays are v5 syntax") and the one shell snippet is a single line. The lone time-sensitive note ("npm `latest` is still 5.x") is a parenthetical that earns its place as routing guidance for the version-detection step, not padded explanation, so the lean-and-efficient anchor fits.

5 / 5

Actionability

Guidance is fully executable: exact file paths (`node_modules/xstate/docs/index.md`, `docs/api-stability.json`, `docs/xstate-v5-to-v6.md`), runnable commands (`npx xstate docs`, `npx xstate validate`, `simulate`, `test`, `replay`, the `npm pack xstate@beta` tarball fallback), concrete correct-vs-wrong syntax examples, and a named codemod loop (`baseline`, `migrate`, `manualSites`, `verify`).

5 / 5

Workflow Clarity

The workflow is clearly sequenced — detect version → read docs in a stated order → check known pitfalls → design → implement → verify → migrate — with explicit validation checkpoints (typecheck, run tests, `npx xstate validate/simulate/test`) and genuine feedback loops: "save the failing event sequence first and replay it after the fix" and "Do not report a migration as done until `verify` exits 0."

5 / 5

Progressive Disclosure

No bundle files exist, and none are needed: the skill is a lean overview that delegates all detail one level deep to the versioned docs shipped inside the xstate package, each referenced by exact path with a stated purpose (agents.md as "the authoring contract", cheatsheet.md for syntax, api-stability.json for export status). Sections are well-organized and nothing that belongs in a separate file is inlined.

5 / 5

Total

20

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete lifecycle verbs, an explicit Use-when clause with realistic trigger phrasings, and explicit version routing that eliminates overlap with the sibling v5 skill. The only gap is missing natural synonyms like "state machine" or "statechart" that users might say without naming XState.

DimensionReasoningScore

Specificity

"Write, review, test, and migrate XState v6 machines and actors" lists four concrete lifecycle actions on a named target, plus the operating method ("by reading the documentation that ships inside the installed xstate package"), matching the comprehensive-coverage anchor rather than the minor-gaps anchor at 4.

5 / 5

Completeness

The first sentence explicitly states what the skill does, the second gives a concrete "Use when..." clause with three trigger scenarios, and it even adds routing guidance ("For a project on xstate 5, use the xstate-v5 skill instead") — both what and when are clearly and explicitly answered.

5 / 5

Trigger Term Quality

Triggers include natural phrasings users would say — "a project depends on xstate 6 (including betas)", "when the user asks for XState v6", "migrating XState v5 code to v6" — but common synonyms like "state machine", "statechart", or "actor" are absent, so a user asking for state-machine help without naming XState would not match. This sits at good-coverage-with-a-few-missing-terms, not the comprehensive-synonym coverage of 5.

4 / 5

Distinctiveness Conflict Risk

The skill is pinned to a clear niche (XState v6, including betas) with version-specific triggers, and explicitly disambiguates its closest sibling ("use the xstate-v5 skill instead"), so the conflict risk with the v5 skill or generic state-machine requests is minimal.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page