plugins/gir-core/skills/state-machines/SKILL.md
State machine templates and patterns for Claude Code. Provides structured state management for workflows, UI components, and process orchestration. Use when implementing stateful logic, workflow engines, or multi-step processes.
npx skillsauth add rivit-studio/gir state-machinesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Document state machines for features with >3 states. Synced via GIR — template is kept current; your project state machines are always preserved.
When implementing a feature with >3 states, add a new section in the PROJECT:state-machines section below following this template:
## [Feature Name]
\`\`\`
[state_a] --trigger--> [state_b]
[state_b] --trigger--> [state_c]
\`\`\`
| State | [Impact Col 1] | [Impact Col 2] | Notes |
|---|---|---|---|
### Business Rules
- Rule 1
- Rule 2
See CLAUDE-specgates.md for the full SpecKit convention.
testing
GIR orchestration core — routing rules, delegation tiers, cost discipline, Graphify integration, escalation trigger, and lazy-load instructions. Always loaded.
tools
Native parallel agent execution using Claude Code's built-in Agent tool with worktree isolation. On-demand skill — load when parallel work is needed.
testing
Autonomous execution mode for GIR — unattended operation, cap fail-safe, checkpoint/resume protocol. On-demand skill loaded by /gir:run.
tools
MCP tool reference for web development — v0, Figma, Vercel. Apply when doing UI generation or deployment for frontend work.