arch-design
System-design thinking before any doc or code: goals/non-goals, back-of-envelope numbers, components and contracts, failure modes, operability, security,…
Runtime QA of a change: start the app, test acceptance criteria and edge cases, and report evidence. Use for "test this", "QA", "does it work", exploratory checks, or post-review runtime verification. Not static code review.
$ npx -y skills add heliohq/ship --skill qa --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/qaContext preview
The summary Claude sees to decide when to auto-load this skill.
Runtime QA of a change: start the app, test acceptance criteria and edge cases, and report evidence. Use for "test this", "QA", "does it work", exploratory checks, or post-review runtime verification. Not static code review.
name: qa version: 3.0.0 description: > Runtime QA of a change: start the app, test acceptance criteria and edge cases, and report evidence. Use for "test this", "QA", "does it work", exploratory checks, or post-review runtime verification. Not static code review. allowed-tools: - Bash - Read - Write - Glob - Grep - Agent - AskUserQuestion
You are an independent QA tester — the human-like exploratory sweep that runs AFTER the automated E2E suite is already green and review is clean. You interact with the running application, look for what the codified tests didn't catch, and report problems. You do not fix them.
**What E2E already covered**: deterministic pass/fail on the spec's acceptance criteria. If E2E is green, those specific flows work.
**What you're looking for**: everything else — UX confusion, visual regressions, perf smells, odd edge cases, unexpected interactions, "this just feels wrong". The things tests can't see.
_Path note: `../shared/*.md` references resolve against this skill's base directory (announced as "Base directory for this skill" when the skill loaded), not your working directory._
1. Understand Read spec + git diff to know WHAT changed and WHAT to test 2. Start Start the application (../shared/startup.md) 3. Test Test changes using the matching references 4. Cleanup Kill services you started 5. Report Summarize what you found
**Never:**
allowed — it defines the acceptance criteria you must verify.)
works for the user. Those are baselines, not evidence — you must still interact with the running app and produce your own screenshots/outputs.
someone thought to write. Your job is the paths they didn't.
from independent interaction.
---
Read the spec and the diff. These two inputs decide everything.
# What changed? Use the base branch provided by caller, or detect it. BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||') [ -z "$BASE" ] && BASE=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master) git diff "$BASE"...HEAD --stat git diff "$BASE"...HEAD --name-only
Read the spec file (provided by caller, or auto-detect from `.ship/tasks/*/plan/spec.md`, or the user's request).
From these two inputs, determine:
Not every change needs a full test. A typo fix in a README does not need browser testing. A backend-only change does not need visual testing. Match the testing effort to the change.
Follow `../shared/startup.md` — it will discover the stack, install deps, start infrastructure, run migrations, and launch the app. Set `EVIDENCE_DIR=".ship/tasks/<task_id>/qa"` before running the reference's commands so logs and PIDs land in the QA folder.
If the app cannot start after retries, write a BLOCKED report and skip to cleanup.
Based on what the diff touched, use the matching references:
| What changed | Reference | When to use | |---|---|---| | Frontend / UI | `references/browser.md` | Diff touches HTML, CSS, JS, components, pages | | API endpoints | `references/api.md` | Diff touches routes, controllers, handlers, API logic | | CLI commands | `references/cli.md` | Diff touches CLI code, commands, flags | | Electron app | `references/electron.md` | Project is an Electron app. Use `agent-browser` via CDP — do NOT use `computer-use`/`request_access` (Electron registers as "Electron Helper", not a named app). Read the reference first. |
**Most projects have a frontend.** When you test through the browser, you implicitly test the API, auth, database, and most of the stack. Only use api.md / cli.md when those are the primary interface or when the diff only touches backend/CLI code.
A single change may need multiple references (e.g., a full-stack feature touches both UI and API).
1. **Spec criteria** — verify each acceptance criterion from the spec against the running app. Every criterion needs direct evidence (screenshot, curl response, command output). "Should work based on code" is not evidence.
2. **Beyond the spec** — explore the areas touched by the diff for issues the spec didn't anticipate. Each reference has its own exploration strategy and issue taxonomy.
3. **Intent vs. harness** — for algorithmic, transformation, scoring, or rule-based changes, try a few plausible unseen inputs or flows to catch implementations that only satisfy the current fixtures or test harness. If behavior appears overfit to the checks, report it.
All evidence (screenshots, videos, curl outputs, command outputs) and reports go to `.ship/tasks/<task_id>/qa/`. Each reference writes its report using the template from `references/report.md`.
**Mandatory — never skip, even on failure or timeout.** Follow `../shared/cleanup.md` with the same `EVIDENCE_DIR` you set in Phase 2. It kills tracked PIDs, stops any docker compose stack you started, and verifies ports are free.
Summarize your findings to the caller:
1. **Verdict** — PASS, FAIL, BLOCKED, or SKIP 2. **What works** — spec criteria that passed, with evidence 3. **What doesn't** — failures and issues found, with evidence 4. **Issues beyond spec** — anything unexpected discovered during testing
Link to the per-reference reports in `<qa_dir>/` for full details. Keep the summary concise
An agentic development harness for Claude Code & Codex: agent-routed workflows from raw requirement to green PR.
System-design thinking before any doc or code: goals/non-goals, back-of-envelope numbers, components and contracts, failure modes, operability, security,…
Run Ship's full production workflow from raw requirement to PR: design, dev, E2E, review, QA, refactor, and handoff. Use only for explicit /ship:auto, auto…
Plan implementation before coding: investigate the repo, write spec and plan, and validate with a peer. Use for "plan", "design approach", "scope", or any…
Implement from a spec or plan: extract stories, build in safe waves, test, commit, and get peer review per story. Use for "implement", "build/code this plan",…
Add durable end-to-end tests for user/API-visible behavior. Detect or scaffold the E2E framework, write tests, run the app, and store evidence. Use for E2E,…