/hatch3r:hatch3r-qa-pathfrom hatch3r
Generates a risk-ordered manual QA test path from a PR, branch diff, or working tree. Delegates row proving to verification sub-agents so humans only walk unproven steps. Use to determine shippability.
Ships in hatch3r. 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.
None: SKILL.md is the whole skill.
Given an existing PR or in-progress change, produce a HUMAN-QA test path: a table of what a person should manually test, in what order, to judge the change shippable. The human executes the final path; before emission this skill delegates per-row proving to verification sub-agents (Step 3.5), so the human table carries only what automation could not prove.
Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Collect the diff, PR description, and linked issues
- [ ] Step 2: Classify changed surfaces
- [ ] Step 3: Derive test-path rows
- [ ] Step 3.5: Prove rows before emission (delegated)
- [ ] Step 4: Emit the table + sign-off block
Automated test strategy (coverage targets, test-case outlines, CI gates) belongs to the hatch3r-test-plan command (commands/hatch3r-test-plan.md); standalone agent-executed QA with a full validation report belongs to hatch3r-qa-validation (skills/hatch3r-qa-validation/SKILL.md). This skill emits the walk-through FOR THE HUMAN — it writes no test code and drives no browser in its own turn (per-row proving is delegated to verification sub-agents in Step 3.5), and it files no issues.
agents/hatch3r-reviewer.md → QA-Path Handoff — at the loop-exit verdict of a review whose diff changes user-observable behavior, the reviewer runs this skill and reports QA path: emitted (<n> unproven rows ...) in its summary.commands/hatch3r-test-plan.md — cites this skill for the manual-walk-through half of test planning.skills/hatch3r-qa-validation/SKILL.md — scope-boundary counterpart (agent-executed QA vs this human walk-through).Before any work, scan the invocation for unresolved questions and resolve them via the platform-native question tool per agents/shared/user-question-protocol.md — default behavior, not exception-driven. Triggers for THIS skill: (a) multiple open PRs and none named; (b) diff range underspecified (base branch unclear, fork point ambiguous); (c) the change is environment-sensitive (migration, config) and the walk-through environment is unstated; (d) the diff is UI-heavy but the repo declares no breakpoints or themes — confirm which viewports matter before deriving per-viewport rows.
Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2). Step 3.5's per-row proving spawns one sub-agent per independent row group. Emit in your output:
sub_agents_spawned:
count: <int>
rationale: <one-sentence task-decomposition justification>
task_structure: parallelizable | sequential | mixed
Accept exactly one input, resolved in this precedence order:
gh pr view <n> --json title,body,files,baseRefName plus gh pr diff <n>.main...feature/x; resolve via git diff <range> --stat plus git log <range> --oneline.git diff HEAD --stat plus git status --short, and state in the output header that the path covers uncommitted work.Closes #n / Fixes #n refs in the body; read each via gh issue view <n>).*.test.*, *.spec.*, __tests__/, tests/) for tests that reference it. Record the test file path, or no when none exists.Sort every changed file into one or more classes (one file can hit several):
| Class | Signal in the diff |
|---|---|
| User-visible UI | components, templates, styles, user-facing copy/strings, CLI output formatting |
| API / contract | route handlers, request/response shapes, exported signatures, schema files |
| Config / migration | env vars, config schema or defaults, DB/file-format migrations, install or upgrade paths |
| Security-adjacent | auth, permissions, input validation, secrets handling, path/URL handling, bumps of security-relevant dependencies |
| Docs-only | *.md, docstrings, comments — no executable change |
A diff that is 100% docs-only short-circuits: emit either a one-row table (render + link check of changed pages, when they publish somewhere) or the line "No manual QA path required — docs-only diff", followed by the sign-off block.
Apply every trigger below; each fires once per instance, not once per diff:
| Trigger (measurable) | Rows derived |
|---|---|
| A user-visible surface is touched | >=1 row per surface, walking the primary flow through it |
| An error/failure path is changed (catch block, error message, fallback, retry, timeout) | 1 row that intentionally causes that failure and observes the handling |
| A config or migration change | 1 fresh-setup row (clean install / first run) + 1 upgrade row (existing state carried forward) |
| A security-adjacent change | 1 negative-test row: attempt exactly what the change should deny (wrong role, invalid token, traversal path, oversized input) and record the expected denial message/status |
A UI change, when the repo declares breakpoints or themes (design tokens, tailwind.config.*, theme files) | 1 row per declared breakpoint/theme combination the change renders in |
Grade Risk if broken as likelihood x impact on three levels:
Estimate Est. minutes per row as setup + steps + observation, executed by someone who has the app running but has not read the diff. When the column total exceeds 90 minutes, split the table into timeboxed sessions of <=30 minutes each and say so above the table (session-based practice — see References).
Before emitting the table, attempt to prove each row automatically so the human walks only what automation cannot prove. Delegate via the Task tool — never prove inline:
hatch3r-qa-validation (skills/hatch3r-qa-validation/SKILL.md) with the row's steps + expected result as its test case.hatch3r-browser-verify (skills/hatch3r-browser-verify/SKILL.md), Tier 1 spec run first; a row is proven only by its VERIFIED-SPEC or VERIFIED-INTERACTIVE result token with evidence.Group rows per target skill; independent groups run in parallel (single-writer: this skill alone merges results back into the table). Each returning sub-agent supplies, per row:
Proven (auto): yes | partial | no — partial = some steps of the row verified, observation gaps remain.proof_trace: runner summary line, spec path, a11y report path, or snapshot/console evidence path.A row whose required tool is absent records no with BLOCKED_MISSING_TOOL: <tool> in proof_trace — tool absence never records yes. Record the spawn set in the sub_agents_spawned block (Fan-out Discipline above). When the Task tool itself is unavailable, mark every row Proven (auto): no with proof_trace: not-attempted (no delegation available) and continue — unproven rows stay on the human path, which is the fail-safe direction.
Sort rows by Risk descending (H > M > L), then Est. minutes ascending — highest risk, cheapest first. The column set is fixed at 9 columns (7 derivation columns + the 2 Step 3.5 proving columns). The emitted human table lists ONLY rows with Proven (auto): no | partial; rows fully proven in Step 3.5 move to the appendix with their proof traces — the human never re-walks a machine-proven row.
## Human-QA Test Path — {PR #n | range | working tree} ({date})
Rows below are the unproven remainder ({k} of {n} derived rows; {n-k} auto-proven — see appendix).
| # | Area / flow | Steps to perform | Expected result | Risk if broken (H/M/L) | Automated coverage (yes/partial/no + test file ref) | Proven (auto) | proof_trace | Est. minutes |
|---|---|---|---|---|---|---|---|---|
| 1 | {behavior name} | {numbered, copy-pasteable steps} | {observable outcome — exact text, HTTP status, exit code where known} | H | partial — src/__tests__/{file}.test.ts | no | BLOCKED_MISSING_TOOL: playwright | 5 |
**Sign-off**
- [ ] All H rows in the table above pass when walked.
- [ ] No M row fails without a filed follow-up issue (link each).
- L-row failures: record them; they do not block the merge.
- Auto-proven rows (appendix) count as passed via their proof_trace — spot-check any trace that looks stale.
- Shippable: YES when both boxes above are checked; otherwise NO — list the blocking rows.
- Rollback check: {one-line revert path if a failure appears post-merge — e.g. `git revert <merge-sha>` + redeploy, or the feature flag to flip. Confirm the path exists before signing off.}
### Appendix — Auto-proven rows
| # | Area / flow | Expected result | Risk | Proven (auto) | proof_trace |
|---|---|---|---|---|---|
| {n} | {behavior name} | {observable outcome} | M | yes | npx playwright test tests/visual — 4 passed; tests/visual/{feature}.spec.ts |
Not covered here: automated test strategy (`hatch3r-test-plan`), standalone agent-executed QA (`hatch3r-qa-validation`).
Write "Steps to perform" for a human with no diff context: start state, exact clicks/commands, concrete input values. "Expected result" names observable outcomes (rendered text, HTTP status, file created, exit code) — never internal state.
gh unavailable: fall back to the branch/diff-range input; when no range is derivable either, use the working-tree fallback and state which input was used.no throughout and append one line recommending the hatch3r-test-plan command for strategy work.Proven (auto): no with the failure reason in proof_trace and keep them in the human table — a failed prover never downgrades a row's risk or drops it.not-attempted recorded); sub_agents_spawned block emittedno; every Proven (auto): yes|partial carries a proof_traceno|partial rows; fully-proven rows appear in the appendix with proof tracesWhat SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
55 skills in this plugin
/hatch3r-a11y-auditRuns a WCAG AA accessibility audit with findings and fixes across 7 scan categories (keyboard, contrast, ARIA, reduced motion, screen reader, high contrast, automated axe). Use when auditing and remediating accessibility./hatch3r-adhoc-orchestrateScaffolds the ad-hoc Tier >= 2 orchestration protocol -- Per-Turn Pipeline-State Header, implementer delegation plan, End-of-Turn Delegation Attestation. Use for a multi-phase task with no registered command to avoid inline-implementation bypass mode./hatch3r-ai-featureEval-driven development workflow for shipping AI features — write eval before prompt, measure, iterate, ship with caching + cost telemetry + model fallback + hallucination SLIOther plugins' skills for the same job