908 B
908 B
description, scripts
| description | scripts | ||||
|---|---|---|---|---|---|
| Create or update the feature specification from a natural language feature description. |
|
Given the feature description provided as an argument, do this:
- Run the script
{SCRIPT}from repo root and parse its JSON output for BRANCH_NAME and SPEC_FILE. All file paths must be absolute. - Load
templates/spec-template.mdto understand required sections. - Write the specification to SPEC_FILE using the template structure, replacing placeholders with concrete details derived from the feature description (arguments) while preserving section order and headings.
- Report completion with branch name, spec file path, and readiness for the next phase.
Note: The script creates and checks out the new branch and initializes the spec file before writing.