Skip to content
AID v2.3.0 is out.See what's new →
Skills

aid-define

  • name — aid-define
  • description — Feature decomposition and cross-reference validation from approved requirements. Begins from an approved REQUIREMENTS.md (produced by /aid-describe) and decomposes functional requirements into discrete feature folders with SPEC.md stubs (FEATURE-DECOMPOSITION), then validates the requirements and feature boundaries against the KB and codebase (CROSS-REFERENCE), then halts at DONE ready for /aid-specify. State machine: (Approved REQUIREMENTS) -> FEATURE-DECOMPOSITION -> CROSS-REFERENCE -> DONE [HALT -> /aid-specify].
  • allowed-tools — Read, Glob, Grep, Bash, Write, Edit
  • argument-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

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

canonical/skills/aid-define/SKILL.md#L230
| FEATURE-DECOMPOSITION | `references/state-feature-decomposition.md` | `aid-architect` | → CROSS-REFERENCE |

Source: canonical/skills/aid-define/SKILL.md#L230 · 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

canonical/skills/aid-define/SKILL.md#L231
| CROSS-REFERENCE | `references/state-cross-reference.md` | `aid-reviewer` | → DONE |

Source: canonical/skills/aid-define/SKILL.md#L231 · full step: canonical/skills/aid-define/references/state-cross-reference.md#L1-L36

3 · DONE — Interview is complete, approved, features decomposed, and… · exit · HALT

canonical/skills/aid-define/SKILL.md#L232
| DONE | `references/state-done.md` | `inline` | → halt |

Source: canonical/skills/aid-define/SKILL.md#L232 · full step: canonical/skills/aid-define/references/state-done.md#L1-L38

Report an issue with this page →