Creates structured requirements documents through guided discovery, practical scoping, and consolidated output. Produces a single requirements.md with entities, workflows, constraints, and acceptance criteria following the established feature development process.
Structured command to help create a requirements document by guiding through requirements discovery, practical scoping, and generating a single, consolidated requirements document with clear, practical language.
Create a requirements document following the established feature development process. First, read the feature development guide at @~/.local/share/dotfiles/ai/guides/feature-development-process.md and the vision document at @vision.md to understand the feature scope and documentation approach.
Note: If the project has a local copy of the guide at @project/guides/feature-development-process.md, you may reference that instead for project-specific modifications.
IMPORTANT: Start by creating a TODO list to track the 3 phases of requirements creation. Mark the first phase as "in_progress" and others as "pending".
Single Consolidated Document (requirements.md) includes:
User Stories & Business Needs:
Business Data & Rules:
Quality Attributes & Constraints:
Integration & Success:
All requirements must use systematic ID prefixes for easy cross-referencing in specs, plans, and discussions.
| Prefix | Usage | Numbering |
|---|---|---|
US-X.X.X | User Stories | Section.Subsection.Item |
REQ-X.X.X | Requirements | Section.Subsection.Item |
SC-X | Success Criteria | Sequential number |
Format Examples:
**US-1.1.1**: As a staff member, I want to view custom field data...
**REQ-2.1.1**: The system must render form controls dynamically based on...
**SC-1**: Staff can view custom field values on detail pages.
Numbering Rules:
When gathering requirements, check if existing system capabilities apply:
Ask early: "Which of these existing capabilities might apply to this feature?"
Ask focused questions to gather ALL requirements (don't categorize yet):
ONE QUESTION AT A TIME - Wait for answers before proceeding.
For each discovered requirement, ask:
Create future.md for requirements that are:
Keep in current requirements only what is: