src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-01-document-discovery.md
To discover, inventory, and organize all project documents, identifying duplicates and determining which versions to use for the assessment.
{communication_language}"Beginning Document Discovery to inventory all project files.
I will:
Search for each document type using these patterns:
{planning_artifacts}/*prd*.md{planning_artifacts}/*prd*/index.md and related files{planning_artifacts}/*architecture*.md{planning_artifacts}/*architecture*/index.md and related files{planning_artifacts}/*epic*.md{planning_artifacts}/*epic*/index.md and related files{planning_artifacts}/*ux*.md{planning_artifacts}/*ux*/index.md and related filesFor each document type found:
## [Document Type] Files Found
**Whole Documents:**
- [filename.md] ([size], [modified date])
**Sharded Documents:**
- Folder: [foldername]/
- index.md
- [other files in folder]
If both whole and sharded versions exist:
ā ļø CRITICAL ISSUE: Duplicate document formats found
- PRD exists as both whole.md AND prd/ folder
- YOU MUST choose which version to use
- Remove or rename the other version to avoid confusion
If required documents not found:
ā ļø WARNING: Required document not found
- Architecture document not found
- Will impact assessment completeness
Initialize {outputFile} with ../templates/readiness-report-template.md.
Display findings and ask: "Document Discovery Complete
[Show organized file list]
Issues Found:
Required Actions:
Ready to proceed? [C] Continue after resolving issues"
Display: Select an Option: [C] Continue to File Validation
ONLY WHEN C is selected and document inventory is saved will you load ./step-02-prd-analysis.md to begin file validation.
Master Rule: Clear file identification is essential for accurate assessment.