Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

state-machine

Étoiles0
Forks0
Mis à jour17 mai 2026 à 15:51

Use when designing explicit state-machine behavior for systems with multiple modes (idle/loading/success/error, draft/submitted/approved, connected/disconnected/reconnecting), boolean-flag explosion where isLoading, isError and isSuccess drift out of sync, forms, wizards, auth flows, network protocols, embedded controllers, workflow engines, or any code/bug report where "impossible states" appear. Agent-facing design workflow: model states, events, transitions, guards, actions, and impossible states before implementation. Provides implementation references for TypeScript discriminated unions, XState v5, React useReducer, Svelte 5 runes, C, Java, and Rust. NOT for installing tools, single-boolean toggles, pure server-cache concerns better handled by TanStack Query or SWR, or stateless pure transformations.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
27 fichiers
SKILL.md
readonly