name: 'step-05-domain' description: 'Explore domain-specific requirements for complex domains (optional step)'
workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
thisStepFile: '{workflow_path}/steps/step-05-domain.md' nextStepFile: '{workflow_path}/steps/step-06-innovation.md' workflowFile: '{workflow_path}/workflow.md' outputFile: '{planning_artifacts}/prd.md'
domainComplexityCSV: '{workflow_path}/domain-complexity.csv'
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
Progress: Step 5 of 11 - Next: Innovation Focus
🛑 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 domain-specific requirements and compliance needs
🎯 OPTIONAL STEP: Only proceed if complexity_level = "high" from step-02
✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config {communication_language}
stepsCompleted: [1, 2, 3, 4, 5] before loading next stepThis step will generate content and present choices:
Before proceeding with this step, verify:
complexity_level from step-02 equal to "high" and/or does the domain have specific regulatory/compliance needs?If NO to these questions, skip this step and load {project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md.
Explore domain-specific requirements for complex domains that need specialized compliance, regulatory, or industry-specific considerations.
Load domain-specific configuration for complex domains:
{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv completelydomain matches the detected domain from step-02key_concerns (semicolon-separated list)required_knowledge (domain expertise needed)web_searches (suggested research queries)special_sections (domain-specific sections to document)Start by explaining why this step is needed: "Since {{project_name}} is in the {domain} domain with high complexity, we need to explore domain-specific requirements.
Key Concerns for {domain}: [List the key_concerns from CSV]
This step will help us understand regulatory requirements, compliance needs, and industry-specific constraints that will shape our product."
For each concern in key_concerns from the CSV:
Example for Healthcare Domain: If key_concerns = "FDA approval;Clinical validation;HIPAA compliance;Patient safety;Medical device classification;Liability"
Ask about each:
Based on the conversation, synthesize domain requirements that will shape everything:
Explain how these inform:
Prepare the content to append to the document:
When saving to document, append these Level 2 and Level 3 sections:
## Domain-Specific Requirements
### [Domain Name] Compliance & Regulatory Overview
[Domain context summary based on conversation]
### Key Domain Concerns
[Key concerns addressed based on conversation]
### Compliance Requirements
[Compliance requirements based on conversation]
### Industry Standards & Best Practices
[Industry standards based on conversation]
### Required Expertise & Validation
[Required knowledge and validation based on conversation]
### Implementation Considerations
[Implementation implications based on conversation]
Parse special_sections list from the matched CSV row. For each section name, generate corresponding subsections:
Example mappings from CSV:
Show the generated domain content and present choices: "I've documented the {domain}-specific requirements that will shape {{project_name}}. These constraints are critical for success in this complex domain.
Here's what I'll add to the document:
[Show the complete markdown content from step 6]
What would you like to do? [A] Advanced Elicitation - Let's dive deeper into these domain requirements [P] Party Mode - Bring domain expertise perspectives to validate requirements [C] Continue - Save this and move to Innovation Focus (Step 6 of 11)"
{outputFile}{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.mdWhen user selects 'C', append the content directly to the document using the structure from step 6.
✅ Domain complexity properly validated as high before proceeding ✅ All key concerns from CSV explored with user input ✅ Compliance requirements clearly documented ✅ Domain expertise needs identified and documented ✅ Special sections generated per CSV configuration ✅ A/P/C menu presented and handled correctly ✅ Content properly appended to document when C selected
❌ Proceeding with domain exploration when complexity is not high ❌ Not loading or using CSV domain configuration properly ❌ Missing critical domain concerns from the key_concerns list ❌ Not connecting domain requirements to product implications ❌ Generating generic content without domain-specific details ❌ 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
Skip this step and load {project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md if:
complexity_level from step-02 is not "high"After user selects 'C' and content is saved to document, load {project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md.
Remember: Do NOT proceed to step-06 until user explicitly selects 'C' from the A/P/C menu and content is saved!