{% requirement %}
Attributes
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | ✓ | Unique kebab-case id within the feature (e.g., 'save-url') |
priority | enum | — | MoSCoW priority: must | should | could | wont |
tags | string | — | Space-separated list of architectural tags (e.g., 'performance ui') |
Valid Parent Contexts
This tag is valid inside: {% feature %}, {% manifest %}
Defines a granular product requirement. Requirements are the primary unit of traceability in StarSpec and should be referenced by acceptance criteria.
Single requirement inside a feature tag
{% feature id="add-bookmark" roles="user" %} {% requirement id="save-bookmark" priority="must" tags="core" %} The system must allow users to save bookmarks. {% /requirement %}{% /feature %}