Test state machines systematically — don't guess at valid transitions.
State machines are everywhere: workflow states, lifecycle management, game turns, circuit breakers. Most bugs come from invalid transitions being allowed or valid transitions being blocked. This skill teaches you to systematically test ALL state pairs, not just the happy path.
When to use: Any code with named states, lifecycles (initializing → ready → stopping), workflow progressions (draft → review → published), turn-based systems, circuit breakers, or XState machines.
Prueba las transiciones de la máquina de estados con patrones de estilo XState. Valida matrices de transición, guarda tablas de verdad, mutaciones de contexto y manejo de estados terminales. Fuente: apankov1/quality-engineering.