state-machine
Installation
SKILL.md
State Machine
Model behavior as a finite state machine to eliminate impossible states and make every transition explicit.
Agent contract
This skill is for state-machine design, not tool installation. Model first; choose tools later only when the model needs them.
Before changing code, produce or hold in working context:
- Finite states with one-line meaning.
- Events that can occur.
- Transition table: current state, event, optional guard, actions, next state.
- Impossible states the model prevents.
- Smallest implementation shape that preserves the model.