aa-execute-epic
Skill3 starsChanged 5 months agoMITView on GitHub
Use when a sliced epic (story cards already written) is ready to build, or the user invokes /aa-execute-epic.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- aa-autopilotSkill
- aa-grillSkill
- aa-helpSkill
- aa-importSkill
- aa-new-projectSkill
- aa-panelSkill
- aa-plan-epicSkill
- aa-resumeSkill
- aa-reviewSkill
- aa-statusSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Read playbooks/execution.md sections "Wave 0 — contracts", "Pre-flight", "Wave 1 — stories", "Wave 2 — integrate", "Verification", and "The …
- Distinctive: line 34
Never write application code in this skill's own context — every artifact comes from a spawned subagent.
- Distinctive: line 37
Never fake a credential or silently mock a missing paid service to get past a blocked prerequisite — that is always the …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
aa-execute-epic
Resolve the Agent-Agile playbook root: use the first of these that exists — (1) ${CLAUDE_PLUGIN_ROOT}/playbooks, (2) ./.claude/agent-agile/playbooks, (3) ./.agents/agent-agile/playbooks, (4) ~/.claude/agent-agile/playbooks, (5) ~/.agents/agent-agile/playbooks, (6) ./playbooks.
Read playbooks/execution.md sections "Wave 0 — contracts", "Pre-flight", "Wave 1 — stories", "Wave 2 — integrate", "Verification", and "The review gate", and follow them exactly; do not re-derive or improvise the sequence.
This skill stays lean: it dispatches subagents and collects their output. It never writes application code itself.
Wiring
- Wave 0 — contracts. Spawn a fresh
aa-contractorsubagent with the model configured for the smart tier in.planning/CONFIG.md. Give it every story card'sContracts consumedfield. It writes.planning/epics/EPIC-NN/CONTRACTS.md. Once written, treat it as frozen — do not let any later step edit it. - Pre-flight. Both checks must pass before Wave 1 launches:
- Run the collision check:
node <playbook-root>/../scripts/collision-check.js <epic-dir>, where<playbook-root>is the playbook root resolved above (in a source checkout of this repo that is simplynode scripts/collision-check.js <epic-dir>). A clean run exits 0 with{"ok":true}. A collision exits 1 with a JSON report naming every contested file and the stories that claim it. On a collision, refuse to launch Wave 1 — report the exact colliding files and stories, and send the epic back to slicing so the shared file moves intoCONTRACTS.mdor the stories get merged. - Read
.planning/PREREQS.md. Every row must beverified, ordonein the specific case whereverifiedisn't actually checkable. Run any stated verification command now — don't trust the checkbox. Apendingrow, or adonerow whose verification command fails, blocks launch: stop and treat it exactly like the missing-prerequisite circuit breaker inplaybooks/execution.md"Circuit breakers" rather than pushing forward. - Print the readiness dashboard from
playbooks/execution.md"Pre-flight" — the gate table (contracts pinned, collisions, prerequisites, graders on every card, control-set size) and its CLEARED/BLOCKED verdict — before dispatching anything. Any ✗ row is the refuse behavior above; the dashboard renders the decision, it never softens it.
- Run the collision check:
- Wave 1 — stories. Spawn one fresh
aa-workersubagent per story card, in parallel, each with the model configured for the cheap tier in.planning/CONFIG.md. Give each worker exactly two inputs — its own story card andCONTRACTS.md— nothing else: no other story's card, no wider exploration mandate. Each worker builds against itsFiles it ownslist, runs its own acceptance check, and writes.planning/epics/EPIC-NN/stories/SN.report.mdas a typed report fromplaybooks/templates/REPORT.md. A failed check starts the worker's bounded repair loop — fix and re-run, up to 3 repair rounds within the same dispatch; only an exhausted loop reportsFAIL, and that story is flagged and not merged. - Wave 2 — integrate. Spawn a fresh
aa-integratorsubagent with the model configured for the smart tier in.planning/CONFIG.md. It parses everySN.report.md's typed fields (flagging mechanically: FAIL status, files touched outside ownership, deviations, contract change requests), wires the cross-story seams, runs the epic-level acceptance check (the demo sentence, exercised for real — with up to 3 seam-repair rounds on failures it owns), runs every row of.planning/CONTROL.mdwhen the file exists, writesDEMO.mdandLEARNINGS.md, flips the epic'sROADMAP.mdrow, and updatesSTATE.md. Any flagged story from Wave 1 is its problem to resolve or note inLEARNINGS.md— never quietly dropped from the merge. - Verification. Spawn a fresh
aa-verifiersubagent with the model configured for the smart tier in.planning/CONFIG.md— someone who wrote none of the epic's code. It checks whether the demo sentence is actually true, re-runs acceptance checks rather than trusting the reports, pokes the edge cases inDEMO.md's "what to look for" section, and returns a plain verdict: pass, or a redo-list of specific findings. - The review gate. Present
DEMO.mdand the verifier's verdict at the gate, per the mode set in.planning/CONFIG.md'sgatefield (interactive/checkpoint/full-auto — seeplaybooks/execution.md"Autopilot" for what each mode means for who reads the gate). The gate has exactly three outcomes:- Approve — the epic is done. Append its epic-level check to
.planning/CONTROL.md(create fromplaybooks/templates/CONTROL.mdon first approval). - Redo — convert every tip and finding into a new, concrete acceptance check on the specific story or stories it affects, re-run Wave 1 for those stories and Wave 2 to re-integrate, then verify again. If the redo-list qualifies for the scoped redo in
playbooks/execution.md"The review gate" (every finding file-specific, all files owned by one story, contracts untouched), take that path instead: one cheap-tier fix worker plus re-verification, no wave re-run — one scoped attempt only, then escalate to the full redo. - Replan — send the epic back to slicing entirely; the roadmap after it gets re-examined.
- Approve — the epic is done. Append its epic-level check to
Hard rules
- Never write application code in this skill's own context — every artifact comes from a spawned subagent.
- A worker never receives another story's card or open-ended exploration latitude; if a card can't be completed from just its card and
CONTRACTS.md, that is a slicing defect, not something to patch around here. - A collision or an unverified prerequisite is a full refuse, never a "proceed carefully."
- Never fake a credential or silently mock a missing paid service to get past a blocked prerequisite — that is always the missing-prerequisite circuit breaker, not a workaround.
CONTRACTS.mdis frozen once Wave 0 writes it; route any correction through Wave 2 or a redo, never a mid-wave edit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

