# create-epics-and-stories Workflow Rule This rule defines the create-epics-and-stories workflow. ## Workflow Description Transform PRD requirements into bite-sized stories organized into deliverable functional epics. This workflow takes a Product Requirements Document (PRD) and breaks it down into epics and user stories that can be easily assigned to development teams. It ensures that all functional requirements are captured in a structured format, making it easier for teams to understand and implement the necessary features. ## Workflow Definition # Epic and Story Decomposition Workflow name: create-epics-and-stories description: "Transform PRD requirements into bite-sized stories organized into deliverable functional epics. This workflow takes a Product Requirements Document (PRD) and breaks it down into epics and user stories that can be easily assigned to development teams. It ensures that all functional requirements are captured in a structured format, making it easier for teams to understand and implement the necessary features." 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 # Smart input file references - handles both whole docs and sharded docs # Priority: Whole document first, then sharded version input_file_patterns: prd: description: "Product Requirements Document with FRs and NFRs" whole: "{output_folder}/*prd*.md" sharded: "{output_folder}/*prd*/index.md" load_strategy: "INDEX_GUIDED" product_brief: description: "Product vision and goals (optional)" whole: "{output_folder}/*product*brief*.md" sharded: "{output_folder}/*product*brief*/index.md" load_strategy: "INDEX_GUIDED" domain_brief: description: "Domain-specific requirements and context (optional)" whole: "{output_folder}/*domain*brief*.md" sharded: "{output_folder}/*domain*brief*/index.md" load_strategy: "INDEX_GUIDED" ux_design: description: "UX design specification for interaction patterns (optional)" whole: "{output_folder}/*ux*.md" sharded: "{output_folder}/*ux*/index.md" load_strategy: "FULL_LOAD" architecture: description: "Architecture decisions and technical design (optional)" whole: "{output_folder}/*architecture*.md" sharded: "{output_folder}/*architecture*/index.md" load_strategy: "FULL_LOAD" # Module path and component files installed_path: "{project-root}/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories" instructions: "{installed_path}/instructions.md" template: "{installed_path}/epics-template.md" # Output configuration default_output_file: "{output_folder}/epics.md" standalone: true ## Usage Reference this workflow with `@workflow-create-epics-and-stories` to execute the guided workflow. ## Module Part of the BMAD BMM module.