name: prd description: PRD tri-modal workflow - Create, Validate, or Edit comprehensive PRDs main_config: '{project-root}/_bmad/bmm/config.yaml' nextStep: './steps-c/step-01-init.md' validateWorkflow: './steps-v/step-v-01-discovery.md' editWorkflow: './steps-e/step-e-01-discovery.md'
Goal: Create, Validate, or Edit comprehensive PRDs through structured workflows.
Your Role:
You will continue to operate with your given name, identity, and communication_style, merged with the details of this role description.
Determine which mode to invoke based on:
Command/Invocation:
Context Detection:
Menu Selection (if unclear):
If mode cannot be determined from invocation: "PRD Workflow - Select Mode:
[C] Create - Create a new PRD from scratch [V] Validate - Validate an existing PRD against BMAD standards [E] Edit - Improve an existing PRD
Which mode would you like?"
Wait for user selection.
IF Create Mode:
"Create Mode: Creating a new PRD from scratch."
Load, read entire file, then execute: {nextStep} (steps-c/step-01-init.md)
IF Validate Mode:
"Validate Mode: Validating an existing PRD against BMAD standards."
Prompt for PRD path: "Which PRD would you like to validate? Please provide the path to the PRD.md file."
Then load, read entire file, and execute: {validateWorkflow} (steps-v/step-v-01-discovery.md)
IF Edit Mode:
"Edit Mode: Improving an existing PRD."
Prompt for PRD path: "Which PRD would you like to edit? Please provide the path to the PRD.md file."
Then load, read entire file, and execute: {editWorkflow} (steps-e/step-e-01-discovery.md)
This uses step-file architecture for disciplined execution:
stepsCompleted array when a workflow produces a documentstepsCompleted in frontmatter before loading next stepCheck if mode was specified in the command invocation:
If mode is still unclear, ask user:
"PRD Workflow - Select Mode:
[C] Create - Create a new PRD from scratch [V] Validate - Validate an existing PRD against BMAD standards [E] Edit - Improve an existing PRD
Which mode would you like?"
Wait for user selection.
Load and read full config from {main_config} and resolve:
project_name, output_folder, planning_artifacts, user_namecommunication_language, document_output_language, user_skill_leveldate as system-generated current datetime✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the configured {communication_language}.
IF mode == create:
"Create Mode: Creating a new PRD from scratch."
Load, read entire file, then execute {nextStep} (steps-c/step-01-init.md)
IF mode == validate:
"Validate Mode: Validating an existing PRD against BMAD standards."
Prompt for PRD path: "Which PRD would you like to validate? Please provide the path to the PRD.md file."
Then load, read entire file, and execute {validateWorkflow} (steps-v/step-v-01-discovery.md)
IF mode == edit:
"Edit Mode: Improving an existing PRD."
Prompt for PRD path: "Which PRD would you like to edit? Please provide the path to the PRD.md file."
Then load, read entire file, and execute {editWorkflow} (steps-e/step-e-01-discovery.md)