src/bmm-skills/1-analysis/bmad-product-brief/prompts/contextual-discovery.md
Language: Use {communication_language} for all output.
Output Language: Use {document_output_language} for documents.
Output Location: {planning_artifacts}
Paths: Bare paths (e.g. agents/foo.md) resolve from the skill root.
Goal: Armed with the user's stated intent, intelligently gather and synthesize all available context — documents, project knowledge, and web research — so later stages work from a rich, relevant foundation.
Now that you know what the brief is about, fan out subagents in parallel to gather context. Each subagent receives the product intent summary so it knows what's relevant.
Launch in parallel:
Artifact Analyzer (agents/artifact-analyzer.md) — Scans {planning_artifacts} and {project_knowledge} for relevant documents. Also scans any specific paths the user provided. Returns structured synthesis of what it found.
Web Researcher (agents/web-researcher.md) — Searches for competitive landscape, market context, trends, and relevant industry data. Returns structured findings scoped to the product domain.
If subagents are unavailable or fail:
Once subagent results return (or inline scanning completes):
Guided mode:
prompts/guided-elicitation.mdYolo mode:
prompts/draft-and-review.md — you have enough to draftHeadless mode:
prompts/draft-and-review.mdThis stage is complete when subagent results (or inline scanning fallback) have returned and findings are merged with user context. Route per mode:
prompts/guided-elicitation.mdprompts/draft-and-review.md