src/bmm-skills/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md
Handle fresh context validation by confirming PRD path, discovering and loading input documents from frontmatter, and initializing the validation report.
{communication_language}CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
Load and read the complete file at:
{prdPurpose}
This file contains the BMAD PRD philosophy, standards, and validation criteria that will guide all validation checks. Internalize this understanding - it defines what makes a great BMAD PRD.
If PRD path provided as invocation parameter:
If no PRD path provided, auto-discover:
{planning_artifacts} for files matching *prd*.md{planning_artifacts}/*prd*/*.mdIf exactly ONE PRD found:
If MULTIPLE PRDs found:
If NO PRDs found:
Once PRD path is provided:
From the loaded PRD frontmatter, extract:
inputDocuments: [] array (if present)If no inputDocuments array exists: Note this and proceed with PRD-only validation
For each document listed in inputDocuments:
Build list of loaded input documents:
"I've loaded the following documents from your PRD frontmatter:
{list loaded documents with file names}
Are there any additional reference documents you'd like me to include in this validation?
These could include:
Please provide paths to any additional documents, or type 'none' to proceed."
Load any additional documents provided by user.
Create validation report at: {validationReportPath}
Initialize with frontmatter:
---
validationTarget: '{prd_path}'
validationDate: '{current_date}'
inputDocuments: [list of all loaded documents]
validationStepsCompleted: []
validationStatus: IN_PROGRESS
---
Initial content:
# PRD Validation Report
**PRD Being Validated:** {prd_path}
**Validation Date:** {current_date}
## Input Documents
{list all documents loaded for validation}
## Validation Findings
[Findings will be appended as validation progresses]
"Setup Complete!
PRD to Validate: {prd_path}
Input Documents Loaded:
Validation Report: {validationReportPath}
Ready to begin validation."
Display: Select an Option: [A] Advanced Elicitation [P] Party Mode [C] Continue to Format Detection
bmad-advanced-elicitation skill, and when finished redisplay the menubmad-party-mode skill, and when finished redisplay the menuMaster Rule: Complete discovery and setup BEFORE validation. This step ensures everything is in place for systematic validation checks.