AGENT SKILL

test-pilot-execute

Use when a test-pilot plan should be exercised before human spot-check — "run the test plan", "pilot this PR", "verify the branch in the browser". Drives the app via a browser MCP, or the lane's simulated iPhone, and posts a results comment. Observe-and-report only — a bug it finds is a finding, never an edit.

License 许可
MIT
所属仓库
zwrose/superheroes
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
test-pilot-execute
description
Use when a test-pilot plan should be exercised before human spot-check — "run the test plan", "pilot this PR", "verify the branch in the browser". Drives the app via a browser MCP, or the lane's simulated iPhone, and posts a results comment. Observe-and-report only — a bug it finds is a finding, never an edit.

02 资源文件 1

03 SKILL.md 正文

This skill speaks in host-neutral actions. Resolve them to your runtime's tools by reading the host tool map at ${CLAUDE_PLUGIN_ROOT}/hosts/<your-host>-tools.md (the leading variable is this plugin's root directory) — claude-tools.md on Claude Code, codex-tools.md on Codex.

test-pilot-execute

Exercise the branch's test-pilot plan in a real browser, record what you observe at each step with concrete evidence, post a results comment, and leave the PR ready for human spot-check.

You observe and report only — a bug you find is a finding in the results, never an edit. Fixes belong to the invoking session — the caller (an orchestrator or a human) routes each finding to a fix as it sees fit.

Hard boundaries

  1. --allow-protected MUST NOT be passed unless the user explicitly instructed it in the current session.
  2. Navigation is constrained to origins matching the profile's baseUrl (plus allowedOrigins). Anywhere else is off-limits.
  3. Every quoted diagnostic is scrubbed before it reaches a comment: python3 -B "${CLAUDE_PLUGIN_ROOT}/lib/pr_comment.py" scrub (stdin→stdout). Never quote raw request headers.
  4. The plan comment's checkboxes belong to the human — never check them.
  5. The iPhone check's hard lines (Device Hub, phones) live in the execution steps' § The iPhone check — follow them.

Flow

The execution step-body lives at ${CLAUDE_PLUGIN_ROOT}/skills/test-pilot-execute/reference/execution-steps.md — read it and follow it. That file is the one home of the eight steps; this section points at it rather than restating them, so a dispatched consumer that cannot reach this skill (the pilot build subagent has no Skill tool) cites the same path instead of keeping a copy that drifts (CONVENTIONS §11.4).

Steps 1–4 provision the run; steps 5–8 execute and observe. If you cannot read that file, stop and report it — never drive the app from memory of these steps. A lane that holds a phone, or whose issue names an iPhone check, also follows the execution steps' § The iPhone check.

Rationalization table

Excuse Reality
"I found a bug — I'll just fix it and re-run" You observe and report. A bug is a finding; the caller fixes it.
"A step failed — I'll re-author the plan or re-apply the seed and re-run" Provisioning (steps 1–2) happens once, before execution. Mid-run, a broken plan or seed is a finding, not a re-provision.
"The plan step is wrong, I'll correct it and continue" That's a finding too. Report it — never silently edit the plan and re-run toward a pass.
"Gate refused the re-seed; --allow-protected will unblock" Only the USER authorizes that flag. Stop and ask.
"It's basically done, I'll check the plan boxes" Boxes are the human's spot-check. Leave them.
"The console dump is harmless, paste it raw" Scrub EVERY diagnostic. No raw headers, ever.
"No browser tool — I'll verify via curl instead" Abort with remediation. curl is not the plan.
"I reproduced it N/N with the same steps — it's an app bug" N identical runs only test the procedure — before calling it an app bug you must follow the failure-classification and variation rules in skills/test-pilot-execute/reference/execution-steps.md (§ Steps 5–8), including the three unconfirmed labels.
"The control doesn't respond, so the feature is broken" A scripted miss or a non-responsive control is not proof of a broken feature until you have followed the interaction-calibration and variation rules in skills/test-pilot-execute/reference/execution-steps.md (§ Steps 5–8) — including accessible-name targeting, pointer actions, and aria-disabled handling.

04 同仓库更多 Skills

zwrose
zwrose/superheroes

test-pilot-plan

Use when a PR/branch needs a manual test plan with seeded data — "write a test plan", "seed test data for this PR", "set up manual testing". Seeds scenarios via the test-pilot engine and posts a checkbox plan to the PR. Does NOT execute the plan (that is test-pilot-execute).

★ 1
zwrose
zwrose/superheroes

test-pilot-init

Internal helper reached from `superheroes:configure` to refresh test-pilot's profile, seeding blocks, and browser tooling layer. Not a front door; owners run `superheroes:configure` instead.

★ 1
zwrose
zwrose/superheroes

showrunner-handoff

Use in the showrunner advisor seat you are leaving while it is still alive — deliberate handover before the seat goes dark. Leaves durable state for the incoming seat. Emits no paste block. Not checkpoint (`/compact`); not showrunner-resume (incoming seat).

★ 1
zwrose
zwrose/superheroes

review-init

Internal helper reached from `superheroes:configure` to refresh review-crew's calibration layer for a project. Not a front door; owners run `superheroes:configure` instead.

★ 1
zwrose
zwrose/superheroes

review-code

Use when reviewing code changes on a local branch or an open pull request before merging — including when you want the review's findings auto-fixed locally. Gives a multi-specialist review with a fix-and-re-review loop. Not a whole-repo debt sweep (that is guardian).

★ 1
zwrose
zwrose/superheroes

guardian

Use to run the Guardian sweep — a periodic read-only sweep of repo health (duplication, complexity, coupling, dependency and doc freshness, dead code). Reports maintainability drift since the last sweep as plain-language consequences; it never edits code or files issues. Not code review of a change (that is review-code).

★ 1