
Statechart
Model-checked TLA+ state machines rendered as Mermaid statecharts, with shortest paths to rule-breaking states.
- CCM score
- 58 of 100
- skills.sh installs
- 2.1K
- GitHub stars
- 19.4K
- last updated
- Nov 25, 2026
Own this skill? Claim it
What it does
- Covers checking a TLA+ spec with TLC and drawing the reachable states as a Mermaid statechart with labeled arrows
- Includes a runnable
scripts/statechartlauncher, a view module for state labels, step labels, phase colors, and title - Marks states that break a rule as
breaksormayBreakand shows the shortest path to each violation - Designed for product flows, protocols, and services, and for showing a bug as a path through states
Install
$ npx -y skills add cursor/plugins --skill statechart -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Statechart
The chart shows how a system moves between states, in the words of the person who reads it. That person, the reader, decides whether the behavior is right.
Run
Work in a scratch folder outside the repo. Write a TLA+ spec and its config. Then run:
<skill dir>/scripts/statechart SPEC.tla [--config FILE] [--view FILE] [--out DIR]
scripts/statechart.ts is TypeScript, so run it with a runtime that can execute TypeScript. scripts/statechart is a POSIX shell script that picks one. On native Windows, run node --disable-warning=ExperimentalWarning <skill dir>/scripts/statechart.ts with Node 22.18 to 22.x, or Node 23.6 or later.
The first run installs TLC and Java with mise and needs the network.
Write the spec
Details
- Repository
- github.com/cursor/plugins
- First seen
- Nov 25, 2026
More from cursor/plugins
All 93- Maintain Formal Verification Skill2.1K
- Make Bot Ui1.7K
- Continual Learning1.5K
- Cli For Agents1.4K
- Ketchup Video1.3K
- Cursor Sdk1.3K
- Orchestrate1.3K
- Docs Canvas1.2K
- Create Plugin Scaffold1.2K
- Review Plugin Submission1.2K
- Ralph Loop1.1K
- Create Learning Path1K
- Run Learning Retrospective935
- Reproduce And Fix Issues882
- Triage Issue Reports859
- Setup Benny845
- Reframe127
- Check Agent Compatibility4
- Unslop39.7K
- Thermo Nuclear Code Quality Review25.4K
- Typescript Best Practices12.3K
- Deslop11.1K
- Blast Radius8.5K
- How7.5K
Similar to Statechart
cavemanjuliusbrussee/caveman646.1K installsUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels
grill-memattpocock/skills1.6M installsA relentless interview to sharpen a plan or design.
improveshadcn/improve43.4K installsSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s
systematic-debuggingobra/superpowers346.5K installsUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes
find-skillsvercel-labs/skills4.5M installsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int
hyperframes-cliheygen-com/hyperframes1.7M installsUse the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes,