Write Specification
sdd_write_specGenerates a SPECIFICATION.md file by validating and writing requirements in EARS notation. Produces structured specifications for feature development.
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) |