qa-test
Installation
SKILL.md
qa-test
QA-test web applications against user instructions, picking the right CLI per dimension. chrome-devtools-axi is the default driver: snapshot+ref loop with loud STALE_REF errors, Lighthouse, Core Web Vitals insights (LCP/INP/CLS), heap snapshots, and built-in emulation — plus contextual help[N] planning hints after each command. agent-browser handles only what AXI lacks: visual/DOM diff family (Myers + pixel), HAR export, encrypted auth vault, multi-session isolation, cloud providers, iOS Simulator, and the find text|label|role|placeholder|testid semantic locator fallback when AXI refs churn. Runs are resumable: every test step is a three-state checkbox in ./.plans/qa-test/<run-id>/PLAN.md, and the workflow reads prior state before acting.
Core rules
- One run = one directory under
./.plans/qa-test/<run-id>/.<run-id>isYYYY-MM-DD-HHMM-<slug>. Never write outside this dir except for global CLI artefacts. Project-scoped only — fail if not inside a git repo. - Read state before write. On every invocation, list existing
./.plans/qa-test/, summarise prior runs, and ask before resuming, starting fresh, or overwriting. Apply the RESUMING.md protocol verbatim. - Default to
chrome-devtools-axi; reach foragent-browseronly when AXI lacks the capability. AXI handles functional, network, console, performance, screenshot, emulation, multi-page. Switch toagent-browserfor: visual/DOMdifffamily, HAR export, encrypted auth vault, multi-session isolation, cloud providers, iOS Simulator, and thefind text|label|role|placeholder|testidref-stability fallback. Full mapping in TOOL-MATRIX.md. Mixing both in one run is normal — keep separate sessions per CLI. - Honour the non-negotiables in RULES.md. Stale-ref recovery, network-capture priming,
waitcontent overwaittimeouts, noevalwith secrets, one perf trace per page. - Three-state checkboxes only.
[ ]pending,[x]complete,[~] — <reason>skipped. Skipped items preserve the audit trail; never silently delete. - Evidence goes to disk, never to context. Screenshots, HARs, Lighthouse reports, heap snapshots, response bodies all land under
./.plans/qa-test/<run-id>/evidence/. Reference paths inRESULTS.md; do not inline binaries. - Auto-install on first run. If either CLI is missing, run
scripts/preflight.shwhich installschrome-devtools-axiandagent-browserglobally via npm and runsagent-browser doctor --offline --quick --json. Surface install + doctor output before proceeding. - Pin behaviour, not versions, in CI. Inside the per-run dir, write the resolved CLI versions into
ENV.mdso reruns are reproducible. Do not pass@latestin the auto-install command — the script pins what it installs.