# Claude Code Content Injection Configuration # This file defines content to be injected at specific points in BMAD files # when Claude Code is selected as the IDE during installation # # The installer will: # 1. Ask users if they want to install subagents (all/selective/none) # 2. Ask where to install (project-level .claude/agents/bmad/ or user-level ~/.claude/agents/bmad/) # 3. Only inject content related to selected subagents # 4. Templates stay in bmad/ directory and are referenced from there # 5. Injections are placed at specific sections where each subagent is most valuable injections: # ===== PRD WORKFLOW INJECTIONS ===== # PRD Subagent Instructions - file: "bmad/bmm/workflows/prd/instructions.md" point: "prd-subagent-instructions" requires: "all-prd-subagents" content: | **Subagent Usage**: Throughout this workflow, leverage specialized subagents at critical decision points: - Use `bmm-requirements-analyst` when defining functional requirements - Use `bmm-user-journey-mapper` for comprehensive journey mapping - Use `bmm-epic-optimizer` when structuring epic boundaries - Use `bmm-technical-decisions-curator` to capture all technical mentions # PRD Requirements Analysis - file: "bmad/bmm/workflows/prd/instructions.md" point: "prd-requirements-analysis" requires: "requirements-analyst" content: | **Subagent Hint**: Use `bmm-requirements-analyst` to validate requirements are testable and complete. # PRD User Journey Mapping - file: "bmad/bmm/workflows/prd/instructions.md" point: "prd-user-journey" requires: "user-journey-mapper" content: | **Subagent Hint**: Use `bmm-user-journey-mapper` to map all user types and their value paths. # PRD Epic Optimization - file: "bmad/bmm/workflows/prd/instructions.md" point: "prd-epic-optimization" requires: "epic-optimizer" content: | **Subagent Hint**: Use `bmm-epic-optimizer` to validate epic boundaries deliver coherent value. # PRD Document Review - file: "bmad/bmm/workflows/prd/instructions.md" point: "prd-checklist-review" requires: "document-reviewer" content: | **Subagent Hint**: Use `bmm-document-reviewer` to validate PRD completeness before finalizing. # Technical Decisions Curator - file: "bmad/bmm/workflows/prd/instructions.md" point: "technical-decisions-curator" requires: "technical-decisions-curator" content: | **Automatic Capture**: The `bmm-technical-decisions-curator` should be invoked whenever: - Technology, framework, or tool is mentioned - Architecture patterns are discussed - Infrastructure or deployment topics arise - Integration requirements are specified # ===== MARKET RESEARCH TEMPLATE INJECTIONS ===== # Market TAM/SAM/SOM Calculations - file: "bmad/bmm/templates/market.md" point: "market-tam-calculations" requires: "data-analyst" content: | MANDATORY: Use the 'bmm-data-analyst' subagent to perform all TAM, SAM, and SOM calculations. The subagent will apply proper methodologies, validate assumptions, and provide defensible market sizing. # Market Trends Analysis - file: "bmad/bmm/templates/market.md" point: "market-trends-analysis" requires: "trend-spotter" content: | MANDATORY: Use the 'bmm-trend-spotter' subagent to identify and analyze emerging market trends. The subagent will detect disruption signals, technology shifts, and future opportunities. # Market Customer Personas - file: "bmad/bmm/templates/market.md" point: "market-customer-segments" requires: "user-researcher" content: | MANDATORY: Use the 'bmm-user-researcher' subagent to develop detailed customer segment profiles and personas. The subagent will analyze behavior patterns, needs, and journey maps for each segment. # Market Research Review - file: "bmad/bmm/templates/market.md" point: "market-executive-summary" requires: "document-reviewer" content: | MANDATORY: Before finalizing the executive summary, use the 'bmm-document-reviewer' subagent to validate all market research findings and ensure data accuracy. # ===== COMPETITOR ANALYSIS TEMPLATE INJECTIONS ===== # Competitor Intelligence Gathering - file: "bmad/bmm/templates/competitor.md" point: "competitor-intelligence" requires: "market-researcher" content: | MANDATORY: Use the 'bmm-market-researcher' subagent to gather comprehensive competitive intelligence for each competitor profile. The subagent will analyze positioning, strategy, and market dynamics. # Competitor Technical Analysis - file: "bmad/bmm/templates/competitor.md" point: "competitor-tech-stack" requires: "technical-evaluator" content: | MANDATORY: Use the 'bmm-technical-evaluator' subagent to analyze and compare competitor technology stacks. The subagent will identify technical differentiators and architectural advantages. # Competitor Metrics Analysis - file: "bmad/bmm/templates/competitor.md" point: "competitor-metrics" requires: "data-analyst" content: | MANDATORY: Use the 'bmm-data-analyst' subagent to analyze competitor performance metrics and market share data. # Competitor Analysis Review - file: "bmad/bmm/templates/competitor.md" point: "competitor-executive-summary" requires: "document-reviewer" content: | MANDATORY: Before finalizing, use the 'bmm-document-reviewer' subagent to validate competitive analysis completeness and strategic recommendations. # ===== PROJECT BRIEF TEMPLATE INJECTIONS ===== # Brief Problem Validation - file: "bmad/bmm/templates/brief.md" point: "brief-problem-validation" requires: "market-researcher" content: | IF market research has not been provided as input, MANDATORY: Use the 'bmm-market-researcher' subagent to validate the problem statement and assess market opportunity. # Brief Target User Analysis - file: "bmad/bmm/templates/brief.md" point: "brief-user-analysis" requires: "user-researcher" content: | IF target user analysis has not been provided, MANDATORY: Use the 'bmm-user-researcher' subagent to develop detailed user profiles and validate user needs. # Brief Success Metrics - file: "bmad/bmm/templates/brief.md" point: "brief-success-metrics" requires: "data-analyst" content: | MANDATORY: Use the 'bmm-data-analyst' subagent to define and validate KPIs, success metrics, and measurement approaches. # Brief Technical Feasibility - file: "bmad/bmm/templates/brief.md" point: "brief-technical-feasibility" requires: "technical-evaluator" content: | IF technical assumptions need validation, use the 'bmm-technical-evaluator' subagent to assess feasibility and identify technical risks. # Brief Requirements Extraction - file: "bmad/bmm/templates/brief.md" point: "brief-requirements" requires: "requirements-analyst" content: | MANDATORY: Use the 'bmm-requirements-analyst' subagent to extract initial high-level requirements from the brief content. # Brief Document Review - file: "bmad/bmm/templates/brief.md" point: "brief-final-review" requires: "document-reviewer" content: | MANDATORY: Before finalizing the brief, use the 'bmm-document-reviewer' subagent to ensure completeness and internal consistency. # Subagents to copy subagents: source: "sub-agents" target: ".claude/agents" files: - "market-researcher.md" - "requirements-analyst.md" - "technical-evaluator.md" - "epic-optimizer.md" - "document-reviewer.md" - "codebase-analyzer.md" - "dependency-mapper.md" - "pattern-detector.md" - "tech-debt-auditor.md" - "api-documenter.md" - "test-coverage-analyzer.md" - "user-researcher.md" - "user-journey-mapper.md" - "technical-decisions-curator.md" - "data-analyst.md" - "trend-spotter.md"