workflow-state-machine-simulation
Installation
SKILL.md
Workflow State Machine Simulation
Create a source-grounded state-machine projection for inspection and learning without executing the target, performing its side effects, modifying its sources, or presenting inferred behavior as observed runtime behavior.
Inputs
- Target: A required inline or repository-relative workflow, procedure, algorithm, function, or skill in prose, pseudocode, source code, or Markdown; include an entry point when the source defines multiple operations.
- Scenario: Optional initial arguments, machine context, environment values, and expected external responses; omitted values remain symbolic.
- Supporting context: Optional available definitions, data shapes, invariants, and external behavior that may explain but not override the target.
- Controls: Optional entry-point override, abstraction level, expansion or focus controls, event-name or payload overrides, initial scenario, repository-relative
.mmddestination, explicit HTML request, and repository-relative.htmldestination.
Outputs
- Simulation result: One validated static Mermaid
.mmdprojection at the resolved destination, an interactive canonical-template.htmlprojection only when explicitly requested, and a concise completion report; it is complete when every selected artifact matches one source-grounded machine model, all modeled terminal outcomes are reachable, validation evidence and symbolic or bounded behavior are disclosed, no unselected or unauthorized destination was changed, and no target code or side effect was executed.