/qa-flow:manual-testfrom qa-flow
Executes exploratory/manual QA against a web app by piloting a real browser via throwaway Playwright scripts. Driven by a ticket's test plan or an ad-hoc scenario, with independent evidence review and pass/fail reporting.
Ships in qa-flow. 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.
Drives manual / exploratory QA against a web app. Reads the test context (from an issue-tracker ticket or directly from the user), executes it by piloting a real browser through a throwaway Playwright script, has the evidence independently reviewed, and reports pass/fail. Does not commit any test files — every script written here is throwaway and lives in a git-ignored scratch root.
Pairs with
create-test-plan-scenarios(produces the checklist) andfile-bug-ticket(files the bugs this run finds).
Tiers are capability levels, not vendor names — map them to what your harness offers:
| Tier | Meaning | Examples (as of writing) |
|---|---|---|
fast | Cheap, deterministic, mechanical | Haiku-class, GPT mini-class, Gemini Flash-class |
balanced | Follows a documented playbook well | Sonnet-class, GPT standard, Gemini Pro-class |
deep | Open-ended reasoning, judgement, long runs | Opus-class, GPT top reasoning tier, Gemini top tier |
deep+ means the top tier and the highest reasoning effort the harness exposes.
This skill is a router: it does not execute the test in the main conversation. A browser run produces a lot of tool output (browser, network, console) that should not fill the conversation, and the review only works if the reviewer did not watch the run.
Stays in the main conversation (orchestrator):
Three distinct roles, in this order: executor (Steps 3–5) → reviewer (Step 6) → tracker writer
(Step 7, via file-bug-ticket). The knowledge-bank update (Step 8) stays with the orchestrator. The reviewer is never a fork of the executor or of this
conversation: it must reach the evidence without inheriting the conclusions of whoever produced it.
Pass context through the prompt, not through inheritance.
Use the first option your harness supports:
qa-test-executor and qa-evidence-reviewer are installed (Claude Code
plugin, or the OpenCode/Codex adapters in this repo), dispatch them by name (the plugin namespaces
them, e.g. qa-flow:qa-test-executor). They carry the role prompt with its references inlined, so
do not point them at roles/ — they spend the first turns searching for it. In Claude Code and
OpenCode they also get a best-effort permission guard (reviewer read-only; no tracker writes or
commits); in Codex the boundary is instruction-only.<absolute path>/roles/test-executor.md (or roles/evidence-reviewer.md) and follow it" —
resolve the path next to this SKILL.md yourself; the subagent does not know where it is.
Repeat the "never write to the tracker" rule in the brief, since nothing enforces it.A thin prompt ("run these scenarios") is what produces a fragile report. Carry all six sections:
[Generic subagent only: Read <absolute path>/roles/test-executor.md and follow it.]
Environment: <staging|prod>. User/fixture: <which>.
Recon template: <absolute path to this skill>/assets/recon.template.spec.ts — copy it, fill in
OUT / ENTRIES / overlay only. [Or: "Recon may be skipped — <reason>": page objects cover the whole
flow / fresh knowledge-bank locators for every target: … / single assertion, locator: … /
first-visit state (or: "run recon as <second fixture user>")]
## Ticket and ACs
<ACs verbatim — do not paraphrase; the executor compares this text with the screen>
## Scope
In scope: <...>. Out of scope: <...> — and WHY (e.g. data for X does not exist yet).
If something out of scope fails, record it as an observation, not a ticket failure.
## Plan (already resolved — run in this order, do not re-derive)
<numbered list, with what to observe in each item>
## Known bugs — do NOT investigate, do NOT file
<ID: one-line repro> → if crossed, label BLOCKED and move on.
## App/environment gotchas
<bot protection, overlays to dismiss, URL-based seeding, selectors,
baseline console noise, short timeouts, network capture by blocklist,
entry URLs for recon — or why recon can be skipped>
## Rules
Throwaway files in _local/. Do not commit. Do not write to the tracker.
Recon first, read-only; it shows how to reach elements, never what to expect.
Evidence must prove what it claims — a failed click is not a new state.
Do not ask anything; if stuck, return what blocked you, what passed, and the evidence collected.
| Role | Situation | Tier |
|---|---|---|
| Executor | 1 short scenario, a single visual/text assertion | balanced |
| Executor | 2–5 scenarios on the UI happy path | deep |
| Executor | ≥6 scenarios, or console/network correlation, or multi-user/multi-tab, or a payment flow | deep+ |
| Reviewer | Always — judging coverage and overturning fragile conclusions | deep |
| Tracker writer | Fields and body already resolved by the orchestrator; it only posts and verifies | balanced |
A second pass after the review inherits the executor's tier, never less — it attacks exactly what was hard the first time. If a subagent comes back blocked, resolve it with the user and redispatch one tier up instead of taking the work over in the main conversation.
Do not delegate guided mode (the user performs the steps and reports what they saw) — that is a conversation and runs inline. If the executor discovers mid-run that guided mode is needed, it returns and the orchestrator takes over.
TICKET-1234, a bare number, or a full URL). Load
the ticket, derive the plan from the description / ACs / existing checklist, run each item in order.If the user gives both, ad-hoc wins; ask whether to still pull the ticket for context.
storageState file(s), e.g. playwright/.auth/user.json..qa-flow/knowledge/,
optional). Curated, not throwaway: see references/knowledge-bank.md._local/, with
scripts/, recon/<slug>/, evidence/<slug>/, logs/). Never inside the committed suite or
the repo root.TRACKER_API_BASE and TRACKER_TOKEN, read at runtime from env or a git-ignored
.env.local. Never inline, never commit, never print.401, ask the user for a fresh token, update
the local file, retry once..env; your global/auth setup generates the storageState
fixtures. If a fixture is missing or older than the session lifetime, regenerate it or ask the user.userAgent or header — configure it in the throwaway config, sourced from env. A silent challenge
page looks like "login failed" but isn't.Ticket mode:
Normalize the id and fetch the ticket via the tracker API.
Pull: title, description, type, custom fields, comments, related-ticket links, existing checklist, and the linked branches / pull requests.
fix: … points straight at what
needs extra verification — e.g. a fix: … PR that touches the mobile layout turns "test on mobile"
into a mandatory scenario.For each link in description / comments (docs, designs, wikis), try to fetch it. If it needs auth or returns junk, ask the user to paste the relevant content — be specific about what you need — and wait. Never invent expectations to fill the gap.
Read every comment — product owners clarify copy, IDs and edge cases there. Comments override the description.
List the known bugs that cross this ticket, BEFORE running. A run that rediscovers a tracked bug wastes the turn and pollutes the report with a false-new finding. Look at:
blocks it);known-bug entries — pointers only: confirm each one's state in the
tracker before listing it;For each, write into the plan: "if crossed, label BLOCKED — <id> known, do not investigate, do not file".
Confirm with the user/PO what has no data or backend yet. Front-end delivered before its
backend is common and changes the reading of half the ACs — those become BLOCKED-BY-DEPENDENCY,
not FAIL. Ask before running, not after failing.
Both modes — read the knowledge bank (when the project has one). Run
node <this skill's dir>/scripts/check-knowledge.mjs <knowledge root> --json first: it flags stale
entries and anything that should not be there. Then read the files for the areas the run touches and
route each entry as references/knowledge-bank.md says — gotcha,
locator and data into the executor brief; known-bug into Known bugs after checking the
tracker (unreachable tracker → leave it out and say so); fresh intent only to the reviewer, as
"verify against ", never to the executor and never as a verdict; a stale intent is a
question for the user first. Entries the checker flags are not routed — propose the fix. Stale
entries go in marked "unverified since ". Fresh locator entries let you skip recon only when
they cover every AC target and navigation step — list them in the brief (the other reasons to skip
it are in references/recon.md: page objects, a single assertion, first-visit
state — and the brief always names the reason).
Ad-hoc mode: take the scenario verbatim. If it references external context ("as in ticket X", "like in design Y"), follow the same fetch-or-ask loop.
Numbered atomic, observable steps, each with a precondition (which user, which screen), an action (one interaction) and an expected result (verbatim copy from the spec when given). If the ticket already has a QA checklist, use it as the source of truth — don't re-derive.
Classify each AC before running, and write the class into the plan:
| Class | When | Becomes |
|---|---|---|
| In scope | Verifiable today with the data and account we have | PASS / FAIL |
| Blocked by dependency | Depends on backend/data that does not exist yet (sibling ticket) | BLOCKED-BY-DEPENDENCY — never FAIL |
| Blocked by account tier | Needs a plan/role we do not have | BLOCKED + say which account would unblock it |
| PO decision | The AC contradicts an epic business rule, or is silent on the case | PO-DECISION — a question, not a bug |
Coverage — sweep the axes, not just the happy path. A first pass tends to exercise one path per
AC and declare PASS; that is how layout and state bugs slip through. Before closing the plan, ask:
Frame the scope with the user when the ticket is front-end without backend. Say what stays out and why, before running.
Show the plan before executing only when: the ticket is ambiguous and you made non-trivial assumptions; the plan exceeds ~10 steps; or the test is destructive (delete, payment, sending email). Otherwise proceed — the user invoked this skill to see the run, not to re-approve it.
Dispatch the executor (Step 0) with the six-section brief. Its procedure is in
roles/test-executor.md; the templates it uses are in
references/playwright-templates.md, the read-only recon it
runs before writing the spec in references/recon.md, its evidence rules in
references/evidence-discipline.md, and the report it returns
in references/report-format.md.
When it returns, check the machine-checkable JSON block first: every PASS cites evidence, no
duplicate screenshots back different steps, every finding has a severity proposal, and every
script_revisions entry is of a kind on the canonical list in
references/recon.md (never an AC target or an expected value).
Fallbacks:
Nothing goes to the tracker without passing a reviewer. Dispatch it per Step 0 (fresh context,
never a fork). Its procedure is in roles/evidence-reviewer.md.
Its prompt carries, in writing: the ACs verbatim; the agreed scope and why; the known bugs that do
not count as findings; the knowledge bank's fresh intent entries for this area (and stale ones the
user confirmed), each as "verify against :
last_verified; what was
executed and the result item by item; the findings with their
proposed classification; and the paths to the evidence, recon output, logs and scripts, plus the
script_revisions list — the reviewer must be
able to open the screenshots and read the scripts, not just trust the report. It returns four
sections: missing scenarios, fragile conclusions, findings to promote/demote (with severity), and
sign-off.
After the review, the orchestrator decides: run a second pass on the gaps, or move to filing. Take the decision to the user when the second pass costs real time — and say whether any possible outcome of it could block the ticket. A pass that only hunts failure paths, fault injection or rare timing is informational: the ticket moves on with whatever it finds.
Every finding carries blocking or non-blocking (Low) per the
severity gate. The default is not to block, and promoting a
finding to blocking is the user's call. Before accepting any finding — the executor's or the
reviewer's — check it against product intent (same file).
Save the reviewed result to <scratch root>/reports/<slug>.json as soon as the review is in: the
executor's JSON block plus, at the top level, "reviewer_verdict": "PASS | FAIL | PARTIAL",
"accepted_steps": [ids the reviewer accepted as PASS], "confirmed_findings": [titles] and
"reviewed_at": "YYYY-MM-DD" — the reviewer's verdict is the one later skills trust. No approval needed — it is a throwaway file like the rest of the scratch
root, written whether or not anything is filed — and it is what scan-regression-candidates and
promote-to-regression read later.
Only after Step 6, and with the user's approval. All in English. Full rules in
references/filing-and-comments.md:
relates to, never blocks;
evidence attached and referenced by filename; verify everything with a GET.file-bug-ticket skill with fields already resolved and the body
already written by you, in a file.After Step 6 — whether or not anything was filed in Step 7: ad-hoc runs and clean passes also teach
something. Propose a short diff of the knowledge bank: new gotchas, locator entries only for
steps the reviewer accepted as PASS, intent entries only with a source (ticket / PO
comment), entries the run contradicted (update or remove) and entries it confirmed (bump
last_verified — for an intent, only if its source was re-opened this round). Run the checker on
a scratch copy of the proposal before showing it, and ask about it as its own question: a yes to
Step 7 or silence is not a yes to the knowledge bank. Write only what was approved; anything that
still needs changing after the write is shown again first. Rules and what never goes in:
references/knowledge-bank.md. The executor and the reviewer never
edit the knowledge bank.
If the project has no knowledge bank, record what the next session would have to rediscover in your project notes / memory instead — or offer to start one.
try/catch to turn a red
step green.file-bug-ticket
(1000, or 500 for a simple front-end bug). Count before posting; if a real reason needs more, ask.INCONCLUSIVE.storageState expired) → regenerate the auth fixture or ask the user
to refresh credentials. Behind bot protection? Confirm the userAgent/header is configured.script_revisions, re-run (references/recon.md).assets/recon.template.spec.ts (opens in a new tab)references/evidence-discipline.md (opens in a new tab)references/filing-and-comments.md (opens in a new tab)references/knowledge-bank.md (opens in a new tab)references/playwright-templates.md (opens in a new tab)references/recon.md (opens in a new tab)references/report-format.md (opens in a new tab)references/severity-gate.md (opens in a new tab)roles/evidence-reviewer.md (opens in a new tab)roles/test-executor.md (opens in a new tab)scripts/check-knowledge.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub qamarcos/claude-qa-flow --plugin qa-flow5 skills in this plugin
/create-test-plan-scenariosTurn a task/ticket into a structured, professional QA test plan — a checklist of atomic, executable scenarios — and (optionally) post it back to your issue tracker. Use whenever the user asks to "create a test plan", "list test scenarios", "criar cenários de teste", "QA checklist for TICKET-XXXX", or otherwise wants a ticket turned into a verifiable QA plan. Works for any story type (UI, API, mobile, infra). Always runs a self-review pass before writing anything back./file-bug-ticketFile a bug (or feature/chore) ticket in your issue tracker via its REST API with a terse, budgeted description, attached screenshot evidence, owner/priority/placement filled in, and a verification GET before reporting done. Use whenever the user asks to "file a bug", "open a ticket", "criar um card", "abrir um bug", "report this to the tracker", or when manual-test hands over findings to file. Tracker-agnostic (Jira, Linear, GitHub Issues, Shortcut, ...)./promote-to-regressionTurn ONE reviewed manual QA run (a throwaway Playwright script + its report and evidence) into a committed regression spec in the project's e2e suite — only if the scenario is strong enough to earn a permanent place, rewritten in the suite's own conventions, proven stable and proven able to fail, and independently reviewed before anything is committed. Use whenever the user asks to "promote this test", "promover para regressão", "turn this manual test into an automated one", "add this scenario to the suite", "automatizar esse cenário", or picks a candidate from scan-regression-candidates. Never commits or opens a merge request without the user's explicit OK./scan-regression-candidatesSweep a QA scratch root (default `_local/`, where manual-test keeps its throwaway scripts, evidence and logs) and list the few scenarios worth turning into committed regression tests — scored for value and cost, checked against the existing suite, with probes, one-offs and already-covered flows filtered out as noise. Read-only; produces a ranked backlog report and hands chosen candidates to promote-to-regression. Use whenever the user asks to "varrer a pasta local", "find regression candidates", "o que vale automatizar?", "which manual tests should become automated", "levantar testes pendentes de automação", or wants a backlog of automation from past manual runs.Other plugins' skills for the same job