Write Specification
sdd_write_specGenerates a SPECIFICATION.md file with validated requirements in EARS notation from discovery answers and feature details.
Instructions
Generates and writes SPECIFICATION.md with all requirements in EARS notation. Validates each requirement against EARS patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Overwrite existing files if true | |
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |
| feature_name | Yes | Human-readable feature name | |
| requirements | Yes | Requirements in EARS notation | |
| feature_number | No | Feature number (zero-padded, e.g. '001') | 001 |
| discovery_answers | Yes | Answers to discovery questions (question_id → answer) |