/atk:qa [requirement-path|feature|release|cases-path|run-path|issue] [--master|--plan|--cases|--regression|--update|--record|--bug|--retest|--review] [--lang <code>] [--out <path>]from atk
Generates test plans, test cases traced to acceptance criteria, regression matrices, and QA handoffs. Records test runs, raises failures as bugs, and retests fixes.
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:qa)Produces test artifacts a QA engineer can execute without asking the developer what the feature was supposed to do. Every case traces back to an acceptance criterion, so untested criteria and untraced cases both become visible.
Handles: writing the project's master test plan and each feature's test plan, deriving test cases from acceptance criteria, adding negative and boundary cases, building the regression matrix from change impact, listing test data and environment needs, defining the QA entry and exit criteria, and afterwards recording what the team's own test execution found: the run record, its defects raised on the tracker, and the retest of a fixed bug.
Does NOT handle: writing automated test code, which belongs to atk:implement; running the
suite or executing the cases, which the testers do, or atk:run-cases where an agent executes them
on a deployed environment and writes a run record this skill's --bug and --retest read like any
other; deciding a result on the tester's behalf; or signing off a release (atk:release).
QA owns the plans and the cases, the QA lead the master test plan. BrSE/BA confirms cases match the
requirement intent. Dev owns the handoff and the test data. PM owns the exit criteria and the defect
severity scale, and the Tech Lead the environments. The QA who ran the cases owns the run record
and its results, the QA lead approves it, or the Tech Lead where there is none. Under --review the
reviewer is the BrSE/BA or the QA lead, never the owner of the cases file. See
shared/team-roles.md.
/atk:qa <requirement-path> # Test plan plus cases from a requirement artifact
/atk:qa --master # Master test plan for the project, written once and kept current
/atk:qa --plan <feature> # Test plan only
/atk:qa --cases <feature> # Test cases only
/atk:qa --regression <release> # Regression matrix for a release scope
/atk:qa --update <cases-path> # Bring existing cases level with a changed source
/atk:qa --record <cases-path> # Record the results of a test run the team executed
/atk:qa --bug <run-path> # Raise the defects of a run record on the tracker
/atk:qa --retest <issue> # Record a retest of a fixed bug and offer the verdict
/atk:qa --retest <run-path>#D<n> # The same, for a defect never raised on a tracker
/atk:qa --review <cases-path> # A second person reviews a cases file somebody else wrote
/atk:qa --lang vi # Write the artifacts in Vietnamese
/atk:qa --out <path> # Override the default output path
[1. Read criteria] -> [2. Derive cases] -> [3. Negative and boundary] -> [4. Regression] -> [5. Entry and exit]
Before step 1, read .atk/overrides/qa.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/qa/<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.
Where the cases file for the slug already exists, the five steps never write it from nothing: the run
is --update, and the session says so. Written again from step 2, every ID would be numbered afresh,
an approved file would change without a question, and a person's edits would be lost, while run
records and bugs already point at those IDs. The test plan beside it is updated in place like any
reference document.
--master replaces the five steps with Writing it in references/test-plan-template.md: the
project's test levels, test types, environments, compatibility, default exit criteria and defect
severity, decided once and read by every feature plan, so no feature asks the PM again.
--update replaces the five steps with references/update-mode.md: it compares each source with what
the cases file's Sources table recorded at the last run, and adds, rewrites, or strikes rows
accordingly, keeping every ID, rather than writing the file again. --record, --bug and --retest replace them
with references/test-run.md: recording what the team's own execution found, raising its defects,
and confirming a fix. --review replaces them with references/review-mode.md, which reads a cases
file against its sources and reports findings without editing it. The override is read either way.
Load the requirement and design, and the reference documents for the area: the ones the design
names, and those under docs/api/, docs/database/, docs/features/ and docs/screens/ for what
the change touches, resolved per shared/artifact-paths.md, conventions.md in the api directory among them
where it exists. List every
acceptance criterion with an ID. A criterion that cannot be turned into a test is reported back as a
requirement defect, not quietly skipped.
Each source answers a different question, per shared/spec-docs.md. The design gives what a
reference document never carries: migration, rollback, backward compatibility, rollout, and the
performance expectation. Expected values, fields, status codes, error codes, limits, constraints,
come from where the agreed contract is, which the Contract line in the Docs section of
.atk/profile.md decides. Under first, the reference document is the contract, so it wins over
the design, and a disagreement between the two becomes an open question for the reference
document's approver: the Tech Lead for api and db, the BrSE/BA for feature. Under code, or
with no line, a reference document still describes the code before the change, so it gives the
expected values for what the change leaves alone, the regression cases, and the design gives them
for what the change alters. Two reference documents that disagree with each other, an API limit of
100 against a screen spec's 50, are settled by neither: the case carries [ASSUMPTION] on that value,
and the question goes to both documents' approvers, naming both.
One case per criterion at minimum, written as a row of references/test-case-template.md, which
holds the columns, the three sections ACCESSING, GUI and FUNCTION, the testcase types, and the ID
that is never reused. A team that already has a template keeps it, per that file. Every expected
result names its source in the Source column, and states an observable outcome, not "works as
expected".
The file's Sources table records what each source was when it was read, which --update later
compares against, under a Last run line naming the mode, atk:qa, atk:qa --cases, or
atk:qa --update.
GUI cases take their labels, placeholders, and the text of dialogs and buttons from the screen spec
under docs/screens/, citing the component number. Text from a spec that is not APPROVED, or from a
row whose qa cell holds an open question or whose value is marked Proposed:, carries
[ASSUMPTION] on the value the question is about, not on the whole row, and points at that question
rather than opening a second one. Where the screen has no
spec, read the design per shared/design-sources.md and cite the node. Where there is neither, the
GUI cases carry [ASSUMPTION] and the cases file says its GUI coverage is reduced.
Walk each criterion through the ten dimensions in references/case-dimensions.md: actor, input,
quantity, state, timing, failure, environment, data, integration, and rules. The techniques in that
file, equivalence partitioning, boundary values, decision tables, state transitions, and pairwise,
decide how many cases each dimension produces. A dimension that gives no case is skipped with the
assumption that makes it irrelevant, written in the Skipped table of the cases file, so a reader can
tell a dimension that was asked from one nobody thought of.
Then open the lines of references/checklists.tsv for the components the screen or flow has, per
references/checklists.md, which also says when a checklist the override names takes their place.
Each viewpoint that applies gives its cases, cited by the viewpoint ID in Source; one that does not
is skipped, with the reason in the same Skipped table. Then cover the concerns that span the feature:
permissions by role, i18n and locale, timezone, and accessibility where the project requires it.
Derive impact from the diff or the design, not from intuition. The migration, rollback, compatibility,
rollout and performance cases the design calls for go here beside the regression rows, one case
each, with the design's performance expectation as the expected result of its case. List the existing features that share
a module, a table, or an endpoint with the change, and mark each MUST TEST, SPOT CHECK, or
NOT AFFECTED, with the reason. The matrix is the Regression section of the test plan, per
references/test-plan-template.md; under --regression for a release scope it is the same section
in the release's plan. --update and --retest read it there.
The test plan takes the feature shape of references/test-plan-template.md. Test levels, test
types, environments, compatibility, defect severity and the default exit criteria live in the master
test plan, and the feature plan holds only where it differs, per Differences from the master plan
there. With no master test plan, per Where the master plan is in that file, the session offers
--master first, and a plan written without one carries those sections itself, per Without a master
plan in the same file.
Entry: only what this feature adds to the master plan's Entry, what the developer must deliver
before QA starts: its build, seed data, the accounts by role beyond the master plan's, and the list
of what is not implemented yet. Where a reference document carries implemented, per
shared/spec-docs.md, that list starts from its value and its marks rather than from memory. Exit:
As in the master plan, unless the PM set a figure of the feature's own, written with their name.
A plan written without a master plan writes both out whole, per Without a master plan.
The master test plan at docs/qa/master-test-plan.md; where the override names one outside the
repository, no file: the proposed changes, shown in the session as open questions, per Writing it in
references/test-plan-template.md. A feature's test plan at
docs/qa/test-plan-<slug>.md, and cases at docs/qa/test-cases-<slug>.md per
shared/artifact-paths.md. The Markdown table is the source. A CSV beside it,
docs/qa/test-cases-<slug>.csv, is written by the export rules in references/test-case-template.md
when the person asks for one, when the override asks for one, or when one already exists; an existing
CSV is regenerated in the same run that changes the Markdown, and never edited by hand. A run or a
retest writes a new record at docs/records/test-runs/<YYMMDD-HHMM>-<ticket-or-slug>-<scope>.md, never
over an existing one, whose content is never edited once committed apart from the three changes
references/test-run.md allows: its status, the Ticket cells --bug sets, and a recorded
redaction. A review writes only
its report, at docs/derived/reviews/qa-cases-<slug>-<date>.md.
Putting it where the team can see it is atk:git, which follows the artifact section of
shared/finalize-steps.md: the branch, the commit, and the judgement about whether this one belongs
in a pull request for its approver to read. Whether it is committed at all is the persistence group
it falls into, per shared/artifact-paths.md.
Follow shared/ticket-adapters.md. Bugs found during execution become issues through --bug, one
per defect the person picks from the list shown first, each carrying the case ID, the criterion ID,
and the path of the run record. A retest verdict is offered as a comment on its issue, shown first and
posted on a yes, per the consent line in shared/finalize-steps.md. Neither closes an issue: the QA
who raised the bug closes it, or whoever the team's own flow names. The whole procedure is references/test-run.md.
--master, every value came from a feature plan, a requirement, the profile's Team
section, a strategy the person named, or the person; two sources that disagree left an open
question for the value's owner.[ASSUMPTION] has an open question naming who answers it.--update, no ID changed or was reused, every rewritten case has empty execution cells,
an approved file had its existing rows changed only through an answered question, and the run
summary lists every row the diff touches.--record, --bug and --retest, the definition of done in references/test-run.md holds.--review, the definition of done in references/review-mode.md holds.evals/trigger_evals.json (opens in a new tab)references/case-dimensions.md (opens in a new tab)references/checklists.md (opens in a new tab)references/checklists.tsv (opens in a new tab)references/review-mode.md (opens in a new tab)references/test-case-template.md (opens in a new tab)references/test-plan-template.md (opens in a new tab)references/test-run.md (opens in a new tab)references/update-mode.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
test-planning, test-cases, regression-testing, bug-tracking, qa-workflow
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