XState creator launches /stately skill that finds hidden state machine bugs in your code

DavidKPiano · x · 2026-11-25

David Khourshid (DavidKPiano) released the official Stately skill for coding agents like Claude Code and Codex. It finds implicit state machines (flags, timers, callbacks) in existing code, models flows with XState semantics, and model-checks them — with a built-in checker requiring no Java (TLA+ still supported). A demo shows it catching a real bug: a cancelled upload that restarts when its retry timer fires. Install via npx skills add statelyai/skills or as a Claude Code plugin; it can also review diffs/PRs for state bugs and export simulatable state diagrams.

Original post →

More from coding & agent

coding & agent channel →