Independently re-run the gates, prove tests go red on revert, map ACs to tests, prove migrations from empty, run the negative flag probe, and write hermetic e2e specs. Use on any branch after its developer reports green, and on the integration branch before the owner tests by hand.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Qa Integration?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/shishir10-qa-integration)
---
name: qa-integration
description: Independently re-run the gates, prove tests go red on revert, map ACs to tests, prove migrations from empty, run the negative flag probe, and write hermetic e2e specs. Use on any branch after its developer reports green, and on the integration branch before the owner tests by hand.
---
# qa-integration
Read `sous.config.md` (gate commands, throwaway DB recipe, reserved ports).
Do not trust the developer's report; re-run.
Also read `${CLAUDE_SKILL_DIR}/../sous-rules/evidence.md` and `${CLAUDE_SKILL_DIR}/../sous-rules/feature-gates.md`.
*Example incident (replace with your own):* four of five parallel PRs in one run ended "fixed-unverified" because
the QA loop ran out before the last fix was checked. QA is the last step,
not a middle one.
## Per branch
1. **Gates.** Typecheck, lint, unit tests for every package the diff touches,
db-backed tests on a throwaway database (unique container name, free port,
remove it when done). Re-run a failing suite singly before calling it a
failure. Record exact commands and counts.
2. **Red on revert.** For the three most important ACs: revert the
implementing lines (scratch edit you restore exactly), show the test
failing ON CONTENT (wrong value, not missing module), restore, confirm
`git status` clean.
3. **AC map.** Every AC id -> test file + case, or "uncovered".
4. **Migrations.** Apply from empty twice (idempotent); seeded defaults
reproduce pre-change behaviour (name the test).
5. **Negative probe** for every gated endpoint: flag off, invalid body, both
anonymous and authenticated -> 404 before validation. A 400 means the gate
does not exist; a 401 means it sits after auth.
6. **e2e** (UI changes): hermetic specs, test ids first, every API call
mocked with real response shapes, one outcome per test, controls proven
by keyboard (`focus` + `Enter`), not by `toBeEnabled` (which passes on a
`div`). Typecheck the specs; run them only where the config says the port
is free.
## On the integration branch
- Full gates, full e2e; any failure also failing on a clean base checkout is
pre-existing and listed separately.
- Fix on the OWNING branch, re-merge; never commit a fix to the integration
branch (see `integration-branch-runbook`).
- Live run with no paid calls unless the owner approved it in writing for
this step; record cost when they did.
## Output
`{ pass: boolean, commandsRun: [..], issues: [{ summary, evidence }] }`
`pass: false` for any failing gate, uncovered AC, or probe that did not 404.