maestro_generate
Generate a persistent Maestro YAML flow file from structured steps. Writes to .rn-agent/actions/<name>.yaml in the project root. Use after live verification to create reusable actions.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
name | string | Yes | Flow name (e.g. “add-to-cart”, “profile-edit”). Becomes filename. | ||
steps | object[] | No | Ordered list of Maestro steps | ||
appId | string | No | App bundle ID to include in YAML header | ||
outputDir | string | No | Output directory (default: <project>/.rn-agent/actions/). Pass an explicit path for non-default targets. |
maestro_generate(name: <string>)