一键导入
maestro-flows
Create and run Maestro UI test flows for the app in this repo. Use when writing Maestro YAML flows or verifying app behavior on a device/emulator.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and run Maestro UI test flows for the app in this repo. Use when writing Maestro YAML flows or verifying app behavior on a device/emulator.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when reviewing code for bugs with finder, challenger, and referee roles, especially when independent review is needed to reduce false positives.
Optimize an agent skill through bounded repeated trials, binary evaluations, targeted prompt mutations, and auditable keep/discard decisions. Use when asked to optimize, benchmark, evaluate, or systematically improve an existing skill. Produces an improved candidate skill, run artifacts, a results log, and a mutation changelog without overwriting the original.
Review uncommitted git changes for bugs/regressions via Codex MCP and present a structured report. Use when asked to review local changes or find bugs in current work. Requires Codex MCP to be configured.
Organize raw project documentation into a focused, cross-linked docs/ structure with an adaptive INDEX.md and a recommended AGENTS.md entry point. Preserve the source's natural document types; create stories only when they already exist and incremental slices only when the user wants them. Use when starting from raw documentation or restructuring scattered project docs.
Record one web application feature flow as a compact GIF using an existing Playwright installation. Use when the user asks for a visual demo, changelog artifact, documentation asset, or pull-request evidence. Creates local capture artifacts first; installation, publication, commits, uploads, and pull-request edits always require separate approval.
Coordinate specialized agent roles across complex tasks using dependency-aware planning, explicit ownership, structured handoffs, safe integration, and evidence-based quality gates. Use when work has multiple independent streams or genuinely benefits from isolated expertise; fall back transparently when the runtime cannot provide separate workers.
| name | maestro-flows |
| description | Create and run Maestro UI test flows for the app in this repo. Use when writing Maestro YAML flows or verifying app behavior on a device/emulator. |
| version | 1.0.0 |
| level | advanced |
| category | testing |
Create and run Maestro UI test flows for the application in the current repository. Discovers the project setup itself, keeps raw output in a project results folder, and returns only a compact result in chat.
-e env vars, or ask the user.dumpsys window, or Maestro artifacts into the conversation. Redirect raw output to the results folder and parse the JUnit report instead.Read gotchas.md first — it logs this skill's own past malfunctions.
Config lives at <repo root>/.maestro-flows.local.json — machine-local state, never inside this skill folder (the skill ships without it) and never committed.
If it exists: read it, validate the cached tool paths still exist (adb, maestro) and the device is connected (run devices via the configured adb path — do not assume adb is on PATH, or xcrun simctl list devices booted); re-discover any value that fails validation and write the file back. No device connected → first try to start one yourself (emulator/simulator start steps are in references/project-discovery.md step 4); ask the user only if that fails. If the config doesn't exist: follow references/project-discovery.md to discover everything and create it; ask the user only for ambiguous values.
Read references/flow-authoring.md before writing any YAML. Start new flows from templates/flow.yaml.tmpl.
Read references/running-flows.md for the run conventions (results folder layout, JUnit report parsing, tag filtering).
Pick the cheapest valid run:
installCommand first.--include-tags instead of running the whole suite.Report immediately after the run — do NOT investigate failures first (no log reading, no screenshot inspection, no troubleshooting). Print in chat only:
artifacts/;<resultsDir>/run-<timestamp>/) for later verification.After the report, ask the user which failing tests to diagnose and plan fixes for. Only for the selected ones: read references/troubleshooting.md (most failure modes — startup crash despite green build, system overlays, stale field state, stale installs — are catalogued with exact diagnostic commands), diagnose the root cause, then lay out a plan: root cause, files involved, proposed change, how the fix will be verified (which flows to rerun). Present the plan only — do not modify application code within this skill.