/superpowers:agentic-end-to-end-testingfrom superpowers
Use when verifying a running application end-to-end through its real interface (web UI, CLI/TUI, or desktop app), when asked to prove a feature works with evidence — "test it end to end", "prove it actually works", "make me a movie showing it off" — or after a change touches a user-facing surface that unit tests can't cover. Not for unit tests, code review, or API-only checks.
Ships in superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Write a durable, falsifiable scenario; have an agent drive the live application through its real interface the way a user would; end with evidence that cannot be faked. The unit of work is a scenario card — a short markdown test written for an agent to execute, high-level enough that a small UI shuffle doesn't invalidate it, precise enough that two agents running it reach the same verdict. The run's product is a per-assertion pass/fail report backed by that evidence.
Two disciplines govern everything here. Unfakeable evidence: choose evidence a model cannot fabricate — a movie whose frames you extract and look at, an HTTP 401 that proves the server actually answered, a live third-party round-trip, a hash-sealed bundle. Honest failure: when the interface or evidence path breaks, report it, escalate, or pivot. NEVER weaken, skip, or reinterpret an assertion to make it pass.
A green unit test proves the wiring in isolation. A scenario proves the wiring as assembled and rendered. They catch different bugs — write the card even when the unit tests pass.
Don't use this for logic with no user-facing surface (unit-test that), or when a production gate makes the live path unreachable (see the over-specification trap below).
One card = one .md file in test/scenarios/. Keep these sections; collapse any to one line when the scenario is simple. Don't pad.
# <area>-<behavior>: one-line title
**What this covers**: the feature + the specific commits/IDs it exercises.
If something else breaks this, it should be caught here.
## Pre-state
What must be true before starting: a freshly built instance running, auth/creds
in place, a clean workdir. Give the exact commands to reach it.
## Steps
Numbered actions described by **intent**, each with the concrete command or
tool call and a real UI label (prefer labels the user sees over brittle
selectors like `#nav > li:nth-child(3)`).
## Expected
For each step, what you should observe — and the **falsification condition**:
"if you see X instead, the test fails." Silence is not success.
## Cleanup
Idempotent teardown so reruns are hermetic. Never touch state you didn't create.
## Sharp edges
Footguns, timing/ordering caveats, nondeterminism noted while recording.
When a design spec exists, cards derive from it — see authoring-cards-from-a-spec.md; if the spec has an "E2E scenario cards" table, its falsification lines are verbatim contracts.
401 is informative, because it means the server answered.| Surface | Recipe |
|---|---|
| Web UI (browser) | driving-web-browser.md |
| CLI / TUI (terminal) | driving-cli-tui.md |
| Desktop app | driving-computer-use.md |
Ask one question: what would be impossible to fabricate here? Then capture that.
| Evidence | When to choose it |
|---|---|
| Captured real output / screenshot bundle | The cheap default: a terminal transcript or screenshots of the actual run, saved to files. |
| HTTP status / live third-party round-trip | When the claim is "the other end answered" — a real status code or a real external service response proves it. |
| Recorded movie | When the user wants to watch it work. See recording-a-proof-movie.md. |
| Rendered captioned demo | When the deliverable is a narrated showcase built from verified stills. See rendering-a-demo-movie.md. |
| Hash-sealed bundle | When the artifact must not drift from the log it documents — seal both together. |
| Excuse | Reality |
|---|---|
| "The unit tests pass, so it works" | Unit tests prove the wiring in isolation; the bug class this skill exists for lives in the assembly. |
| "I read the code; the feature is clearly correct" | Reading is not running. Drive the real interface or report that you didn't. |
| "Screen recording is blocked, I'll ship what I have" | A blank or fabricated artifact is worse than none; pivot to evidence from the real run and say what you did. |
| "The assertion is too strict, I'll adjust it" | NEVER weaken, skip, or reinterpret an assertion to make it pass. |
| "I proved the backend, so the feature works" | Different claim. Say exactly what you exercised, then drive the real interface — or state that you didn't. |
| "My check passed" | A check that would also pass with the feature broken proves nothing — a broken detector and a clean run are indistinguishable. |
Red flags. Stop the moment any of these is true mid-run:
All of these mean: stop, run the real thing, look at the real output.
authoring-cards-from-a-spec.md (opens in a new tab)driving-cli-tui.md (opens in a new tab)driving-computer-use.md (opens in a new tab)driving-web-browser.md (opens in a new tab)recording-a-proof-movie.md (opens in a new tab)rendering-a-demo-movie.md (opens in a new tab)runner-prompt.md (opens in a new tab)scripts/check-cards-against-spec (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies/executing-plansUse when you have a written implementation plan to execute in a separate session with review checkpointsOther plugins' skills for the same job
npx claudepluginhub bobrovaolesyaekb/https-github.com-obra-superpowers --plugin superpowers