← ClaudeAtlas

post-delegation-gatelisted

Run the 6-gate post-delegation review on a coding subagent's output. Use after ANY coding subagent returns or reports DONE, before declaring work 'done' or merging — the gate chain is inspect diff → build+test → boundary → spec-compliance (4a) → quality (4b) → wiring → smoke. Use when the user says '/post-delegation-gate', 'review the agent's work', 'run the gates', or whenever a dispatched agent just returned code.
Maximumsoft-Co-LTD/claude-flightdeck · ★ 2 · AI & Automation · score 78
Install: claude install-skill Maximumsoft-Co-LTD/claude-flightdeck
# /post-delegation-gate — 6-Gate Review (Mandatory) > **Announce on start:** open your reply with "Using /post-delegation-gate to run the 6 gates on this diff." Run after every coding subagent returns. **Skipping a gate is not permitted.** Canonical reference: `docs/playbooks/post-delegation-review.md`. ## Token budget (MANDATORY) - `git diff --stat` first, then targeted `git diff <files>` — never `git diff` the entire commit. - Reviewer subagents (Gate 4) get the diff + spec, not the whole repo. - Smoke test (Gate 6) output is captured verbatim (no summarization), but only the failing tail is re-Read. ## Gate 1 — Inspect (manual) ```bash git diff --stat HEAD~1..HEAD git diff HEAD~1..HEAD <changed-files> ``` - Read the actual diff. Do not trust the agent's summary. - If the diff includes files you did not authorize, **STOP and report.** - If the diff touches more lines than the task description implied, ask why. **Pass:** every changed file is justified by the task spec. **Fail** → fix → re-run Gate 1. ## Gate 2 — Build + Test In the touched component(s): ```bash <your build command> # e.g. make build, npm run build, go build ./... <your test command> # e.g. make test, npm test, go test ./... -race -count=1 ``` For multi-package repos: run the umbrella target. **Pass:** both exit 0; tests are deterministic (no flake, no cache hit hiding a failure). **Fail** → dispatch fix to the original implementer with the failure output → re-run Gate 2. ## Gate 3 — A