# Research Workflow Router Instructions The workflow execution engine is governed by: {project_root}/bmad/core/tasks/workflow.xml You MUST have already loaded and processed: {installed_path}/workflow.yaml Communicate all responses in {communication_language} This is a ROUTER that directs to specialized research instruction sets Check if {output_folder}/bmm-workflow-status.yaml exists No workflow status file found. Research is optional - you can continue without status tracking. Set standalone_mode = true Load the FULL file: {output_folder}/bmm-workflow-status.yaml Parse workflow_status section Check status of "research" workflow Get project_level from YAML metadata Find first non-completed workflow (next expected workflow) Pass status context to loaded instruction set for final update ⚠️ Research already completed: {{research status}} Re-running will create a new research report. Continue? (y/n) Exiting. Use workflow-status to see your next step. Exit workflow ⚠️ Next expected workflow: {{next_workflow}}. Research is out of sequence. Note: Research can provide valuable insights at any project stage. Continue with Research anyway? (y/n) Exiting. Run {{next_workflow}} instead. Exit workflow Set standalone_mode = false Welcome the user to the Research Workflow **The Research Workflow supports multiple research types:** Present the user with research type options: **What type of research do you need?** 1. **Market Research** - Comprehensive market analysis with TAM/SAM/SOM calculations, competitive intelligence, customer segments, and go-to-market strategy - Use for: Market opportunity assessment, competitive landscape analysis, market sizing - Output: Detailed market research report with financials 2. **Deep Research Prompt Generator** - Create structured, multi-step research prompts optimized for AI platforms (ChatGPT, Gemini, Grok, Claude) - Use for: Generating comprehensive research prompts, structuring complex investigations - Output: Optimized research prompt with framework, scope, and validation criteria 3. **Technical/Architecture Research** - Evaluate technology stacks, architecture patterns, frameworks, and technical approaches - Use for: Tech stack decisions, architecture pattern selection, framework evaluation - Output: Technical research report with recommendations and trade-off analysis 4. **Competitive Intelligence** - Deep dive into specific competitors, their strategies, products, and market positioning - Use for: Competitor deep dives, competitive strategy analysis - Output: Competitive intelligence report 5. **User Research** - Customer insights, personas, jobs-to-be-done, and user behavior analysis - Use for: Customer discovery, persona development, user journey mapping - Output: User research report with personas and insights 6. **Domain/Industry Research** - Deep dive into specific industries, domains, or subject matter areas - Use for: Industry analysis, domain expertise building, trend analysis - Output: Domain research report Select a research type (1-6) or describe your research needs: Capture user selection as {{research_type}} Based on user selection, load the appropriate instruction set Set research_mode = "market" LOAD: {installed_path}/instructions-market.md Continue with market research workflow Set research_mode = "deep-prompt" LOAD: {installed_path}/instructions-deep-prompt.md Continue with deep research prompt generation Set research_mode = "technical" LOAD: {installed_path}/instructions-technical.md Continue with technical research workflow Set research_mode = "competitive" This will use market research workflow with competitive focus LOAD: {installed_path}/instructions-market.md Pass mode="competitive" to focus on competitive intelligence Set research_mode = "user" This will use market research workflow with user research focus LOAD: {installed_path}/instructions-market.md Pass mode="user" to focus on customer insights Set research_mode = "domain" This will use market research workflow with domain focus LOAD: {installed_path}/instructions-market.md Pass mode="domain" to focus on industry/domain analysis The loaded instruction set will continue from here with full context of the {research_type}