CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

statelyai/stately

Find implicit state machines, review state bugs, and check or visualize statecharts with Stately.

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

Quality

Scored by GLM 5.3

Content

88%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.

The content is a dense, highly operational playbook: exact commands, tool-call shapes, sequenced workflows with validation checkpoints and error-recovery loops, and a genuine one-level-deep reference bundle. Its weaknesses are length-related — some edge-case policy in the preamble and per-section details could be trimmed or moved to the existing references to make SKILL.md a leaner overview.

Suggestions

Move the connection-selection and link-reporting policy (the 'When multiple Stately tool prefixes are available...' and 'Copy each returned link exactly...' passages) into a reference such as compatibility.md, keeping only a one-line rule in SKILL.md.

Trim micro-specified edge cases in the preamble (e.g., save-failure reporting details and the visualize_machines batching rules) to a compact bullet list, or relocate them to the relevant sections they govern.

Consider moving the 'Present scenarios' session/highlight/simulation option detail to a reference file, since it is deep editor behavior unlikely to be needed on every invocation.

DimensionReasoningScore

Conciseness

The body assumes Claude's competence — no basic state-machine or PDF-style concept exposition — and nearly every line is operational, but passages such as "Copy each returned link exactly as the tool returned it, and say so when the tool returns no link" and the multi-connection preamble ("When multiple Stately tool prefixes are available, treat each as a separate connection...") micro-specify edge cases that could be trimmed or delegated to a reference, fitting the 4 anchor ("minor instances of over-explanation that could be trimmed") rather than 5's "every token earns its place".

4 / 5

Actionability

Guidance is fully executable: exact commands ("sh SKILL_DIR/scripts/stately-check.sh check Flow.json --rules Flow.rules.json --out NEW_RUN_DIR --json"), tool calls with argument shapes ("Call `visualize_machine` with `{ format: "json", machine: config }`"), the Windows PowerShell variant ("& 'SKILL_DIR/scripts/stately-check.ps1'"), concrete artifact names (Flow.json, Flow.rules.json, leads.md), and explicit thresholds (500 TLC states, batches of up to 20), matching the 5 anchor's copy-paste-ready coverage of common cases; a 4 would require minor gaps in the concrete detail, which are absent.

5 / 5

Workflow Clarity

The seven-step Check-invariants workflow is clearly sequenced with explicit validation checkpoints ("Read `compact-report.md` first", "Treat each rule's `holds`, `broken`, or `not-checked` independently", "Never turn a timeout, DOT, simulation, or unchecked rule into a proof") and feedback loops for error recovery ("On a revision conflict, reopen the model and rerun", "If a path does not reproduce, question the model before declaring an application bug"), and the routing table maps each request type to its section, matching the 5 anchor; 4 would drop some checkpoints or recovery loops, which are present throughout.

5 / 5

Progressive Disclosure

All 14 referenced files exist, are one level deep (references cross-link only to siblings and back to SKILL.md anchors, no nested chains), and navigation is strong (routing table, purpose-named anchored links); however, the ~480-line body inlines operational policy — connection selection, link-copying rules, session/highlight details — that could partly live in references, fitting the 4 anchor ("most content is appropriately placed; minor organization gaps") rather than 5's lean overview with everything appropriately split.

4 / 5

Total

18

/

20

Passed

Description

100%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.

The description is exemplary: it enumerates concrete capabilities in third person, supplies an explicit "Use for" clause with quoted natural trigger phrases and slash commands, and carves out a clearly distinct Stately/statechart/model-checking niche. It is dense but not padded — every clause adds a capability or trigger.

DimensionReasoningScore

Specificity

Seven concrete, third-person actions are listed — "Generate a diagram of a process or flow in Stately", "model a flow as an interactive Stately statechart", "check a protocol or flow against invariants with a bundled native statechart checker (TLA+ optional)", "find implicit state machines in application code", "make them explicit as checked XState machines", "check a fix", "review a diff or pull request for state bugs" — with comprehensive coverage and no vague filler, matching the 5 anchor; a 4 would require minor coverage gaps, which are absent.

5 / 5

Completeness

It explicitly answers both questions: the opening sentence states what the skill does (diagram, model, check, find, make explicit, check a fix, review), and "Use for /stately, /statechart..., 'find all of the implicit state machines in my app'..." gives explicit trigger guidance with concrete phrases, matching the 5 anchor; the missing-trigger cap does not apply because an explicit 'Use for' clause is present.

5 / 5

Trigger Term Quality

The "Use for" clause includes literal quoted user phrasings ("find all of the implicit state machines in my app", "make these flags explicit", "check my fix"), slash commands (/stately, /statechart), and synonyms across the domain (statechart, XState, TLA+, Stately, safety/liveness/deadlock, counterexample replay, hidden-state discovery), matching the 5 anchor's comprehensive natural-term coverage; a 4 would require noticeably missing common variations, and none are evident.

5 / 5

Distinctiveness Conflict Risk

The niche is unmistakable — Stately statecharts, native model checking, XState/TLA+ — and nearly all triggers are domain-specific (statechart analysis, safety/liveness/deadlock checks, counterexample replay, hidden-state discovery), fitting the 5 anchor's "clear niche with distinct triggers; minimal conflict risk"; generic phrases like "check my fix" create only negligible overlap, far from the 4 anchor's overlap with closely related skills.

5 / 5

Total

20

/

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