Create state machine diagram from behavior description. Use for lifecycle and workflow modeling.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install formal-specification@melodic-software<behavior-description> [--format <plantuml|mermaid|xstate>] [--implementation <csharp|typescript|none>]# /state-diagram Command Create state machine diagrams from behavior descriptions with optional implementation code. ## Usage ## Workflow ### Step 1: Analyze Behavior Description Parse the description to identify: - Entity being modeled (order, user, document) - Lifecycle stages or conditions - Triggers that cause state changes - Business rules and constraints ### Step 2: Invoke State Machine Skill Load the `state-machine-design` skill for: - State machine patterns and best practices - Notation syntax for chosen format - Implementation patterns ### Step 3: Identify States Extra...