feature-requirements¶
Interactive requirements collection that transforms high-level requirements into detailed specifications.
Synopsis¶
Description¶
The feature-requirements command guides you through defining detailed requirements for a feature. It uses structured clarification questions to resolve ambiguities and produces a comprehensive requirements specification.
Important: This command focuses on WHAT to build, not HOW. Technical implementation details are deferred to the design phase.
Parameters¶
| Parameter | Position | Required | Default | Description |
|---|---|---|---|---|
FEATURE_ID |
$1 |
Yes | - | Unique identifier for the feature |
EXTRA_CONTEXT |
$2 |
No | "" |
Additional context or initial requirements |
Output¶
Location: .rp1/work/features/<feature-id>/requirements.md
Contents:
- Feature overview
- Business context and success metrics
- Stakeholders and user types
- Scope definition (in/out)
- Functional requirements (REQ-xxx format)
- Non-functional requirements
- User stories (STORY-xxx format)
- Business rules
- Dependencies and constraints
Examples¶
Basic Usage¶
With Initial Context¶
Workflow¶
The command:
- Checks for existing charter/PRDs and offers to associate the feature
- Analyzes your initial requirements for ambiguities
- Asks clarifying questions (WHO, WHAT, CONSTRAINTS, SCOPE)
- Generates a structured requirements document
- Creates acceptance criteria for each requirement
PRD Integration¶
If project charter and PRDs exist (from blueprint), the command:
- Offers to associate the feature with a PRD
- Inherits scope context from the parent PRD
- Links back to project-level documentation
Related Commands¶
blueprint- Create project charter and PRDs firstfeature-design- Next step: technical design
See Also¶
- Feature Development Tutorial - Complete workflow