State Machine Storyboards
Intent
- •Explain how users or issues move through states with clear entry/exit rules.
- •Support growth loop, launch, or issue triage skills by making transitions explicit.
Inputs
- •State list (e.g.,
New,Activated,Retained,Churned). - •Transition triggers (events, metrics, timers).
- •Guard conditions / actions per transition.
Workflow
- •Define legend
- •
[STATE]boxes; arrows-->; dotted..>for optional transitions.
- •
- •Draft storyboard
- •Example:
code
[New] | | signup complete v [Activated] --fails SLA--> [Churn Risk] | retention event v [Retained]
- •Example:
- •Add annotations
- •Edge labels:
>=3 sessions,NPS<30. - •Actions:
/{ send email }appended to arrow.
- •Edge labels:
- •Link to metrics
- •Provide query references or analytics dashboards for each transition.
- •Embed in docs
- •Include in PRs/issues or
.factory/skills/...referencing file names (e.g.,state-machines/activation.txt).
- •Include in PRs/issues or
Verification
- •Every state has at least one ingress and egress (unless Start/End).
- •Triggers clearly defined; no unlabeled arrows.
- •Diagram reviewed with product/growth stakeholders for accuracy.