src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md
Apply changes to the PRD following the approved change plan from step e-02, including content updates, structure improvements, and format conversion if needed.
{communication_language}{document_output_language}CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
From step e-02, retrieve:
Display: "Starting PRD Edits
Change Plan: {summary} Total Changes: {count} Estimated Effort: {effort level}
Proceeding with edits section by section..."
Try to use Task tool with sub-agent for major sections:
"Execute PRD edits for {section_name}:
Context:
Tasks:
Apply changes and return updated section."
Graceful degradation (if no Task tool):
For each section in approved plan (in priority order):
a) Load current section
b) Apply changes per plan
c) Update PRD file
Display progress after each section: "Section Updated: {section_name} Changes: {brief summary} {More sections remaining...}"
If conversion mode is "Full restructuring" or "Both":
For restructuring:
Follow BMAD PRD structure:
Display: "PRD Restructured BMAD standard structure applied. {Sections added/reordered}"
Ensure frontmatter is complete and accurate:
---
workflowType: 'prd'
workflow: 'create' # or 'validate' or 'edit'
classification:
domain: '{domain}'
projectType: '{project_type}'
complexity: '{complexity}'
inputDocuments: [list of input documents]
stepsCompleted: ['step-e-01-discovery', 'step-e-02-review', 'step-e-03-edit']
lastEdited: '{current_date}'
editHistory:
- date: '{current_date}'
changes: '{summary of changes}'
---
Update frontmatter accordingly.
Load complete updated PRD
Verify:
If issues found:
If user wants adjustments:
Display:
"PRD Edits Complete
Changes Applied: {count} sections modified PRD Updated: {prd_file_path}
Summary of Changes: {Brief bullet list of major changes}
PRD is ready for:
What would you like to do next?"
[V] Run Validation - Execute full validation workflow (./steps-v/step-v-01-discovery.md) [S] Summary Only - End with summary of changes (no validation) [A] Adjust - Make additional edits [X] Exit - Exit edit workflow
./steps-v/step-v-01-discovery.mdMaster Rule: Execute the plan exactly as approved. PRD is now ready for validation or downstream use. Validation integration ensures quality.