Generate Spec
vdd_specifyGenerate a tactical action item spec with user stories, acceptance criteria, MoSCoW priorities, and impact checks. Overwrites the spec file; pass an actionItemId or description.
Instructions
VDD Phase 4: Generate vdd/specs//spec.md for one tactical action item — user stories, Always/Ask/Never boundaries, Given/When/Then acceptance criteria (AC), MoSCoW priorities, non-functional requirements, and impact verification. Overwrites the spec file. Pass actionItemId (e.g. "A-001") or a freeform description to skip the V/S/T chain. Use for a NEW spec; to resolve leftover [NEEDS CLARIFICATION] markers in an existing spec use vdd_clarify instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature | No | Feature name (spec directory name) | |
| description | No | Freeform description input | |
| projectRoot | No | Project root: directory that constitution.md and the vdd/ folder are written to and resolved against (default ".") | . |
| actionItemId | No | Tactical action item ID (e.g., "A-001") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _sdt | Yes | Strategy-and-Tactic instructions for the next step | |
| error | No | Error message when the phase fails | |
| _phase | Yes | VDD phase that produced this result | |
| output | No | Additional structured phase output | |
| success | Yes | Whether the phase completed successfully | |
| artifact | No | Primary artifact produced or returned | |
| gateResult | No | Quality-gate result, when the phase runs a gate |