/approval-gates:test-planfrom Approval gates
Use when the developer types `/approval-gates:test-plan`, or answered Test first at an AI-DLC unit-end gate — write a test plan from the unit-end page's not-verified points, publish it in the "AI-DLC test plans" artifact, drive it section by section in chat, write the results to test-plan.md, and return to the unit-end gate (or fix the failures).
Ships in Approval gates. 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.
The developer wants to test the unit-end page's "Not verified yet" points before approving the Unit. The full procedure is
§ 7 of the approval-gates skill (skills/approval-gates/SKILL.md in this plugin); follow it step by step. In short:
bundles/<id> row in AI-DLC unit approvals; its bundle file is in the
bundle store, unit-end-latest.json, or in the scratch folder of the page you built). Read its picks
(test_plan.py now): the rows picked Test now, or all of them (say so) when none is.do, criteria — at least one short checkable sentence, numbered A.1.1, A.1.2 … on the page — and the V rows it verifies). test_plan.py publish validates it.test-plan.html, capabilities: {db: {}, user: {}}), put its link in the text of your next response, anywhere in it (a hook refuses every question until a text block carries it) and, in the same response, ask Do the agent step for A /
Change the plan.agentDone, ask Section A completed, go on / Change the plan; after the last, Test plan completed / Change the plan
(a question has at least two options). Read the page's results with ArtifactData before moving on.test_plan.py finish writes test-plan.md into the Unit's code-generation stage folder. No fails → republish the
unit-end page with unit_bundle.py draft --tested and ask the gate again. Fails → ask which to fix (an inline
question for one or two; a question-forms form for more); nothing to fix → the gate as above, with the failures
listed as left as known; something to fix → Request Changes through the engine's rejected report with those failures
and their notes in --reason.Paste material. Put what the developer must paste in a fenced block in the step's do, labelled for where it goes: ```Terminal, ```Claude Code (slash commands) or
```Ask Claude (prompts); inline code for a path or value. The page gives each block a Copy button.
Build and Test. At the Build and Test gate write one plan of every Unit's deferred points (test_plan.py collect) plus the stage's own manual checks: kind: "build-and-test",
sources, source ids in now and verifies; § 7b of the approval-gates skill. For a release project the first section tests from a throwaway tag or build and the last section cuts the real release, only after the rest passed.
Started with no unit-end page yet (the Unit is not built, or the gate has not opened): say so and stop; there is nothing to test. Per-stage gates and the plan page have no test plan.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub maksymskuibida/mskuibida-ai-tools --plugin approval-gates3 skills in this plugin
/approval-gatesUse at every AI-DLC approval gate (and, at a unit-end gate answered Test first, for the test plan of its not-verified points: § 7). First read aidlc/.aidlc-unit-scope.json: for the Code Generation plan approval and the unit-end gate of a Unit claimed with gate_rhythm "unit-end", and for the Code Generation plan approval of an intent with no Units (`--unit intent`), go straight to the unit-end flow (unit_bundle.py, a bundles/ row in "AI-DLC unit approvals"); every other gate follows the per-stage flow. At the gates that settle the components and the Units, and at a Unit's end, build the project map first (§ 8; map_bundle.py, a maps/ row in "AI-DLC maps"): the guard refuses the question without a current one. Per-stage flow: right after `aidlc engine orchestrate report --result awaiting-approval` (or `--result revised`) and before the Approval question — draft the stage's page, judge the stage against its rules in judgment.json (the evaluation, every criterion, a one-sentence summary and label per item), finalize, publish it in the developer's "AI-DLC approval gates" artifact and send its link in a message of its own before the gate question. Also when the review brief is printed with open findings (no Findings question: fix what is certain, put the rest on the gate page as cards the developer sorts), and when the developer answered, to read the notes and the finding sort they left in the page./release