Skip to content

maestro_generate

Generate a persistent Maestro YAML flow file from structured steps. Writes to .maestro/flows/<name>.yaml in the project root. Use after Phase 5.5 verification to create regression tests.

NameTypeRequiredDefaultConstraintsDescription
namestringYesFlow name (e.g. “add-to-cart”, “profile-edit”). Becomes filename.
stepsobject[]NoOrdered list of Maestro steps
appIdstringNoApp bundle ID to include in YAML header
outputDirstringNoOutput directory (default: <project>/.maestro/flows/)
maestro_generate(name: <string>)