aid-define
Frontmatter
Section titled “Frontmatter”name— aid-definedescription— Decompose approved requirements into discrete feature folders, each with its own SPEC.md stub. Use this skill once/aid-describehas produced an approved REQUIREMENTS.md and the work needs splitting into features before any one of them is specified. It turns each functional requirement into a feature, then validates the requirements and the feature boundaries against the Knowledge Base and the codebase, and halts ready for/aid-specify.allowed-tools— Read, Glob, Grep, Bash, Write, Editargument-hint— [work-001] decompose approved requirements [—features work-001] re-run feature decomposition
Definition: canonical/skills/aid-define/SKILL.md
flowchart TB classDef aidNode color:#fff classDef aidEntry fill:#166534,stroke:#14532d,color:#fff classDef aidExit fill:#991b1b,stroke:#7f1d1d,color:#fff classDef aidDecision fill:#92400e,stroke:#78350f,color:#fff classDef aidLoopBack fill:#1e3a8a,stroke:#1e3a8a,color:#fff classDef aidStep fill:#1a2035,stroke:#d4a853,color:#f1f5f9 n1(["FEATURE-DECOMPOSITION<br/>Requirements are approved and no feature folders exist yet…"]) n2["CROSS-REFERENCE<br/>Requirements are approved and features exist but…"] n3(["DONE<br/>Interview is complete, approved, features decomposed, and…"]) n1 -. "otherwise" .- n1 n1 -->|"when decomposition completes"| n2 n2 -. "otherwise" .- n2 n2 -->|"when cross-reference completes"| n3 class n1 aidEntry class n2 aidLoopBack class n3 aidExit class n1 aidNode class n2 aidNode class n3 aidNode
Source fragments
Section titled “Source fragments”Every node in the chart above, in chart order, with the exact canonical/ text it was derived from.
1 · FEATURE-DECOMPOSITION — Requirements are approved and no feature folders exist yet… · entry
| FEATURE-DECOMPOSITION | `references/state-feature-decomposition.md` | `aid-architect` | → CROSS-REFERENCE |Source: canonical/skills/aid-define/SKILL.md#L238 · full step: canonical/skills/aid-define/references/state-feature-decomposition.md#L1-L21
2 · CROSS-REFERENCE — Requirements are approved and features exist but… · loop-back
| CROSS-REFERENCE | `references/state-cross-reference.md` | `aid-reviewer` | → DONE |Source: canonical/skills/aid-define/SKILL.md#L239 · full step: canonical/skills/aid-define/references/state-cross-reference.md#L1-L42
3 · DONE — Interview is complete, approved, features decomposed, and… · exit · HALT
| DONE | `references/state-done.md` | `inline` | → halt |Source: canonical/skills/aid-define/SKILL.md#L240 · full step: canonical/skills/aid-define/references/state-done.md#L1-L38