LMS-BGN/.trae/rules/bmad-workflow-bmm-prd.md

2.1 KiB

prd Workflow Rule

This rule defines the prd workflow.

Workflow Description

Unified PRD workflow for BMad Method and Enterprise Method tracks. Produces strategic PRD and tactical epic breakdown. Hands off to architecture workflow for technical design. Note: Quick Flow track uses tech-spec workflow.

Workflow Definition

Product Requirements Document (PRD) Workflow

name: prd description: "Unified PRD workflow for BMad Method and Enterprise Method tracks. Produces strategic PRD and tactical epic breakdown. Hands off to architecture workflow for technical design. Note: Quick Flow track uses tech-spec workflow." author: "BMad"

Critical variables from config

config_source: "{project-root}/.bmad/bmm/config.yaml" project_name: "{config_source}:project_name" output_folder: "{config_source}:output_folder" user_name: "{config_source}:user_name" communication_language: "{config_source}:communication_language" document_output_language: "{config_source}:document_output_language" user_skill_level: "{config_source}:user_skill_level" date: system-generated

Workflow components

installed_path: "{project-root}/.bmad/bmm/workflows/2-plan-workflows/prd" instructions: "{installed_path}/instructions.md"

Templates

prd_template: "{installed_path}/prd-template.md"

Output files

status_file: "{output_folder}/bmm-workflow-status.yaml" default_output_file: "{output_folder}/PRD.md"

Recommended input documents

recommended_inputs:

  • product_brief: "{output_folder}/product-brief.md"
  • market_research: "{output_folder}/market-research.md"

Smart input file references - handles both whole docs and sharded docs

Priority: Whole document first, then sharded version

input_file_patterns: product_brief: whole: "{output_folder}/brief.md" sharded: "{output_folder}/brief/index.md"

research: whole: "{output_folder}/research.md" sharded: "{output_folder}/research/index.md"

document_project: sharded: "{output_folder}/docs/index.md"

standalone: true

Usage

Reference this workflow with @workflow-prd to execute the guided workflow.

Module

Part of the BMAD BMM module.