state-machine
Installation
SKILL.md
State Machine - Finite State Machines for Complex Flows
Description
Enforces deterministic, minimal state machines for any multi-step flow in NodeJS-Starter-V1. Codifies the project's existing patterns (TaskStatus, ExecutionStatus, NodeStatus) and provides a reusable framework for defining states, transition maps, guard conditions, and side effects across Python and TypeScript.
When to Apply
Positive Triggers
- Designing multi-step workflows with distinct status phases
- Adding new
Enumstatus fields to Pydantic models - Implementing UI components with loading/error/success states
- Reviewing state transitions for completeness and determinism
- Adding retry, escalation, or verification loops
- User mentions: "state machine", "status", "workflow state", "transitions", "FSM"
Related skills
More from cleanexpo/nodejs-starter-v1
council-of-logic
>
19dashboard-patterns
>-
17scientific-luxury
>
16execution-guardian
>-
13xaem-theme-ui
>
12genesis-orchestrator
Autonomous project orchestration protocol for Next.js full-stack builds. Triggers on "build", "implement", "create feature", "plan", "architecture", or when starting new phases. Enforces phase-locked execution, token economy, and sectional verification gates.
12