2.3 KiB
create-workflow Workflow Rule
This rule defines the create-workflow workflow.
Workflow Description
Interactive workflow builder that guides creation of new BMAD workflows with proper structure and validation for optimal human-AI collaboration. Includes optional brainstorming phase for workflow ideas and design.
Workflow Definition
Build Workflow - Workflow Builder Configuration
name: create-workflow description: "Interactive workflow builder that guides creation of new BMAD workflows with proper structure and validation for optimal human-AI collaboration. Includes optional brainstorming phase for workflow ideas and design." author: "BMad Builder"
Critical variables
config_source: "{project-root}/.bmad/bmb/config.yaml" custom_workflow_location: "{config_source}:custom_workflow_location" user_name: "{config_source}:user_name" communication_language: "{config_source}:communication_language"
Template files for new workflows
template_workflow_yaml: "{workflow_template_path}/workflow.yaml" template_instructions: "{workflow_template_path}/instructions.md" template_template: "{workflow_template_path}/template.md" template_checklist: "{workflow_template_path}/checklist.md"
Optional input docs
recommended_inputs:
- existing_workflows: "{project-root}/.bmad/*/workflows/"
- bmm_workflows: "{project-root}/.bmad/bmm/workflows/"
Module path and component files
installed_path: "{project-root}/.bmad/bmb/workflows/create-workflow" template: false # This is an action workflow - no template needed instructions: "{installed_path}/instructions.md" validation: "{installed_path}/checklist.md"
Required data files - CRITICAL for workflow conventions
workflow_creation_guide: "{installed_path}/workflow-creation-guide.md" workflow_template_path: "{installed_path}/workflow-template"
Output configuration - Creates the new workflow folder with all files
If workflow belongs to a module: Save to module's workflows folder
If standalone workflow: Save to custom_workflow_location/{{workflow_name}}
module_output_folder: "{project-root}/.bmad/{{target_module}}/workflows/{{workflow_name}}" standalone_output_folder: "{custom_workflow_location}/{{workflow_name}}"
standalone: true
Web bundle configuration
Usage
Reference this workflow with @workflow-create-workflow to execute the guided workflow.
Module
Part of the BMAD BMB module.