aide:spec -- AIDE: Autonomous Intent-Driven Engineering
- Published
- Source commit
5e7817d
/aide:spec — Spec Phase
Agent: This command is executed by the
aide-spec-writeragent.
Produce the .aide intent spec frontmatter only. This is the spec-writing phase — the session that distills the orchestrator's delegation context into a falsifiable intent contract. The orchestrator owns the user conversation and passes the gathered context in the delegation prompt. Body sections (Context, Strategy, examples) are filled later by the strategist in /aide:synthesize after research is complete.
Checklist
- Read the delegation context from the orchestrator. If insufficient to write specific outcomes (missing: what the module is for, who consumes its output, what success looks like, what failure looks like), return to the orchestrator listing what's missing
- Read the AIDE template before writing — copy the fenced template block from the canonical template doc into the new file
- Decide filename:
- Use
.aideif noresearch.aideexists in the target folder - Use
intent.aideifresearch.aideexists in the same folder (co-located research is an escape hatch — prefer the brain)
- Use
- Fill the frontmatter ONLY:
scope— the module path this spec governsintent— one paragraph, plain language, ten-second north staroutcomes.desired— concrete, falsifiable success criteriaoutcomes.undesired— failure modes, especially the almost-right-but-wrong kind
- Leave body sections (
## Context,## Strategy,## Good examples,## Bad examples) as empty placeholders — the strategist fills these in/aide:synthesize - No code in the spec — no file paths, no type signatures, no function names
- Every
outcomesentry must trace back to theintentparagraph. Cut any outcome that doesn't - Present the frontmatter to the orchestrator for relay to the user
- Run
aide_validateto check the spec for structural issues - Hand off to
/aide:researchif domain knowledge is needed, or/aide:synthesizeif the brain already has sufficient research