Stately skill auto-integrates Rust-based everystate TLA+ checker that found 8 bugs in under a second

DavidKPiano · x · 2026-11-29

DavidKPiano announced that the /stately skill now automatically uses everystate — Matt Carey's fast Rust-based TLA+ model checker — when installed, with a built-in XState checker as a quicker alternative that skips TLA+.

In a real-world trial of Tobi Lütke's advice to mine codebases for implicit state machines, dok2001 handed everystate to his coding agent: it found 8 bugs in a personal repo, including one leaking Durable Object containers forever, with every check completing in under a second.

The skill teaches coding agents to find implicit state machines, review changes for state bugs, model-check flows, and make flags explicit as XState machines. It works with any language/framework and installs via npx skills add statelyai/skills --skill stately, or as a Claude Code/Codex plugin bundling xstate-v5/v6 skills and the Stately MCP server.

Original post →

More from coding & agent

coding & agent channel →