/atk:run-cases <cases-path> [--env <name>] [--only <IDs>] [--dry-run] [--out <path>]from atk
Executes approved test cases against a deployed DEV or staging environment via browser or Android app. Triage cases as automatable, manual, or blocked, run in up to three rounds, and produce a run record with defects and evidence for QA lead approval.
Ships in atk. 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.
atk:run-cases)Takes the cases atk:qa wrote and runs the part of them an agent can run honestly, on a deployed
environment that is not production, through one client: the browser, or an app on an Android device
the person brings. What comes back is a run record in the shape
atk:qa already defines: the results the agent observed and nothing else, a defect for each failure,
and evidence beside it, waiting for the QA lead.
The skill exists because most of a regression pass is mechanical and some of it is not. It decides which is which before touching anything, says so, and lets the person who started the run choose what this session covers. A case it cannot observe is never given a result, and a case that would change data somebody else is using is never automated at all.
Handles: choosing the target from the test plan's environments and refusing production and the local stack, choosing the client, a browser or an app on an Android device, and checking that the app's build points at the target, logging in and reading the environment before scoring, triage of every case, the scope question, execution in at most three rounds, creating the data a case needs through the product and deleting it afterwards, the run record with its defects and evidence, and the triage report and run log behind it.
Does NOT handle: writing or updating the cases, or the test plan, which is atk:qa; recording a run a
tester executed by hand, which is atk:qa --record; raising the defects on the tracker or retesting a
fix, which are atk:qa --bug and atk:qa --retest reading this skill's record; running the local
stack, which is atk:verify, the developer's check before handing work to QA; writing permanent
end-to-end test code, web or mobile (atk:implement); booting, installing on, or erasing a device,
which the person does; fixing what it finds (atk:fix); or deciding that the build
passes, which is the QA lead's call on the record.
The boundary with atk:qa is the one worth stating plainly. atk:qa never executes a case: it plans,
writes, and records what testers did. This skill executes, and hands atk:qa a record that its
--bug and --retest modes read exactly as they read a tester's. The boundary with atk:verify is
the environment: a local target is refused here and is that skill's.
QA starts the run, answers the scope question, sets the security flag of each defect, sets its
severity or leaves it TBD for the QA lead, confirms every screenshot before the record links it, and
owns the record. The QA lead approves it, or the Tech Lead where the team has none. The environment
owner, the Provided by of the test plan's row and often the SRE, is the person a stop names and the
one who decides about data the run left behind. The obstacle of a SEMI-2 or SEMI-3 case is cleared
by a person named for it before the case enters the scope. See shared/team-roles.md.
/atk:run-cases <cases-path> # Triage, agree the scope, run, and record
/atk:run-cases <cases-path> --env <name> # Name the test plan's environment row up front
/atk:run-cases <cases-path> --only <IDs> # Offer only these case IDs at the scope question
/atk:run-cases <cases-path> --dry-run # Triage and the scope question, with no request to the environment
/atk:run-cases <cases-path> --out <path> # Override the run record's path; its evidence goes beside it
<cases-path> is a cases file atk:qa wrote, docs/qa/test-cases-<slug>.md. A team whose cases live
in a spreadsheet of its own maps it with "Mapping to a spreadsheet form" in
skills/qa/references/test-case-template.md first; this skill reads the Markdown table only.
.atk/profile.md is read for its Layers and Team sections, and for the App line of its Verify
section on a device client, and is not required: without it the
skill continues, per the Required-soft group of shared/project-profile.md, and the triage report
and the record's In short open with the sentence that group uses.
[1. Load] -> [2. Target] -> [3. Recon] -> [4. Triage] -> [5. Scope] -> [6. Run rounds] -> [7. Clean up] -> [8. Record]
Before step 1, read .atk/overrides/run-cases.md when it exists, per rule 7 of shared/team-roles.md.
Then, before anything else, create this run's trace, <docs root>/derived/traces/run-cases/<run-id>.md:
read the kit's shared/run-trace.md and do what it says before the file, at each step, and at the close.
Read the cases file, its test plan, docs/qa/test-plan-<slug>.md, and the master test plan, found
per Where the master plan is in skills/qa/references/test-plan-template.md, whose sections the feature plan may leave to it, skipping the rows
struck through as removed, per The cases to triage in references/triage.md. Note the cases file's
status and whether it has uncommitted changes, for the record's header. A file that is not
APPROVED is asked about before anything else: the person may run it all the same, and the record
says so, as skills/qa/references/test-run.md does under What the cases were.
Check which automations the harness offers, browser and device, per Browser automation and Device
automation in shared/host-capabilities.md, and record the browser automation, and the device
automation only where step 2 offers a device client. The client is chosen at step 2, and only a
client whose automation is present can run. Where neither is offered, the run carries on as a
dry run and ends after step 5, handing the agreed scope to atk:qa --record, and the session says so
now rather than after the triage.
Once step 2 has settled the client, read the newest run log of an earlier run of this cases file on
that client, per The run log in references/execution.md: offer its deferred cases as --only, so a run split over several sessions
picks up where it stopped, and name to the person any data it shows created with no record after it.
Settle the client before the target: the browser, the default, or an app on an Android device,
offering the test plan's Compatibility rows where it has them. The device client is offered only
where the profile has an App line or a Compatibility row names a native app; otherwise the browser
is settled without a question about it, and device automation alone never raises one. A device
client names the device and its kind, a real device only as Real devices in
shared/device-sessions.md allows; the target's confirmation then shows the variant read from that
device, or the person's answer. An iOS device is
refused in one line, since this version drives Android alone. Where the client the person wants has no automation in the
harness, say so here, before any triage: the run carries on as a dry run on that client, as step 1
says for none.
Choose and check the environment per references/environment-safety.md: the test plan's row, its
Kind, the person's confirmation, the refusals for production and for the local stack, the owner
by name, the reachability check, the lock threshold, where credentials may come from, and on a
device the build's backend and version. Every stop
about the target happens here, before any login; the lock and credential rules in that file apply
again at every login after it, which is why later steps reopen it. Under --dry-run the reachability
check is skipped, since a dry run sends nothing.
Ground the cases in the code and look at the environment, per Ground the cases in the code and Recon
the environment in references/triage.md. Under --dry-run there is no recon and nothing is sent to
the environment.
Score every case in the file and give it AUTO, SEMI-1, SEMI-2, SEMI-3, MANUAL, or BLOCKED,
per references/triage.md, against what recon observed. Write the triage report before the next step,
so the person answering the scope question can open it.
Ask the scope question in references/triage.md, and wait for the answer. No case runs before it, and
no case is dropped on the skill's own judgement. The answer goes into the triage report and the run
log. Under --dry-run, with no automation for the run's client, or with a budget of zero, the run
ends here: the
triage report, with the agreed scope written into it, is the output, and the session names
atk:qa --record as the way that scope gets executed by hand.
Execute the agreed scope per references/execution.md: grouped by account, a person asked at once for
a step only they can do, a refused tool call checked against the code before anyone is asked, Passed
only for what was observed, a failure re-run once from a clean state, at most three rounds. The run
log is written as the run goes.
Before the session's room runs out, stop and go to step 7 with what has been settled. Cases never
reached are deferred, not Pending.
Delete what the run created, by the identifiers the run log holds and never by pattern, keep what a
defect needs to be reproduced, sign out, and close the client session this run opened, per Clean-up
in references/execution.md. Every early stop from step 3 on runs this as far as it can, and the
record is written after it, so it can say what the run left on the environment.
Show the person every screenshot the record would link, per Evidence in references/execution.md:
a confirmed one moves beside the record, one not confirmed is deleted. Then write the run record per
The record in that file, in the shape of skills/qa/references/test-run.md, at status: IN REVIEW.
Where no case ran, no record is written. Recount the summary from Results, then offer
atk:qa --bug <record> for the defects.
| Artifact | Path | Group, per shared/artifact-paths.md |
|---|---|---|
| Run record | docs/records/test-runs/<YYMMDD-HHMM>-<ticket-or-slug>-ids.md, never written over | record, committed |
| Evidence | docs/records/test-runs/<record name>/, beside the record, <record name> being its file name without .md; held until confirmed in docs/derived/run-cases/<run-id>/evidence/ | committed with it, once confirmed |
| Triage report | docs/derived/run-cases/<run-id>/triage.md | derived |
| Run log | docs/derived/run-cases/<run-id>/run-log.md | derived |
<run-id> is <YYMMDD-HHMM>-<slug>-<handle>, the time the run started, the cases file's slug, and the
code host handle of the person who started it from the Team section of the profile, or their
initials, so two people starting the same minute on two machines never share a directory or a
marker; the next free suffix, -2, -3, covers the same person twice in one minute. --out moves the
record, and its evidence directory moves with it; a path that already exists is never written over and
takes the next free suffix, as skills/qa/references/test-run.md requires. The record
opens with the shared front matter block and its ## In short section follows
shared/plain-writing.md, as the shape it reuses already requires. Committing the record and its
evidence is atk:git's, after the QA lead has said where a record naming a security defect lives,
which holds back the evidence directory and this run's docs/derived/run-cases/<run-id>/ with it, per
The record in references/execution.md.
This skill writes nothing to the tracker. The record's ticket is the cases file's ticket, or none.
Its defects become issues only through atk:qa --bug <record>, which shows the list first, per
shared/ticket-adapters.md, and a fixed defect is confirmed through atk:qa --retest. Moving a
ticket into or out of testing is the QA lead's act, never this run's.
TBD.SEMI-2 and SEMI-3
case in scope a named person, and the triage report was written before the scope question.Passed and Failed was observed in this run against the case's own expected result;
every failure was re-run once, in its round, from a clean state; nothing unresolved was
written as Passed.Pending with a
concrete reason; deferred cases are listed in In short and are neither rows nor counted.skills/qa/references/test-run.md, status: IN REVIEW,
the host agent in Run by and Tester, the QA lead as approver, and its summary recounted
from Results.atk:verify's.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lamngockhuong/aiteamkit --plugin atk25 skills in this plugin
/breakdownBreak an epic or a design document into owned, sequenced tasks: one deliverable each, an owner, a dependency order, the parallel lanes that avoid two people editing the same file, and a definition of done per task. Use before a sprint starts, when work has to be shared across several developers, or when a piece of work needs owners and parallel lanes. Work that stays with one person is planned with `atk:plan` instead, however many days it takes. Triggers on: "break down", "breakdown", "split this epic", "task list", "WBS", "who does what", "assign tasks", "/atk:breakdown".
/catchupSummarise an epic or a pull request for someone not in the conversation that produced it: what the work is and for whom, why now, scope, what it touches and where in the code, who decides, unfamiliar terms, and where it is easy to go wrong. For an epic, also the understanding check the developer answers before coding. Use when a person joins work in flight, picks up an epic they did not write, or reviews a pull request in an unfamiliar area; what merged work now does is `atk:spec`. Also explains in plain words, finding by finding or section by section, a document a person was handed, a record the kit wrote or any other, such as a vendor's penetration test report; turning one into requirements is `atk:intake`. Triggers on: "catchup", "summarize issue", "summarize PR", "explain this document", "explain these findings simply", "/atk:catchup".
/conventionExtract, record, and enforce the coding conventions a team actually follows: branch and commit rules, naming, layering, error handling, test layout, review etiquette, and the tooling that enforces each rule. Also drafts the collaboration files the project lacks, `CONTRIBUTING.md`, the pull request template, and `CODEOWNERS`, writing only the ones the team picks. Use when a team has no written convention, when the written one no longer matches the code, or when reviews keep repeating the same comment. Triggers on: "convention", "coding standard", "coding rule", "style guide", "branch strategy", "commit convention", "our team rules", "CONTRIBUTING.md", "CODEOWNERS", "contribution guide", "set up a pull request template", "standards per language", "coding standard for each technology", "/atk:convention".
/design-docWrite the technical design document a team reviews before coding, plus its ADR: current state, options with trade-offs, chosen approach, data and API changes, migration, rollback, risks, open questions, and who signs off. Use before code that touches a schema, a public contract, a shared module, or several services. `--spike` first investigates, time-boxed, a question the design cannot choose without; `--challenge` puts one agent per signing role on the draft; `--answer` records answers to its open questions. Triggers on: "design doc", "technical design", "tech design", "ADR", "architecture decision", "detail design", "how should we build this", "technical spike", "spike this", "pressure-test this design", "finish the draft design", "record the design answers", "/atk:design-doc".
/estimateEstimate how many points and how many hours a task, a feature, or a screen takes: size each item with a stated basis, mark the confidence, and add the risk buffer as a visible line, so the numbers can be argued with in planning. Use for story points, hour or man-day estimates, and re-estimation after scope change. Triggers on: "estimate", "estimation", "story point", "man-day", "how long will this take", "/atk:estimate".
/fixFix a defect the way a team reviewer will accept: capture the failure verbatim, prove the cause before changing a line, check that the current behaviour is not a decision somebody made on purpose, make the smallest change that removes the cause, verify it by layer, stop after three ruled-out hypotheses with a named person rather than guessing, call the team review on its own change and fix what it blocks on, and write the report that shows what was checked and what was not. Use for a bug report, a test or CI check that passed before and now fails for no clear reason, a broken endpoint or screen, or an investigation that has to end in an explanation rather than a guess; with --findings, to go through an atk:review's findings with their author, answer each, and fix the chosen ones on the pull request's branch. Triggers on: "fix bug", "debug", "bug", "this test started failing", "why is this test failing", "flaky test", "go through the review findings", "/atk:fix".
Other plugins' skills for the same job