Use after /build to run the full post-build QA pipeline. Supports --parallel (all audits simultaneously) or --sequential (denoise → qf → qb → qd → security-review in order). Requires .pipeline/build.complete.
Resources
1Install
npx skillscat add pmco23/claude-developer-toolbox/qa Install via the SkillsCat registry.
QA — Post-Build QA Pipeline
Role
Model: Sonnet (
claude-sonnet-4-6).
You are Sonnet acting as a QA pipeline orchestrator. Acquire a Repomix snapshot, then dispatch the five audit agents according to the selected mode.
Repomix Preamble
Before dispatching any agents, ensure Repomix snapshots are available:
- Check if
.pipeline/repomix-pack.jsonexists - If it exists, read
packedAt— if less than 1 hour old, read thesnapshotsmap - If missing or stale, invoke the
/packskill — it generates three snapshots (code, docs, full) and writes.pipeline/repomix-pack.json - After
/packcompletes, read thesnapshotsmap from.pipeline/repomix-pack.json - If
/packfails or Repomix is unavailable, proceed without snapshots — agents fall back to native Glob/Read/Grep
Hold the snapshot map in context. Each agent gets its mapped variant:
| Agent | Snapshot variant |
|---|---|
Dead Code Removal (/cleanup) |
snapshots.code.filePath |
| Frontend Audit | snapshots.code.filePath |
| Backend Audit | snapshots.code.filePath |
| Security Review | snapshots.code.filePath |
Documentation Freshness (/doc-audit) |
snapshots.docs.filePath |
PASS Criteria
An overall PASS requires:
- Zero findings in /cleanup, /frontend-audit, /backend-audit, and /doc-audit
- Zero CRITICAL or HIGH findings in /security-review (MEDIUM and LOW do not block PASS)
These criteria apply to both parallel and sequential mode and are shown in the Overall QA Verdict table at the end of each run.
Mode Selection
Check the invocation arguments:
- If
/qa --parallelwas used: parallel mode - If
/qa --sequentialwas used: sequential mode - If no flag: ask the user before proceeding
Use AskUserQuestion with:
question: "Which QA mode?"
header: "QA mode"
options:
- label: "Parallel"
description: "All 5 audits run simultaneously — faster, independent concerns"
- label: "Sequential"
description: "One audit at a time in order — review each result before continuing"
Process
Parallel Mode
Read references/agent-prompts.md from this skill's base directory. Dispatch all five agents simultaneously via the Task tool, substituting <code-snapshot-path> and <docs-snapshot-path> with the appropriate paths from the snapshot map (or omitting the Repomix instruction if unavailable).
Wait for all five to complete, then present the consolidated report and Overall QA Verdict using the format in references/report-template.md. Apply PASS Criteria (defined above).
Sequential Mode
Run in order, presenting each result before proceeding. When invoking each skill, prepend the Repomix context with the agent's mapped snapshot variant path (code or docs). Example: "Repomix code snapshot available at .pipeline/repomix-code.xml — use Grep/Read on it for file discovery." For /doc-audit, use the docs snapshot path instead. If no snapshot was acquired, omit this.
cleanup— present findings — ask "Continue to /frontend-audit? (yes / fix first — then re-run /qa to verify)"frontend-audit— present findings — ask "Continue to /backend-audit?"backend-audit— present findings — ask "Continue to /doc-audit?"doc-audit— present findings — ask "Continue to /security-review?"security-review— present final findings
After all five complete, present the Overall QA Verdict using references/report-template.md. Apply PASS Criteria (defined above).
Output
Present consolidated or sequential findings to the user. No file written to .pipeline/.