src/bmm-skills/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md
Validate domain-specific requirements are present for high-complexity domains (Healthcare, Fintech, GovTech, etc.), ensuring regulatory and compliance requirements are properly documented.
{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:
{domainComplexityData} (../data/domain-complexity.csv)
This CSV contains:
Internalize this data - it drives which domains require special compliance sections.
From PRD frontmatter, extract:
classification.domain - what domain is this PRD for?If no domain classification found: Treat as "general" (low complexity) and proceed to step 4
Low complexity domains (skip detailed checks):
High complexity domains (require special sections):
Attempt subprocess validation:
"Perform domain compliance validation for {domain}:
Based on {domain} requirements, check PRD for:
Healthcare:
Fintech:
GovTech:
Other regulated domains:
For each required section:
Return compliance matrix with presence/adequacy assessment."
Graceful degradation (if no Task tool):
Append to validation report:
## Domain Compliance Validation
**Domain:** {domain}
**Complexity:** Low (general/standard)
**Assessment:** N/A - No special domain compliance requirements
**Note:** This PRD is for a standard domain without regulatory compliance requirements.
Display: "Domain Compliance Validation Skipped
Domain: {domain} (low complexity)
Proceeding to next validation check..."
Without delay, read fully and follow: {nextStepFile}
Append to validation report:
## Domain Compliance Validation
**Domain:** {domain}
**Complexity:** High (regulated)
### Required Special Sections
**{Section 1 Name}:** [Present/Missing/Adequate]
{If missing or inadequate: Note specific gaps}
**{Section 2 Name}:** [Present/Missing/Adequate]
{If missing or inadequate: Note specific gaps}
[Continue for all required sections]
### Compliance Matrix
| Requirement | Status | Notes |
|-------------|--------|-------|
| {Requirement 1} | [Met/Partial/Missing] | {Notes} |
| {Requirement 2} | [Met/Partial/Missing] | {Notes} |
[... continue for all requirements]
### Summary
**Required Sections Present:** {count}/{total}
**Compliance Gaps:** {count}
**Severity:** [Critical if missing regulatory sections, Warning if incomplete, Pass if complete]
**Recommendation:**
[If Critical] "PRD is missing required domain-specific compliance sections. These are essential for {domain} products."
[If Warning] "Some domain compliance sections are incomplete. Strengthen documentation for full compliance."
[If Pass] "All required domain compliance sections are present and adequately documented."
Display: "Domain Compliance Validation Complete
Domain: {domain} ({complexity}) Compliance Status: {status}
Proceeding to next validation check..."
Without delay, read fully and follow: {nextStepFile} (step-v-09-project-type-validation.md)
Master Rule: Domain compliance is conditional. High-complexity domains require special sections - low complexity domains skip these checks.