Logo: Test Automation

Test Automation

Organisatioun
upex-galaxy
test-automation

Plan, write, and review automated tests following KATA (Komponent Action Test Architecture) on Playwright + TypeScript, or explain existing automated tests in a sealed read-only mode. Use when writing E2E or API/integration tests, creating Page or Api components, designing ATCs, parameterizing test data, registering fixtures, reviewing test code for KATA compliance, or requesting break-down-tests / a plain-English test breakdown. The explain mode reads source and renders an HTML breakdown of assertions without entering Plan-Code-Review or editing tests. Do NOT use for running suites (regression-testing), documenting TCs in Jira/Xray (test-documentation), onboarding a repo (project-discovery), or orchestrating sprint-wide testing (sprint-testing).

Iwwersiicht

Editeurupex-galaxy
Repositoryagentic-qa-boilerplate
Skill-Nummtest-automation
Stären
26
Forks
13
Matgeliwwert Dateien
14
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 14 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    upex-galaxy huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Test Automation an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/test-automation
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/upex-galaxy/agentic-qa-boilerplate.git /tmp/agentic-qa-boilerplate
mkdir -p .claude/skills
cp -r /tmp/agentic-qa-boilerplate/.agents/skills/test-automation .claude/skills/test-automation
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Test Automation an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Test Automation automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Test Automation net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Forbidden invocations

NEVER invoke /sdd-* skills from this workflow. SDD is an optional user-installed ceremony; this skill ships self-contained and does not chain SDD under any condition. If you need to refactor KATA, fixtures, cli/, scripts/, or api/schemas/ pipeline, exit this skill first and invoke /framework-development — which itself runs Plan → Code → Verify → Archive natively (no SDD required).

This boundary is mechanical, not advisory: scripts/lint-skills.ts rejects any /sdd- mention outside this section. See: .agents/skills/agentic-qa-core/references/skill-composition-strategy.md §4 (governs users who manually install SDD).

Test Automation — Plan, Code, Review

Produce KATA-compliant automated tests for an existing Playwright + TypeScript project. Three phases, always in this order: Plan → Code → Review. Never jump straight to code.

KATA (Komponent Action Test Architecture) rewires the usual Page Object pattern. If you write tests the "standard" way, most will be rejected at review. Load the relevant reference before writing code in that area.


Dependencies

Requires agentic-qa-core. Loads on demand:

  • agentic-qa-core/references/test-design-doctrine.md — MANDATORY before planning which ATCs to write from acceptance criteria. Governs the 1:N ATC derivation, the formal-technique triggers (incl. BVA, which KATA's EP-merge rule does NOT replace), and the floor-not-ceiling coverage model.
  • agentic-qa-core/references/briefing-template.md, agentic-qa-core/references/dispatch-patterns.md, agentic-qa-core/references/orchestration-doctrine.md, agentic-qa-core/references/session-management.md, agentic-qa-core/references/preflight-gate.md, agentic-qa-core/references/adr-doctrine.md — cited inline by the sections that use them.

Compact Rules

Test-design doctrine (binding — full canon: agentic-qa-core/references/test-design-doctrine.md):

  • "All ACs covered" is the FLOOR, not the success bar. The ATC set must also cover risk-beyond-AC: invalid/boundary inputs, auth/error paths, state transitions, and anomalies the AC is silent on.
  • 1:N is the default: one AC maps to multiple ATCs. EP-merge collapses same-behavior inputs INSIDE one partition into a parameterized ATC — it must NEVER collapse across distinct partitions, boundaries, or states. BVA cases are required wherever a range/limit/length/date-window exists (EP alone misses off-by-one).
  • Apply techniques by trigger: EP always; BVA on ranges/limits; State-Transition for stateful flows; Decision Table when 2+ conditions interact; Pairwise when 3+ combinable factors (log the reduction).
  • Parametrize for artifact economy: same-behavior data variants → ONE parameterized @atc (fixture / data-factory rows iterated by the test) per partition, NOT N ATCs; split only when action / outcome / state differs. (Canon: doctrine §"Part 2.5".)
  • An AC is the business assertion; an ATC is its concrete exploration (Precondition + Action + Assertions). Run the Test-Design Checklist before finalizing the plan.

Test-automation operational rules:

  • Plan → Code → Review, always in order, behind the TC source gate (also first on every resume): in scope = the Tests at candidate whose Verdict signed: ROI comment has Jira created AND updated older than this run's start; Manual and recorded-Deferred Tests are listed out of scope. STOP and route to /test-documentation only on a named TC that is not a signed Candidate, a Test with no verdict, or zero signed Candidates; never sign or wait inside the run. This skill never creates a Test, scores ROI or fires a verdict transition. Signed ROI is a hard gate, never collapsed.
  • A TC reaches automated (labels +automated -automation-candidate) only when its code is on the production branch (git_strategy.branches.production); a merge into an integration branch or a suite trunk is not automated. Canon: agentic-qa-core/references/discovery-driven-doctrine.md §6.
  • Fixture selection: API-only → { api } (no browser); UI-only → { ui }; hybrid → { test }.
  • ATC = atomic mini-flow; NEVER calls another ATC. Reusable chains → a Steps module.
  • Max 2 positional params (3+ → object param). Locators inline (extract only at 2+ uses). Imports via aliases (@api/, @schemas/, @utils/) — no relative imports.
  • Public methods fail fast; utilities silent-fail (return null). Validate against kata-manifest.json before adding components/ATCs (anti-duplication gate).
  • Mode from $ARGUMENTS: a first token matching a mode in Mode routing (explain, automate) IS the mode and the rest is forwarded; otherwise automate for plain automation work, ASK when it could be either.
  • Before any step that uses a declared MCP capability (metadata.requires_capabilities: db, api-schema), run the point-of-use check in agentic-qa-core/references/preflight-gate.md §8: resolve by tool-name suffix, and when no available tool provides it STOP and name the capability + how to enable it, never a silent fallback.

Read full SKILL.md when: writing KATA component code, choosing fixtures for a hybrid flow, or applying the Phase 3 review checklist.


Mode routing

Resolve mode before any readiness preflight or session workflow. When the first token of $ARGUMENTS matches a mode below, that token IS the mode and the rest is forwarded to it unchanged (/test-automation explain tests/e2e/login.spec.ts). Otherwise the rules below apply: the default mode for plain automation work, ASK when the request is ambiguous.

  • explain: selected by a first token explain, by the break-down-tests trigger phrase, or by an explicit request to explain existing automated tests. Forward the remaining $ARGUMENTS unchanged, load only references/explain-tests.md, produce its HTML breakdown, then stop. Its ONLY writes are the two report files .context/reports/test-breakdown/<scope>.json and <scope>.html (gitignored, rendered by bun run tests:explain:render). Do not create session state, run Plan -> Code -> Review, edit tests or product code, regenerate kata-manifest.json, or call Jira/TMS.
  • automate (default): all normal KATA planning, coding, and review triggers. Continue with the workflow below.

If the invocation could mean either explanation or implementation, ask which outcome is wanted. Never infer implementation from a read-only explanation request.


Subagent Dispatch Strategy

Orchestration & Session contracts: this skill follows agentic-qa-core/references/orchestration-doctrine.md (mandatory subagent dispatch — main thread is command center) AND agentic-qa-core/references/session-management.md (Phase 0 resume check, plan-first persistence at .session/<skill-slug>/<scope>/, archive on completion). Phase 0 (resume check) and Phase 1 (plan write) are NOT optional. The orchestrator also applies the per-stage Definition-of-Done gates in agentic-qa-core/references/stage-gates.md: verify a stage's DoD (planning stages include the Test-Design Checklist) BEFORE recording its progress checkpoint and advancing.

This skill is per-scope: <scope> = <JIRA-KEY> (ticket-driven / bug-driven / discovery-driven per gap) or <module-slug> (module-driven, discovery-driven per module). Scope names: agentic-qa-core/references/discovery-driven-doctrine.md §2. Session state lives at .session/test-automation/<scope>/{plan.md, progress.md} per agentic-qa-core/references/session-management.md §3 + §9. The session plan.md is a thin INDEX that cites the canonical domain artifacts (spec.md, automation-plan.md, atc/*.md) under the Epic's test-specs/ tree (.context/PBI/epics/EPIC-<KEY>-<slug>/test-specs/<scope>/) — domain content stays in the existing PBI tree, not duplicated.

This skill is compliant with the doctrine in AGENTS.md §3 "Orchestration Mode" and the session contract in .agents/skills/agentic-qa-core/references/session-management.md. Every dispatch follows the 7-component briefing format defined in .agents/skills/agentic-qa-core/references/briefing-template.md, and the pattern selected per phase matches the decision guide in .agents/skills/agentic-qa-core/references/dispatch-patterns.md. The Plan, Code, and Review phases each carry distinct context-isolation needs — Plan keeps KATA architectural reads out of the orchestrator, Code isolates multi-file edits, Review fans out three independent verifiers in parallel.

StagePatternSubagent role
Plan (spec.md + automation-plan.md)Singleone Plan subagent returns the two artifacts; protects orchestrator from KATA architectural reads
Code (writing E2E or API tests)Sequentialone Code subagent per scope (module = 1 subagent per TC; ticket = 1 subagent total); edits-many-files inside isolates context
Review — bun run testParallel (sub-stage)one Verifier subagent runs the test suite
Review — bun run types:checkParallel (sub-stage)one Verifier subagent runs typecheck
Review — bun run lint:checkParallel (sub-stage)one Verifier subagent runs lint
Review aggregation + merge/reject decisionSingleinline — orchestrator reads the 3 Verifier reports and decides
  • Code phase scope rule: each Code subagent edits multiple files in isolation, returns a list of changed files + a one-line summary per file. The orchestrator never reads the diffs — only the summary. If the user wants to see actual diffs, the orchestrator runs git diff inline after the subagent returns.
  • On any Verifier failure: STOP, return the failing report verbatim to the user, do NOT auto-fix the test code, do NOT re-dispatch the Code phase without user approval. See .agents/skills/agentic-qa-core/references/orchestration-doctrine.md. A skill that itself broke (a wrong step, a missing verifier, a stale rule) is reported upstream per ../agentic-qa-core/references/upstream-feedback.md: drafted and redacted locally, filed only on explicit OK, verified with gh issue view.
  • MANDATORY context doc for Plan + Code briefings: include kata-manifest.json (root) in the "Context docs" component (item 2 of the 7-component briefing). Without it the subagent will scan tests/components/** directly, burn tokens, and risk proposing duplicates. See Critical Rule #12 in AGENTS.md.

Inputs — read these first, in this order

Canonical reading order for any AI starting cold on a test-automation workflow. Read in order; stop earlier when later inputs add no signal for the scope at hand.

  1. kata-manifest.json (root) — authoritative registry of every Component (api[], ui[]) and every @atc('TICKET-ID') ID. Anti-duplication gate per Critical Rule #12 in AGENTS.md. MUST load before proposing any new Page, Api, Steps module, or @atc ID.

  2. .agents/skills/test-automation/references/kata-architecture.md + .agents/skills/test-automation/references/typescript-patterns.md — full doctrine for KATA layers (TestContext / Base / Domain / Fixture), ATC identity, fixture selection, import-alias rules, params contracts.

  3. tests/components/ — existing Api / Page / Steps shape on disk. Establishes naming, helper-vs-ATC split, fixture registration patterns to follow.

  4. The Story's implementation-plan.md (dev plan) + the ATP under .context/PBI/epics/EPIC-<KEY>-<slug>/stories/STORY-<KEY>-<slug>/ — Jira-synced, READ-ONLY caches. Jira is source of truth; NEVER hand-write these. Materialize via bun run jira:sync-issues get <STORY-KEY> --include-comments, then read the ENTIRE synced Story folder — every per-field .md (story.md, acceptance-criteria.md, scope, business rules, etc.) plus comments.md — not just one field. Omitting ACs, scope, business rules, or comment context produces incomplete ATCs. The ATP read is modality-aware (resolve via .agents/project.yaml testing.tms_cli, same gate as /test-documentation §Phase 0):

    • Modality jira-native: ATP = Story field {{jira.acceptance_test_plan}} → synced acceptance-test-plan.md in the Story folder (from the same jira:sync-issues get <STORY-KEY> --include-comments).
    • Modality jira-xray: ATP = Test Plan issue description → bun run jira:sync-issues get <ATP_KEY> → test-plans/ATP-<KEY>-<slug>.md; per-TC run results come from [TMS_TOOL] (xray-cli), not the sync. Filename note: the acronym prefix comes from a conforming ladder title; a Plan or Execution whose title does not follow the grammar keeps the legacy TESTPLAN- / TESTEXEC- / RETESTEXEC- prefix.

    The dev implementation-plan.md carries the implementation approach + (when produced by /test-documentation) the per-TC candidate verdict and component mapping. Cite from the session plan.md rather than duplicating. NOTE: this is the Story-folder dev implementation-plan.md — do NOT confuse it with the hand-authored automation plan (test-specs/<scope>/automation-plan.md) you write in Phase 1.

  5. The Story's AC (acceptance criteria) — source of truth for scenarios that become ATCs. Read from the same synced .md files (acceptance-criteria.md / story.md) produced by bun run jira:sync-issues get <STORY-KEY> --include-comments. NEVER use [ISSUE_TRACKER_TOOL] view for these custom fields — view returns null for customfield_*. If a field is absent from the instance, the sync emits a pointer stub and the content lives in comments/description per .agents/jira-required.yaml fallback:. Resolve the issue key from the scope picker. TC note: a TC body = the Test issue description (synced both modalities via bun run jira:sync-issues get <TEST-KEY>); the Xray Gherkin / Test-Steps plugin field is NOT synced — it mirrors the description, so read the synced TC .md for Gherkin/steps.

  6. api/schemas/ — OpenAPI-derived TypeScript types. Refresh via bun run api:sync if stale. Required for any Api component touching a new endpoint.

  7. .env — credentials (LOCAL_USER_EMAIL, STAGING_USER_PASSWORD, etc.) read via config.testUser from @variables. Never hardcode; never guess.

  8. agentic-qa-core/references/artifact-lifecycle.md — the TC status ladder this skill owns (candidate → in_automation → pull_request → automated), the unmapped-status fallback (§4), and the light stage verifier that closes Review (§5). Read BEFORE firing any transition.


Readiness Preflight Gate (MANDATORY — runs before Phase 0)

Full doctrine: agentic-qa-core/references/preflight-gate.md. Runs FIRST, before the resume check and scope picker. Two laws: (1) args-as-answers — the scope, ticket key, and "API test" vs "E2E test" are provided args; ask only the gaps. (2) probe, don't assume. Surface gaps + REDs as ONE AskUserQuestion checklist; self-fix with approval + explanation; STOP on any blocking RED. Note: this is distinct from the anti-duplication "Pre-flight checklist" inside Phase 1 (which cross-checks kata-manifest.json for reuse) — this gate is about tools + env being ready to write and run code. Generic baseline (env resolution, test-user creds, secret/restart handling, the two laws, output contract) is inherited from the reference §3.1 — not repeated here. Below is only this skill's specific capability delta.

CapabilityNeedWhy here
Framework adapted (artifacts present)REQUIREDCannot write project ATCs against the generic Example* scaffolds the boilerplate ships. Probe the reference §4 ADAPTED signals; still generic → STOP and tell the user to run /project-discovery → /test-framework-adaptation themselves. The gate NEVER auto-runs them.
Dev toolchainREQUIREDThe Review gate runs bun run test / bun run types:check / bun run lint:check. Resolve them at t=0, not at Phase 3. bun install if a dep is missing.
kata-manifest.json cleanREQUIREDAnti-duplication source of truth (Critical Rule #12). bun run kata:manifest:check clean before proposing components/ATCs; bun run kata:manifest if stale.
Active env + test-user credsREQUIREDAuthored tests run live against <<ACTIVE_ENV>>. Env reachable + .env creds for the env (per role if multi-role).
Playwright browsersREQUIREDbunx playwright resolves + chromium installed (bun run pw:install).
OpenAPI MCP (schema read-only) + api/schemas/ syncedSCOPE — API/integration tests; needed at Phase 1 Plan tooPhase 1 explores endpoints (via the openapi MCP, schema-read-only) to design ATCs + classify test-data — plan-time, not just run-time. Api components consume OpenAPI-derived types (api/schemas/; refresh bun run api:sync); authenticated test-code calls use the Playwright API fixture (.auth/api-state.json from bun run api:login) — no token / MCP injection, no restart.
DBHub MCPSCOPE — data setup/validation; needed at Phase 1 Plan tooPhase 1 explores the schema (via the dbhub MCP) to design data fixtures (Discover / Modify / Generate) — plan-time, not just run-time. dbhub answers a schema probe; DBHUB_* in .env. Unset → fill .env + RESTART.
Business context map per touched levelREQUIRED — per level in scope, needed at Phase 1 PlanE2E/UI → business-e2e-context, API → business-api-context, DB/data setup → business-data-context: the skill exists AND bun run context:map <slug> --list prints sections, not the placeholder notice. RED → STOP and hand the user project-context mode e2e / api / data; a missing skill → bun sync.
Issue-tracker ([ISSUE_TRACKER_TOOL])SCOPE — ticket/bug/discovery-drivenATP + AC reads via bun run jira:sync-issues; TMS modality for the ATP source. Pure module-driven from an existing spec may not need it.

Surfaces (UI vs API vs both) follow the chosen planning scope + the ATCs Phase 1 designs — NEVER a user question (reference §5). After the gate clears (generic baseline + the surface tools the scope needs GREEN), continue to Phase 0 below.


Phase 0 — Resume check (MANDATORY, inline)

Before picking the planning scope, run the session resume contract from agentic-qa-core/references/session-management.md §4:

  1. Determine the prospective <scope> from the invocation context (ticket key, bug-driven TC, or module slug — see "Pick the planning scope first" below).
  2. Check .session/test-automation/<scope>/progress.md.
  3. If it does NOT exist → proceed to scope picker + Phase 1.
  4. If it DOES exist:
    • Read plan.md (thin index) + the tail of progress.md.
    • Read the cited canonical spec.md / automation-plan.md / atc/*.md under .context/PBI/epics/EPIC-<KEY>-<slug>/test-specs/<scope>/ for the domain content.
    • Surface to the user: last completed phase (Plan / Code / Review) + next phase + open Review findings if any.
    • Offer resume / restart / abort. On restart, archive to .session/.archive/<YYYY-MM-DD>-test-automation-<scope>-aborted/ before proceeding.
    • On resume, run the TC source gate (below) FIRST, before the phase it resumes: a plan written before the gate existed may list unsigned TCs.

Phase 0 is inline (no subagent).


Pick the planning scope first

Every automation session starts by choosing its planning scope. Pick once, then follow the Plan → Code → Review pipeline. The scope names the ORIGIN; Macro / Medium / Micro only size the work package (canonical: agentic-qa-core/references/discovery-driven-doctrine.md §2).

ScopeInputOutputUse when
Module-driven (Macro)A module name + list of candidate TCsOne module spec + N ATC specsBatch-automating an entire module (10+ tests). First pass on a new area.
Ticket-driven (Medium)A single ticket/story ID with scenariosOne implementation plan for that ticketAutomating one user story end-to-end. Default for sprint work.
Bug-driven (Micro)One specific TC (often after a bug fix)One ATC implementation planAdding a single regression test after a fix. Smallest unit of work. Legacy name: Regression-driven.
Discovery-driven (Macro per module; Medium or Micro per gap)The signed Candidate TCs of a coverage Tech Story (no Story behind them)Same outputs as the matching size aboveCovering behaviour already in production that no Story specified. Its TCs passed the oracle rule and the ROI upstream; a bare gap is not an input.

When in doubt, ask the user which scope. Never assume "module" just because multiple TC IDs appear in the briefing.

These scopes consume the Candidate verdicts from /test-documentation (Stage 4) — only Candidate TCs reach automation; Manual / Deferred are terminal. Both skills use the same scope names: module-driven (Macro), ticket-driven (Medium), bug-driven (Micro), discovery-driven (sized by its gap). Candidates from an ad-hoc / exploratory documentation session enter under whichever fits — a module batch, or a Micro package for a single TC.


TC source gate (Phase 0 by TC source, MANDATORY before Plan)

Runs after the scope is picked and before the first planning read, and again FIRST on every resume, whatever phase the resume lands on. The TCs come from the TMS, never from this skill. Before reading Jira, append ## Phase 0 — TC source gate — <ts> to .session/test-automation/<scope>/progress.md: that timestamp is this run's start.

ScopeTests looked at
ticket-driventhe Story's Tests (its ATS: Test Set membership, or its direct TC→Story links where no ATS can exist)
bug-driventhe Test linked to the bug (tests / is tested by)
module-driventhe module's Tests at {{jira.status.test_case.candidate}} (JQL by component + status)
discovery-driventhe Tests of the coverage Tech Story's ATS: Test Set

In scope = the Tests at {{jira.status.test_case.candidate}} (or in_automation / pull_request on a resume) whose ROI comment carries a Verdict signed: line (format and the sign-only pass: test-documentation/references/tms-conventions.md §9) and whose Jira created AND updated timestamps both predate this run's start. Read status and comments this run through [ISSUE_TRACKER_TOOL]: the work item view of the comment field returns each comment's id, created and updated (the comment-list output does not), and the sync never writes a Test (test_case declares sync: never). A signature written or edited during this run keeps the gate closed; a local file, a plan, a label or a value this session wrote is not evidence (fail-closed, agentic-qa-core/references/orchestration-doctrine.md). While the agent works on the person's own tracker token this is the strongest evidence available; a code check is the follow-up (agentic-qa-core/references/discovery-driven-doctrine.md §8).

Out of scope, listed in the plan, never a stop: Tests at {{jira.status.test_case.manual}}; Tests at {{jira.status.test_case.ready}} with a recorded Deferred verdict (their ROI comment, or the mirrored Deferred list on the coverable); Candidates without a valid signature, listed for the sign-only pass. STOP and report, routing the scope (Story key, coverage Tech Story key, or gap ids) to /test-documentation, only when a TC the request names is not a signed Candidate, a Test in the list has no verdict at all (no ROI record: undocumented or still in design), or the scope yields zero signed Candidates. This skill never runs the sign-only pass, and never waits for it, inside the run it gates: a later run re-reads Jira. Signed ROI is a hard gate with no collapse path (agentic-qa-core/references/stage-gates.md §Automation).

Batch mode (fleet) — optional second executor

A batch (module-driven, or several ticket-driven scopes queued together) runs sequentially in one session by default: one Work Package at a time, Plan → Code → Review each. That is this skill's behaviour and it does not change.

A batch fleet — several persistent sessions working different Work Packages at once, coordinated by a conductor — is opt-in. Enter it only when the user asks for it, or when the batch holds 3+ Work Packages that touch disjoint modules. Everything below is a scoping rule; the launch and lifecycle transport lives in orca-orchestration/SKILL.md ([ORCHESTRATION_TOOL]), never here.

  • Work Package (WP) = one delivery unit = one test-specs/<ID>/ spec (spec.md + automation-plan.md + atc/*.md under the Epic's test-specs/ tree). Sprint origin: the Candidate TCs of one Story. Discovery origin: the signed Candidates of a coverage Tech Story. The conductor runs the TC source gate before partitioning. A batch is a list of WPs, never a list of files.
  • Partition by module, not by ticket. One worker owns every WP that touches a module's components; WPs sharing a module run sequentially inside that worker. NEVER two workers on the same module — same-module WPs share Pages / Apis / fixtures and collide in the files with the least merge tolerance.
  • One worktree per worker. This skill writes code, and two sessions in one checkout contend on the git index even when their files are disjoint. Branch + PR per git_strategy (sdet = one trunk, see .agents/skills/git-flow-master/references/sdet-integration-trunk.md).
  • The conductor regenerates kata-manifest.json per integration (bun run kata:manifest). It is generated output — never hand-merged, never resolved as a text conflict.
  • The batch runs with or without an orchestration binary. The conductor always writes the launch file (one self-contained line per worker); with the binary those exact lines are launched for it, without it the human pastes them. Same payload either way, and nothing about the absence is reported to the user.

Full protocol — partition algorithm, collision table, conductor-only operations, integration order, per-worker brief: references/batch-fleet.md.


Workflow — Plan → Code → Review

Phase 1: Plan         -> Phase 2: Code             -> Phase 3: Review
(spec / plan)            (component + test file)      (KATA compliance)
        |                         |                             |
  .context/PBI/epics/        tests/components/**         Review checklist
    EPIC-<KEY>-<slug>/       tests/e2e/** or                (pass/fail)
    test-specs/<scope>/      tests/integration/**
    spec.md
    automation-plan.md
    atc/*.md                 Register in fixture

Each phase has a gate. Do not start Code before the Plan is written and approved. Do not close out a ticket until Review passes.

Phase 1 — Plan

MUST-load before any planning: kata-manifest.json (root). It lists every Component and every ATC in the codebase. Use it to identify reuse, avoid duplicate Page/Api classes, and avoid minting an @atc('PROJ-XXX') ID that is already taken. This is enforced by Critical Rule #12 in AGENTS.md and by the husky pre-commit gate.

Pre-flight checklist (anti-duplication — run before writing the plan):

  • Load kata-manifest.json. Cross-check every proposed TC ID against components.api[].atcs[].id and components.ui[].atcs[].id. If a match exists, the TC is already automated — re-scope or reuse.
  • Cross-check every proposed Component name against components.api[].name and components.ui[].name. If a match exists, extend the existing class — do not create a new one.
  • If reuse opportunity exists (same flow already covered by a Steps method or ATC), adapt the plan to extend rather than rebuild.

Write the canonical domain plan file(s) for the chosen scope under the Epic's test-specs/ tree, .context/PBI/epics/EPIC-<KEY>-<slug>/test-specs/<scope>/ (spec.md, automation-plan.md, atc/*.md). These are NON-Jira hand-authored files (committed to git). The automation automation-plan.md is distinct from the Story-folder dev implementation-plan.md (Jira-synced, read-only). The plan answers:

  • Which scenarios from the ticket become tests, which become ATCs, which are shared preconditions (Steps)?
  • Which components already exist (tests/components/api/*Api.ts, tests/components/ui/*Page.ts) and which need to be created?
  • What test data is required? Classify by Discover / Modify / Generate (never assume data exists in staging).
  • Which fixture will the test use -- {api}, {ui}, or {test}? Do any shared preconditions call for a Steps class (tests/components/steps/*Steps.ts), instantiated directly in the test?
  • Which ATC IDs (from the TMS) map to which component methods?

Also write the session index plan.md at .session/test-automation/<scope>/plan.md per agentic-qa-core/references/session-management.md §6. This is a THIN INDEX — Goal, Inputs (cites the canonical artifacts above), Approach, Phase breakdown table, Risks, Verification checklist, Cross-references. It does NOT duplicate the domain content; it points to it.

Use the dispatch defined in §Subagent Dispatch Strategy: Single. Full briefing in references/planning-playbook.md §Plan dispatch.

Present the plan to the user. Wait for approval before coding. After approval, the orchestrator appends ## Phase 1 — Plan — <ts> with status: completed, artifacts_touched: [list of domain + session files], next: Phase 2 — Code to .session/test-automation/<scope>/progress.md.

Phase 2 — Code

Use the dispatch defined in §Subagent Dispatch Strategy: Sequential (one subagent per scope unit). The subagent loads references/e2e-patterns.md and references/api-patterns.md per scope.

Skills to load in every Code subagent (mandatory): /playwright-best-practices (community, project-installed) for upstream Playwright/TypeScript patterns — flaky-test fixes, POM vs fixtures, axe-core, auth/OAuth, fixtures lifecycle, perf budgets, i18n, component testing. Load alongside /test-automation (this skill, project-authored) — the two are complementary: KATA-specific rules (ATC identity, inline locators, fixture selection) come from here; generic Playwright craft comes from /playwright-best-practices. Add /playwright-cli only when the subagent also needs to drive a real browser session (snapshot/trace/record) during code-time exploration.

Open the TC lifecycle first. Before the first line of code, move every in-scope TC out of {{jira.status.test_case.candidate}}: [ISSUE_TRACKER_TOOL] Transition: {{jira.transition.test_case.start_automation}} → {{jira.status.test_case.in_automation}}. A TC left at candidate while its code is being written tells the team nobody picked it up. Unmapped slug → agentic-qa-core/references/artifact-lifecycle.md §4 fallback (ask, never skip silently).

Implement in this order:

  1. Types at top of component file (payloads, responses, domain DTOs).
  2. Component class extending ApiBase or UiBase. Helpers first (no decorator), ATCs second (@atc('TICKET-ID')).
  3. Register the component in tests/components/ApiFixture.ts or UiFixture.ts as appropriate. Steps classes (tests/components/steps/*Steps.ts) are NOT registered in any fixture — tests and setup files instantiate them directly (see ExampleSteps.ts).
  4. Test file under tests/e2e/{module}/ or tests/integration/{module}/, using the correct fixture.
  5. Run + verify, in this exact order -- do not skip steps:
bash
bun run test <path/to/new.test.ts>   # does it pass?
bun run types:check                   # tsc --noEmit, no errors
bun run lint:check                         # ESLint, no errors

If any step fails, fix before moving to Review.

  1. Signal it in the TMS — per TC:
    • No separate automated Test issue. The @atc('<TC_KEY>') id IS the TC's key, so the TC itself is the automated test: each run result is recorded on the TC (one Xray run per ATC, imported by its key; the import never creates a Test, regression-testing/references/ci-cd-integration.md). Never create a second "automated" Test, and never link one to the TC.
    • Labels, not optional: ADD automated on the Test and REMOVE automation-candidate — the two are mutually exclusive (test-documentation/SKILL.md §Labels). Flip them at the point the TC actually reaches AUTOMATED (see §Git & TMS handoff: the merged transition once the code is on the production branch with CI green), not on a merge into an integration branch or a suite trunk.
[ISSUE_TRACKER_TOOL] Update work item: {TC_KEY}  labels: + automated  - automation-candidate

Progress checkpoint: after each Code subagent returns (per scope unit — one per TC for module-driven, one total for ticket-driven), the orchestrator appends a phase entry to .session/test-automation/<scope>/progress.md per agentic-qa-core/references/session-management.md §7. For module-driven scope, mid-batch resume reads the entries and skips already-coded ATCs.

AI-readable verification (optional, recommended)

For the test you just wrote, run Allure (bunx allure, version pinned in package.json) in agent mode to get a markdown report you can read directly without parsing HTML:

bash
bun allure:agent           # `bunx allure agent -- bunx playwright test`, through the env launcher

Allure lives as a devDep — bunx allure resolves to the local node_modules/.bin/allure, no global install required. Use this when:

  • The Code subagent needs to confirm the test actually exercised the expected ATC (the markdown summary lists each @atc('TICKET-ID') block + its status).
  • You want a quick scope check before opening Phase 3 — Review.
  • You are debugging a fixture/locator mismatch and want a structured failure read instead of a raw stack.

For human review of the same run, switch to:

bash
bun allure:run             # `bunx allure run -- bunx playwright test`, through the env launcher (full HTML report)
bun allure:open            # serve the last generated report locally

See regression-testing for CI / suite-level reporting (bun allure:generate, bun allure:watch).

Phase 3 — Review

Use the dispatch defined in §Subagent Dispatch Strategy: Parallel (3 simultaneous Verifiers). Full briefings in references/review-checklists.md §Parallel verification dispatch.

Run the review checklist on the new/modified files. Treat every failed item as a blocker. A clean review is the merge gate. See references/review-checklists.md for the full lists (E2E and API have overlapping but distinct checklists).

Required separate verifier — before merge, run /pr-review-lead or /judgment-day against the diff in a clean context (a fresh session/subagent with no memory of how the code was written). This is not opt-in and not limited to high-risk changes: Automation is the only stage with a mandatory separate verifier (agentic-qa-core/references/stage-gates.md, contract table) and its autonomy rises from 2 to 3 inside the approved plan — more rope on the way in is paid for with a harder check on the way out. /judgment-day runs two blind judges in parallel against the diff and only approves when both agree (see .agents/skills/judgment-day/SKILL.md); /pr-review-lead runs a QA-lead-style review grounded in KATA doctrine. Pick whichever fits the change; skipping this step is a Review DoD failure, not a shortcut.

Light stage verifier (closes the Automation stage) — run the eight-line template in agentic-qa-core/references/artifact-lifecycle.md §5. Stage-specific lines:

[ ] Every in-scope TC at {{jira.status.test_case.in_automation}} or beyond (start_automation fired)
[ ] Every ATC carries its TC's own key (`@atc('<TC_KEY>')`); no separate automated Test issue created
[ ] Labels flipped only at the status they belong to (+automated / -automation-candidate
    at `merged`, never at a trunk or integration merge)
[ ] No TC left at {{jira.status.test_case.candidate}} with code already written for it
[ ] No TC at {{jira.status.test_case.pull_request}} whose spec is already on the production branch
    (backstop for the post-promotion `merged` pass, discovery-driven-doctrine.md §6)
[ ] Any unmapped slug went through the §4 fallback (asked), never a silent skip

Progress checkpoint + Archive: after Phase 3 returns ACCEPT (all 3 Verifiers exit 0), the orchestrator appends ## Phase 3 — Review — <ts> with status: completed, next: stop to .session/test-automation/<scope>/progress.md, then runs Archive per agentic-qa-core/references/session-management.md §8: moves .session/test-automation/<scope>/ to .session/.archive/<YYYY-MM-DD>-test-automation-<scope>/ (two-file dir preserved) and calls mem_session_summary including the archive path. On REJECT, archive does NOT run — the working directory stays for debug.

Git & TMS handoff (suites with a trunk or an integration branch)

This skill stops at a clean local review. It does not create branches, push, or open PRs — that is /git-flow-master's job. When the repo's git strategy is sdet (the standing mode for chained test-automation suites), each ticket flows through the per-ticket loop in .agents/skills/git-flow-master/references/sdet-integration-trunk.md:

  • The Phase 3 ACCEPT gate (3 Verifiers green: test / types:check / lint:check) is the skill's local validation gate. Under sdet it must pass on both the local and staging environments before push — re-run the suite against each (active_env per .agents/project.yaml). The Verifiers are local-only; Sanity CI on the branch is owned by /git-flow-master + /regression-testing, never by this skill.

  • After ACCEPT, surface the explicit handoff — "Local gate green. Ready for /git-flow-master: cut test/{KEY}-{slug} from the integration trunk, push, Sanity-CI, PR into the trunk, merge --no-ff." Do not auto-invoke git operations.

  • Append the Git Ledger line to the suite's progress.md after each branch action (orchestrator-written, append-only) so a resuming session knows how the trunk was left: trunk name + SHA, last ticket merged, pending tickets, sync-gate / final-PR state. Schema in ../agentic-qa-core/references/session-management.md §7 "The Git Ledger"; what-to-write detail in .agents/skills/git-flow-master/references/sdet-integration-trunk.md §Resume.

  • TC lifecycle anchors to the ticket-branch PR, not the final trunk → main PR. The full ladder this skill owns (canon: agentic-qa-core/references/artifact-lifecycle.md §1, Test row):

    MomentTransitionStatus after
    Phase 2 — Code opens{{jira.transition.test_case.start_automation}}{{jira.status.test_case.in_automation}}
    ticket PR opens into the trunk{{jira.transition.test_case.create_pr}}{{jira.status.test_case.pull_request}}
    the code reaches the production branch (git_strategy.branches.production; the final suite PR under sdet), CI green there{{jira.transition.test_case.merged}}{{jira.status.test_case.automated}}

    Merging into the trunk is NOT automated, and the same holds for any strategy with an integration branch (main-integration and the like): automated means the code is on the production branch (agentic-qa-core/references/discovery-driven-doctrine.md §6). Execute transitions via /test-documentation + [ISSUE_TRACKER_TOOL] (merged through its mode post-promotion, once the spec is on the production branch); resolve every slug through .agents/jira-workflows.json, and on an unmapped slug run the artifact-lifecycle.md §4 fallback instead of skipping.


Fixture selection (inline — load-bearing every invocation)

The fixture you pick determines whether a browser opens. Wrong fixture = slow API tests or missing UI context.

Test typeFixtureBrowser opens?Use when
API only (integration){ api }No (lazy)Pure API testing. No UI needed.
UI only{ ui }YesUI-focused testing. No backend setup via API.
Hybrid (UI + API setup){ test }YesSetup data via API, drive flow via UI, verify via API.

Rules:

  • Only three fixtures exist: { api }, { ui }, { test } (see tests/components/TestFixture.ts). Reusable precondition chains (3+ ATCs repeated across 3+ files) go in a Steps class under tests/components/steps/ — instantiated directly in the test, never exposed as a fixture.
  • Integration tests (tests/integration/**) almost always use { api }.
  • E2E tests (tests/e2e/**) use { ui } if no API setup needed, otherwise { test }.
  • Never request { ui } for a test that never interacts with the UI -- it opens a browser for nothing.

Gotchas (inline — the most common rejection reasons)

  1. ATC = complete test case, not a single click. clickLoginButton() is not an ATC. loginWithValidCredentials(credentials) is. If the method is one-line-wrapping page.click(), delete it.
  2. TC Identity Rule: Precondition + Action = 1 TC. All expected results from the same precondition and same action are assertions of the same TC, not separate TCs. Do not split a TC across panels, endpoints, or UI sections.
  3. Equivalence Partitioning. Same expected output = one parameterized ATC. Three ATCs all returning HTTP 401 for invalid login are wrong -- merge into one loginWithInvalidCredentials(payload).
  4. ATCs do not call ATCs. ATCs are atomic. For reusable chains, use the Steps module (tests/components/steps/*Steps.ts). Steps are NOT decorated with @atc.
  5. Locators inline. No locators/*.ts files. Put the selector in the ATC. If the same locator is used in 2+ ATCs of the same component, extract it to a private readonly arrow function in the class -- not to a separate file.
  6. Helpers vs ATCs. An action that changes state is an ATC (@atc('TICKET-ID')). A GET is an ATC only when its response IS the business outcome under test (business data, 401, 403, 404); a GET that only prepares data is a helper (no @atc, optionally @step), and a GET that confirms an action stays inside that action's ATC. Canon: references/kata-architecture.md Rule 7.
  7. Fixed assertions go inside ATCs. Status code, required fields, URL redirect checks. Test-level assertions (flow outcomes) go in the test file.
  8. Max 2 positional parameters. 3+ parameters must use an object parameter (fn(args: Args)). Named object parameters beat positional lists for maintainability and autocomplete.
  9. Import aliases are mandatory. @api/, @ui/, @utils/, @variables, @TestContext, @schemas/. No relative imports (../../../). Lint will reject them.
  10. No hardcoded waits. Never page.waitForTimeout(3000). Wait for a specific condition: waitForSelector, waitForResponse, waitForLoadState('networkidle'), or data-loaded="true" attributes.
  11. No retries by default. retries: 0 in playwright.config.ts. If a test passes on retry, it is flaky, not passing. Investigate.
  12. Credentials from .env, never hardcoded. LOCAL_USER_EMAIL / STAGING_USER_EMAIL and their passwords. Read via config.testUser from @variables.
  13. Each test generates its own data. No shared state between tests. Use TestContext.generateUserData() or faker helpers for unique values.
  14. Ticket ID prefix in every test(). Format: test('TICKET-ID: should {behavior} when {condition}', ...). The describe block may also include the ticket ID when the file is tied to a single ticket.
  15. One component per file, one file per feature. Components follow {Resource}Api.ts or {Page}Page.ts. Test files follow {verb}{Feature}.test.ts (e.g., applyDiscount.test.ts, never discount.test.ts).
  16. Don't propose components or ATCs without consulting the manifest. kata-manifest.json is the registry. Skipping it produces (a) duplicate Pages — proposing LoginPage when LoginPage.ts already exists; (b) duplicate ATC IDs — minting @atc('PROJ-90') twice; (c) missed reuse — creating getBookingById when BookingsApi.getById already does it. Always start the Plan phase by loading the manifest. The husky pre-commit gate enforces freshness; Critical Rule #12 in AGENTS.md enforces consultation.
  17. Cross-cutting test-architecture decisions become ADRs, not plan-buried prose. When Plan or Code reveals a decision that is architectural AND hard to reverse — a fixture lifecycle reused across 3+ ATCs or 2+ tickets, a test-data-isolation contract, an auth-in-tests change, a flake-retry-policy shift, a Page-Object-vs-Screenplay move — promote it from planning-playbook.md §2 "Architecture Decisions" to a standalone .context/ADR/ADR-NNNN-<slug>.md and leave a See ADR-NNNN backlink. Ticket-local choices stay in the plan. ADRs are append-only: supersede, never rewrite. See agentic-qa-core/references/adr-doctrine.md.
  18. Session-footer contract (mandatory at close). The final phase is not done until the two chat-facing blocks from ../agentic-qa-core/references/session-footer-contract.md are printed: (1) consolidated screenshot list — repo-relative paths, verified on disk, bug annotations first — plus in-flow surfacing of every capture's path the instant it lands; (2) Session Footer listing skills/MCPs/CLIs actually used + testing levels touched, with explicit "none" entries for expected-but-untouched levels. Framing for this skill: authoring. Multi-subagent sessions: each stage report carries the five footer fields (skills_loaded, mcps_used, clis_used, testing_levels_touched, screenshots_captured); the orchestrator compiles the footer ONCE at close. Chat only — never in a Jira comment or ATR body. Lessons noticed during the session are PROPOSED to .session/<skill-slug>/<scope>/refinements.md and never applied to a live skill, per ../agentic-qa-core/references/skill-refinement-protocol.md; the footer's Refinements proposed: line counts them.

Minimal templates (inline — small, load-bearing)

KATA component signatures

typescript
// API component — Layer 3
export class UsersApi extends ApiBase {
  constructor(options: TestContextOptions) { super(options); }

  // Helper (read-only)
  @step
  async getUserById(id: string): Promise<[APIResponse, UserResponse]> {
    return this.apiGET<UserResponse>(`/users/${id}`);
  }

  // ATC (state-changing)
  @atc('TICKET-ID')
  async createUserSuccessfully(payload: UserPayload): Promise<[APIResponse, UserResponse, UserPayload]> {
    const [response, body, sent] = await this.apiPOST<UserResponse, UserPayload>('/users', payload);
    expect(response.status()).toBe(201);
    expect(body.id).toBeDefined();
    return [response, body, sent];
  }
}
typescript
// UI component — Layer 3
export class LoginPage extends UiBase {
  constructor(options: TestContextOptions) { super(options); }

  @atc('TICKET-ID')
  async loginWithValidCredentials(data: LoginData): Promise<void> {
    await this.page.goto('/login');
    await this.page.locator('#email').fill(data.email);
    await this.page.locator('#password').fill(data.password);
    await this.page.locator('button[type="submit"]').click();
    await expect(this.page).toHaveURL(/.*dashboard.*/);
  }
}

Test file skeleton

typescript
import { test, expect } from '@TestFixture';
import usersData from '@data/fixtures/users.json';

test.describe('TICKET-ID: Validate discount codes', () => {
  test('TICKET-ID: should apply percentage discount when code is valid', async ({ api }) => {
    const order = await api.orders.createOrderSuccessfully(orderData);
    const totals = await api.orders.getTotals({ orderId: order.id });
    expect(totals.finalAmount).toBe(totals.baseAmount - totals.discountAmount);
  });
});

Fixture registration (excerpt)

typescript
// tests/components/UiFixture.ts
export class UiFixture extends TestContext {
  readonly login: LoginPage;
  readonly checkout: CheckoutPage;

  constructor(options: TestContextOptions) {
    super(options);
    this.login = new LoginPage(options);
    this.checkout = new CheckoutPage(options);
  }
}

Quality gates (must pass before merge)

GateCommandMust be
Tests passbun run test {path}All green, zero retries used
Typesbun run types:checkNo errors
Lintbun run lint:checkNo errors
Fixture registeredvisualComponent is in ApiFixture / UiFixture (Steps classes are instantiated directly, never registered)
ATC IDs linkedvisualEvery @atc('X') matches a real TMS test case ID
NamingvisualFiles PascalCase for components, camelCase verb for test files
Session footerchatSession footer + consolidated screenshot list printed in chat per session-footer-contract (never in a Jira comment)

Anti-patterns — NEVER do these

T1. NEVER auto-generate tests for TCs that /test-documentation flagged as Deferred or Manual — only Candidate (to_be_automated) verdicts proceed to automation. Skipping the ROI verdict produces flaky, low-value suites. NEVER create a Test in the TMS to fill a gap either: a missing TC goes to /test-documentation (§"TC source gate").

T2. NEVER skip the Plan phase. Even for a "simple" regression test, write spec.md / automation-plan.md (or the per-ATC plan under .context/PBI/epics/EPIC-<KEY>-<slug>/test-specs/<scope>/) BEFORE writing any test code. Plan → Code → Review is non-negotiable.

T3. NEVER collapse the KATA layers (TestContext / ApiBase + UiBase / Domain Api+Page+Steps / Fixture). Full doctrine in references/kata-architecture.md. Tests that flatten layers are rejected at Review.

T4. NEVER call one ATC from inside another ATC. ATCs are atomic mini-flows. Reusable chains live in the Steps module (tests/components/steps/*Steps.ts), which is NOT decorated with @atc.

T5. NEVER use relative imports (../../../). This repo uses path aliases (@api/, @ui/, @schemas/, @utils/, @TestContext, @variables, @TestFixture). Lint rejects relative paths.

T6. NEVER hardcode credentials. Read from .env via config.testUser from @variables (LOCAL_USER_* / STAGING_USER_*). Never inline a password, token, or API key in a spec, fixture, or test data file.

T7. NEVER hardcode customfield_NNNNN in spec files, test data, or test config. Resolve Jira fields via {{jira.<slug>}} against .agents/jira-fields.json + .agents/jira-required.yaml so test code survives workspace rotations.

T8. NEVER mix test code and product code in the same PR. Test PRs follow the test/* branch convention with title format {type}({ISSUE-KEY}): {description} — see .agents/skills/git-flow-master/references/pr-test-automation.md. Under the sdet strategy, adjacent non-test work never rides a test/* ticket branch either — it goes on a Plus Branch (docs/*/chore/*/fix/* → integration trunk). See .agents/skills/git-flow-master/references/sdet-integration-trunk.md.


Which reference to read

Not every invocation needs every reference. Load the specific file when the task matches.

  • KATA architecture, fixture selection, ATC rules, Steps module mechanics → references/kata-architecture.md
  • TypeScript conventions (params, imports, types, errors, DRY by layer) → references/typescript-patterns.md
  • Naming, tagging, folder structure, anti-patterns, quality gates → references/automation-standards.md
  • Writing a Playwright Page component, locator strategy, data-testid rules, UI waits → references/e2e-patterns.md
  • Writing an Api component, OpenAPI type facades, HTTP helper usage, schema imports → references/api-patterns.md
  • Designing test data (Discover → Modify → Generate), fixtures JSON, faker → references/test-data-management.md
  • @atc / @step decorators, NDJSON results, TMS sync mechanics → references/atc-tracing.md
  • Writing the Plan (module / ticket / ATC scopes and templates) → references/planning-playbook.md
  • Running a batch across several parallel sessions (partition by module, conductor duties, integration order) → references/batch-fleet.md
  • Running the review checklist (E2E or API) → references/review-checklists.md
  • Configuring Playwright, CI integration, projects, sharding → references/ci-integration.md
  • Session resume contract, plan.md/progress.md schemas, archive policy, Engram per-phase checkpoint → ../agentic-qa-core/references/session-management.md (Phase 0 + Phase 1 + Archive of this skill)

Tool resolution: use [AUTOMATION_TOOL] for browser work (/playwright-cli, the only browser path), [API_TOOL] for OpenAPI exploration, [DB_TOOL] for verifying test data in the database, [TMS_TOOL] for TMS sync (load /xray-cli when available), [ISSUE_TRACKER_TOOL] for ticket work. Split the issue-tracker access by operation: detailed reads of a Story (ACs, ATP, dev implementation-plan, custom fields) → bun run jira:sync-issues get <KEY> --include-comments (or jql "<query>") then read the synced .md — NEVER acli workitem view for custom fields; writes (comment automated-test status back to the Story, transitions) → /acli; trivial summary/status/key-list lookups → /acli workitem view/search is fine. See agentic-qa-core/references/acli-integration.md §"Reads vs writes". Resolve tags via the project's AGENTS.md Tool Resolution table.


Quick reference

bash
# Planning outputs (hand-authored, NON-Jira; Epic-level test-specs/)
# .context/PBI/epics/EPIC-<KEY>-<slug>/test-specs/<scope>/spec.md
# .context/PBI/epics/EPIC-<KEY>-<slug>/test-specs/<scope>/automation-plan.md
# .context/PBI/epics/EPIC-<KEY>-<slug>/test-specs/<scope>/atc/*.md
# (the Story-folder implementation-plan.md is the Jira-synced DEV plan — read-only input, not written here)

# Code locations
# tests/components/api/{Resource}Api.ts
# tests/components/ui/{Page}Page.ts
# tests/components/steps/{Domain}Steps.ts
# tests/integration/{module}/{verbFeature}.test.ts
# tests/e2e/{module}/{verbFeature}.test.ts

# Local validation loop
bun run test <path>
bun run types:check
bun run lint:check
bun run kata:manifest               # regenerate registry if components/ATCs changed
git add kata-manifest.json          # stage so the freshness gate passes
bun run kata:manifest:check         # confirm gate would pass (husky runs this on commit)

# Env + TMS sync
cp .env.example .env                # populate test credentials
bun run api:sync                    # regenerate OpenAPI schema types

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Test Automation?

Plan, write, and review automated tests following KATA (Komponent Action Test Architecture) on Playwright + TypeScript, or explain existing automated tests in a sealed read-only mode. Use when writing E2E or API/integration tests, creating Page or Api components, designing ATCs, parameterizing test data, registering fixtures, reviewing test code for KATA compliance, or requesting break-down-tests / a plain-English test breakdown. The explain mode reads source and renders an HTML breakdown of assertions without entering Plan-Code-Review or editing tests. Do NOT use for running suites (regres...

Firwat Test Automation op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Test Automation besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Test Automation an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/test-automation an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Test Automation benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Test Automation benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Test Automation domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Test Automation gratis?

Jo. upex-galaxy huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇