Reference
Flow schema
Structure of .flow.yaml files generated from prototypes.
Flow schema
Each .flow.yaml describes one user journey extracted from the prototype.
Minimal shape
id: onboarding
name: Onboarding
status: draft
entrypoint:
route: /onboarding
screen: onboarding_welcome
steps:
- id: create_workspace
screen: create_workspace
actions:
- id: submit_workspace
type: command
command: workspace.create
requires_api: true
exitpoints:
- route: /dashboardRequired sections
- flow identity (
id,name) entrypointstepswith explicit actionsexitpoints
Quality signals
The extractor and review step should flag:
- missing error/loading states;
- unresolved contracts;
- sensitive actions without explicit confirmation policy.