name: 'step-09-functional'
description: 'Synthesize all discovery into comprehensive functional requirements'
File References
nextStepFile: './step-10-nonfunctional.md'
outputFile: '{planning_artifacts}/prd.md'
Task References
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
Step 9: Functional Requirements Synthesis
Progress: Step 9 of 11 - Next: Non-Functional Requirements
MANDATORY EXECUTION RULES (READ FIRST):
🛑 NEVER generate content without user input
📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
✅ ALWAYS treat this as collaborative discovery between PM peers
📋 YOU ARE A FACILITATOR, not a content generator
💬 FOCUS on creating comprehensive capability inventory for the product
🎯 CRITICAL: This is THE CAPABILITY CONTRACT for all downstream work
✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config {communication_language}
EXECUTION PROTOCOLS:
- 🎯 Show your analysis before taking any action
- ⚠️ Present A/P/C menu after generating functional requirements
- 💾 ONLY save when user chooses C (Continue)
- 📖 Update output file frontmatter, adding this step name to the end of the list of stepsCompleted
- 🚫 FORBIDDEN to load next step until C is selected
CONTEXT BOUNDARIES:
- Current document and frontmatter from previous steps are available
- ALL previous content (executive summary, success criteria, journeys, domain, innovation, project-type) must be referenced
- No additional data files needed for this step
- Focus on capabilities, not implementation details
CRITICAL IMPORTANCE:
This section defines THE CAPABILITY CONTRACT for the entire product:
- UX designers will ONLY design what's listed here
- Architects will ONLY support what's listed here
- Epic breakdown will ONLY implement what's listed here
- If a capability is missing from FRs, it will NOT exist in the final product
FUNCTIONAL REQUIREMENTS SYNTHESIS SEQUENCE:
1. Understand FR Purpose and Usage
Start by explaining the critical role of functional requirements:
Purpose:
FRs define WHAT capabilities the product must have. They are the complete inventory of user-facing and system capabilities that deliver the product vision.
Critical Properties:
✅ Each FR is a testable capability
✅ Each FR is implementation-agnostic (could be built many ways)
✅ Each FR specifies WHO and WHAT, not HOW
✅ No UI details, no performance numbers, no technology choices
✅ Comprehensive coverage of capability areas
How They Will Be Used:
- UX Designer reads FRs → designs interactions for each capability
- Architect reads FRs → designs systems to support each capability
- PM reads FRs → creates epics and stories to implement each capability
2. Review Existing Content for Capability Extraction
Systematically review all previous sections to extract capabilities:
Extract From:
- Executive Summary → Core product differentiator capabilities
- Success Criteria → Success-enabling capabilities
- User Journeys → Journey-revealed capabilities
- Domain Requirements → Compliance and regulatory capabilities
- Innovation Patterns → Innovative feature capabilities
- Project-Type Requirements → Technical capability needs
3. Organize Requirements by Capability Area
Group FRs by logical capability areas (NOT by technology or layer):
Good Grouping Examples:
- ✅ "User Management" (not "Authentication System")
- ✅ "Content Discovery" (not "Search Algorithm")
- ✅ "Team Collaboration" (not "WebSocket Infrastructure")
Target 5-8 Capability Areas for typical projects.
4. Generate Comprehensive FR List
Create complete functional requirements using this format:
Format:
- FR#: [Actor] can [capability] [context/constraint if needed]
- Number sequentially (FR1, FR2, FR3...)
- Aim for 20-50 FRs for typical projects
Altitude Check:
Each FR should answer "WHAT capability exists?" NOT "HOW it's implemented?"
Examples:
- ✅ "Users can customize appearance settings"
- ❌ "Users can toggle light/dark theme with 3 font size options stored in LocalStorage"
5. Self-Validation Process
Before presenting to user, validate the FR list:
Completeness Check:
- "Did I cover EVERY capability mentioned in the MVP scope section?"
- "Did I include domain-specific requirements as FRs?"
- "Did I cover the project-type specific needs?"
- "Could a UX designer read ONLY the FRs and know what to design?"
- "Could an Architect read ONLY the FRs and know what to support?"
- "Are there any user actions or system behaviors we discussed that have no FR?"
Altitude Check:
- "Am I stating capabilities (WHAT) or implementation (HOW)?"
- "Am I listing acceptance criteria or UI specifics?" (Remove if yes)
- "Could this FR be implemented 5 different ways?" (Good - means it's not prescriptive)
Quality Check:
- "Is each FR clear enough that someone could test whether it exists?"
- "Is each FR independent (not dependent on reading other FRs to understand)?"
- "Did I avoid vague terms like 'good', 'fast', 'easy'?" (Use NFRs for quality attributes)
6. Generate Functional Requirements Content
Prepare the content to append to the document:
Content Structure:
When saving to document, append these Level 2 and Level 3 sections:
## Functional Requirements
### [Capability Area Name]
- FR1: [Specific Actor] can [specific capability]
- FR2: [Specific Actor] can [specific capability]
- FR3: [Specific Actor] can [specific capability]
### [Another Capability Area]
- FR4: [Specific Actor] can [specific capability]
- FR5: [Specific Actor] can [specific capability]
[Continue for all capability areas discovered in conversation]
7. Present MENU OPTIONS
Present the functional requirements for review, then display menu:
- Show synthesized functional requirements (using structure from step 6)
- Emphasize this is the capability contract for all downstream work
- Highlight that every feature must trace back to these requirements
- Ask if they'd like to refine further, get other perspectives, or proceed
- Present menu options naturally as part of conversation
What would you like to do?"
Display: "Select: [A] Advanced Elicitation [P] Party Mode [C] Continue to Non-Functional Requirements (Step 10 of 11)"
Menu Handling Logic:
- IF A: Execute {advancedElicitationTask} with the current FR list, process the enhanced capability coverage that comes back, ask user if they accept the additions, if yes update content then redisplay menu, if no keep original content then redisplay menu
- IF P: Execute {partyModeWorkflow} with the current FR list, process the collaborative capability validation and additions, ask user if they accept the changes, if yes update content then redisplay menu, if no keep original content then redisplay menu
- IF C: Append the final content to {outputFile}, update frontmatter by adding this step name to the end of the stepsCompleted array, then load, read entire file, then execute {nextStepFile}
- IF Any other: help user respond, then redisplay menu
EXECUTION RULES:
- ALWAYS halt and wait for user input after presenting menu
- ONLY proceed to next step when user selects 'C'
- After other menu items execution, return to this menu
APPEND TO DOCUMENT:
When user selects 'C', append the content directly to the document using the structure from step 6.
SUCCESS METRICS:
✅ All previous discovery content synthesized into FRs
✅ FRs organized by capability areas (not technology)
✅ Each FR states WHAT capability exists, not HOW to implement
✅ Comprehensive coverage with 20-50 FRs typical
✅ Altitude validation ensures implementation-agnostic requirements
✅ Completeness check validates coverage of all discussed capabilities
✅ A/P/C menu presented and handled correctly
✅ Content properly appended to document when C selected
FAILURE MODES:
❌ Missing capabilities from previous discovery sections
❌ Organizing FRs by technology instead of capability areas
❌ Including implementation details or UI specifics in FRs
❌ Not achieving comprehensive coverage of discussed capabilities
❌ Using vague terms instead of testable capabilities
❌ Not presenting A/P/C menu after content generation
❌ Appending content without user selecting 'C'
❌ CRITICAL: Reading only partial step file - leads to incomplete understanding and poor decisions
❌ CRITICAL: Proceeding with 'C' without fully reading and understanding the next step file
❌ CRITICAL: Making decisions without complete understanding of step requirements and protocols
CAPABILITY CONTRACT REMINDER:
Emphasize to user: "This FR list is now binding. Any feature not listed here will not exist in the final product unless we explicitly add it. This is why it's critical to ensure completeness now."
NEXT STEP:
After user selects 'C' and content is saved to document, load {nextStepFile} to define non-functional requirements.
Remember: Do NOT proceed to step-10 until user explicitly selects 'C' from the A/P/C menu and content is saved!