mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
workflow builder understands how to build continuable workflows
This commit is contained in:
@@ -81,10 +81,10 @@
|
||||
|
||||
**Agent Documentation References**
|
||||
|
||||
- Agent compilation guide: `{project-root}/.bmad/bmb/docs/agents/agent-compilation.md`
|
||||
- Agent types guide: `{project-root}/.bmad/bmb/docs/agents/understanding-agent-types.md`
|
||||
- Agent compilation guide: `{project-root}/{bmad_folder}/bmb/docs/agents/agent-compilation.md`
|
||||
- Agent types guide: `{project-root}/{bmad_folder}/bmb/docs/agents/understanding-agent-types.md`
|
||||
- Architecture docs: simple, expert, module agent architectures
|
||||
- Menu patterns guide: `{project-root}/.bmad/bmb/docs/agents/agent-menu-patterns.md`
|
||||
- Menu patterns guide: `{project-root}/{bmad_folder}/bmb/docs/agents/agent-menu-patterns.md`
|
||||
- Status: ✅ ALL REFERENCES PRESERVED
|
||||
|
||||
**Communication Presets**
|
||||
|
||||
@@ -10,11 +10,11 @@ thisStepFile: '{workflow_path}/steps/step-01-brainstorm.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-02-discover.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
brainstormContext: '{workflow_path}/data/brainstorm-context.md'
|
||||
brainstormWorkflow: '{project-root}/.bmad/core/workflows/brainstorming/workflow.md'
|
||||
brainstormWorkflow: '{project-root}/{bmad_folder}/core/workflows/brainstorming/workflow.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 1: Optional Brainstorming
|
||||
|
||||
@@ -10,7 +10,7 @@ thisStepFile: '{workflow_path}/steps/step-02-discover.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-03-persona.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
outputFile: '{output_folder}/agent-purpose-{project_name}.md'
|
||||
agentTypesGuide: '{project-root}/.bmad/bmb/docs/agents/understanding-agent-types.md'
|
||||
agentTypesGuide: '{project-root}/{bmad_folder}/bmb/docs/agents/understanding-agent-types.md'
|
||||
simpleExamples: '{workflow_path}/data/reference/agents/simple-examples/'
|
||||
expertExamples: '{workflow_path}/data/reference/agents/expert-examples/'
|
||||
moduleExamples: '{workflow_path}/data/reference/agents/module-examples/'
|
||||
@@ -19,8 +19,8 @@ moduleExamples: '{workflow_path}/data/reference/agents/module-examples/'
|
||||
agentPurposeTemplate: '{workflow_path}/templates/agent-purpose-and-type.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 2: Discover Agent Purpose and Type
|
||||
|
||||
@@ -11,14 +11,14 @@ nextStepFile: '{workflow_path}/steps/step-04-commands.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
outputFile: '{output_folder}/agent-persona-{project_name}.md'
|
||||
communicationPresets: '{workflow_path}/data/communication-presets.csv'
|
||||
agentMenuPatterns: '{project-root}/.bmad/bmb/docs/agents/agent-menu-patterns.md'
|
||||
agentMenuPatterns: '{project-root}/{bmad_folder}/bmb/docs/agents/agent-menu-patterns.md'
|
||||
|
||||
# Template References
|
||||
personaTemplate: '{workflow_path}/templates/agent-persona.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 3: Shape Agent's Personality
|
||||
|
||||
@@ -10,17 +10,17 @@ thisStepFile: '{workflow_path}/steps/step-04-commands.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-05-name.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
outputFile: '{output_folder}/agent-commands-{project_name}.md'
|
||||
agentMenuPatterns: '{project-root}/.bmad/bmb/docs/agents/agent-menu-patterns.md'
|
||||
simpleArchitecture: '{project-root}/.bmad/bmb/docs/agents/simple-agent-architecture.md'
|
||||
expertArchitecture: '{project-root}/.bmad/bmb/docs/agents/expert-agent-architecture.md'
|
||||
moduleArchitecture: '{project-root}/.bmad/bmb/docs/agents/module-agent-architecture.md'
|
||||
agentMenuPatterns: '{project-root}/{bmad_folder}/bmb/docs/agents/agent-menu-patterns.md'
|
||||
simpleArchitecture: '{project-root}/{bmad_folder}/bmb/docs/agents/simple-agent-architecture.md'
|
||||
expertArchitecture: '{project-root}/{bmad_folder}/bmb/docs/agents/expert-agent-architecture.md'
|
||||
moduleArchitecture: '{project-root}/{bmad_folder}/bmb/docs/agents/module-agent-architecture.md'
|
||||
|
||||
# Template References
|
||||
commandsTemplate: '{workflow_path}/templates/agent-commands.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 4: Build Capabilities and Commands
|
||||
|
||||
@@ -15,8 +15,8 @@ outputFile: '{output_folder}/agent-identity-{project_name}.md'
|
||||
identityTemplate: '{workflow_path}/templates/agent-identity.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 5: Agent Naming and Identity
|
||||
|
||||
@@ -10,15 +10,15 @@ thisStepFile: '{workflow_path}/steps/step-06-build.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-07-validate.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
outputFile: '{output_folder}/agent-yaml-{project_name}.md'
|
||||
moduleOutputFile: '{project-root}/.bmad/{target_module}/agents/{agent_filename}.agent.yaml'
|
||||
moduleOutputFile: '{project-root}/{bmad_folder}/{target_module}/agents/{agent_filename}.agent.yaml'
|
||||
standaloneOutputFile: '{workflow_path}/data/{agent_filename}/{agent_filename}.agent.yaml'
|
||||
|
||||
# Template References
|
||||
completeAgentTemplate: '{workflow_path}/templates/agent-complete-{agent_type}.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 6: Build Complete Agent YAML
|
||||
|
||||
@@ -10,15 +10,15 @@ thisStepFile: '{workflow_path}/steps/step-07-validate.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-08-setup.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
outputFile: '{output_folder}/agent-validation-{project_name}.md'
|
||||
agentValidationChecklist: '{project-root}/.bmad/bmb/workflows/create-agent/agent-validation-checklist.md'
|
||||
agentValidationChecklist: '{project-root}/{bmad_folder}/bmb/workflows/create-agent/agent-validation-checklist.md'
|
||||
agentFile: '{{output_file_path}}'
|
||||
|
||||
# Template References
|
||||
validationTemplate: '{workflow_path}/templates/validation-results.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 7: Quality Check and Validation
|
||||
|
||||
@@ -16,8 +16,8 @@ agentSidecarFolder: '{{standalone_output_folder}}/{{agent_filename}}-sidecar'
|
||||
sidecarTemplate: '{workflow_path}/templates/expert-sidecar-structure.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 8: Expert Agent Workspace Setup
|
||||
|
||||
@@ -10,14 +10,14 @@ thisStepFile: '{workflow_path}/steps/step-09-customize.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-10-build-tools.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
outputFile: '{output_folder}/agent-customization-{project_name}.md'
|
||||
configOutputFile: '{project-root}/.bmad/_cfg/agents/{target_module}-{agent_filename}.customize.yaml'
|
||||
configOutputFile: '{project-root}/{bmad_folder}/_cfg/agents/{target_module}-{agent_filename}.customize.yaml'
|
||||
|
||||
# Template References
|
||||
customizationTemplate: '{workflow_path}/templates/agent-customization.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 9: Optional Customization File
|
||||
|
||||
@@ -17,8 +17,8 @@ compiledAgentFile: '{{output_folder}}/{{agent_filename}}.md'
|
||||
buildHandlingTemplate: '{workflow_path}/templates/build-results.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 10: Build Tools Handling
|
||||
|
||||
@@ -16,8 +16,8 @@ compiledAgentFile: '{{compiled_agent_path}}'
|
||||
completionTemplate: '{workflow_path}/templates/completion-summary.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 11: Celebration and Next Steps
|
||||
|
||||
@@ -49,7 +49,7 @@ This uses **step-file architecture** for disciplined execution:
|
||||
|
||||
### 1. Configuration Loading
|
||||
|
||||
Load and read full config from `{project-root}/.bmad/bmb/config.yaml`:
|
||||
Load and read full config from `{project-root}/{bmad_folder}/bmb/config.yaml`:
|
||||
|
||||
- `project_name`, `output_folder`, `user_name`, `communication_language`, `document_output_language`
|
||||
|
||||
@@ -63,12 +63,12 @@ Load, read completely, then execute `steps/step-01-brainstorm.md` to begin the w
|
||||
|
||||
# Technical documentation for agent building
|
||||
|
||||
agent_compilation: "{project-root}/.bmad/bmb/docs/agents/agent-compilation.md"
|
||||
understanding_agent_types: "{project-root}/.bmad/bmb/docs/agents/understanding-agent-types.md"
|
||||
simple_agent_architecture: "{project-root}/.bmad/bmb/docs/agents/simple-agent-architecture.md"
|
||||
expert_agent_architecture: "{project-root}/.bmad/bmb/docs/agents/expert-agent-architecture.md"
|
||||
module_agent_architecture: "{project-root}/.bmad/bmb/docs/agents/module-agent-architecture.md"
|
||||
agent_menu_patterns: "{project-root}/.bmad/bmb/docs/agents/agent-menu-patterns.md"
|
||||
agent_compilation: "{project-root}/{bmad_folder}/bmb/docs/agents/agent-compilation.md"
|
||||
understanding_agent_types: "{project-root}/{bmad_folder}/bmb/docs/agents/understanding-agent-types.md"
|
||||
simple_agent_architecture: "{project-root}/{bmad_folder}/bmb/docs/agents/simple-agent-architecture.md"
|
||||
expert_agent_architecture: "{project-root}/{bmad_folder}/bmb/docs/agents/expert-agent-architecture.md"
|
||||
module_agent_architecture: "{project-root}/{bmad_folder}/bmb/docs/agents/module-agent-architecture.md"
|
||||
agent_menu_patterns: "{project-root}/{bmad_folder}/bmb/docs/agents/agent-menu-patterns.md"
|
||||
|
||||
# Data and templates
|
||||
|
||||
@@ -83,9 +83,9 @@ module_agent_examples: "{project-root}/src/modules/bmb/reference/agents/module-e
|
||||
|
||||
# Output configuration
|
||||
|
||||
custom_agent_location: "{project-root}/.bmad/custom/src/agents"
|
||||
module_output_file: "{project-root}/.bmad/{target_module}/agents/{agent_filename}.agent.yaml"
|
||||
custom_agent_location: "{project-root}/{bmad_folder}/custom/src/agents"
|
||||
module_output_file: "{project-root}/{bmad_folder}/{target_module}/agents/{agent_filename}.agent.yaml"
|
||||
standalone_output_folder: "{custom_agent_location}/{agent_filename}"
|
||||
standalone_output_file: "{standalone_output_folder}/{agent_filename}.agent.yaml"
|
||||
standalone_info_guide: "{standalone_output_folder}/info-and-installation-guide.md"
|
||||
config_output_file: "{project-root}/.bmad/\_cfg/agents/{target_module}-{agent_filename}.customize.yaml"
|
||||
config_output_file: "{project-root}/{bmad_folder}/\_cfg/agents/{target_module}-{agent_filename}.customize.yaml"
|
||||
|
||||
@@ -70,8 +70,10 @@ To collaboratively design the workflow structure, step sequence, and interaction
|
||||
|
||||
When designing, you may load these documents as needed:
|
||||
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md` - Step file structure
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md` - Workflow configuration
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md` - Step file structure
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-01-init-continuable-template.md` - Continuable init step template
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md` - Continuation step template
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md` - Workflow configuration
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/architecture.md` - Architecture principles
|
||||
- `{project-root}/{bmad_folder}/bmb/reference/workflows/meal-prep-nutrition/workflow.md` - Complete example
|
||||
|
||||
@@ -84,10 +86,18 @@ Let's reference our step creation documentation for best practices:
|
||||
Load and reference step-file architecture guide:
|
||||
|
||||
```
|
||||
Read: {project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md
|
||||
Read: {project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md
|
||||
```
|
||||
|
||||
This shows the standard structure for step files. Based on the requirements, collaboratively design:
|
||||
This shows the standard structure for step files. Also reference:
|
||||
|
||||
```
|
||||
Read: {project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md
|
||||
```
|
||||
|
||||
This shows the continuation step pattern for workflows that might take multiple sessions.
|
||||
|
||||
Based on the requirements, collaboratively design:
|
||||
|
||||
- How many major steps does this workflow need? (Recommend 3-7)
|
||||
- What is the goal of each step?
|
||||
@@ -95,6 +105,25 @@ This shows the standard structure for step files. Based on the requirements, col
|
||||
- Should any steps repeat or loop?
|
||||
- What are the decision points within steps?
|
||||
|
||||
### 1a. Continuation Support Assessment
|
||||
|
||||
**Ask the user:**
|
||||
"Will this workflow potentially take multiple sessions to complete? Consider:
|
||||
|
||||
- Does this workflow generate a document/output file?
|
||||
- Might users need to pause and resume the workflow?
|
||||
- Does the workflow involve extensive data collection or analysis?
|
||||
- Are there complex decisions that might require multiple sessions?
|
||||
|
||||
If **YES** to any of these, we should include continuation support using step-01b-continue.md."
|
||||
|
||||
**If continuation support is needed:**
|
||||
|
||||
- Include step-01-init.md (with continuation detection logic)
|
||||
- Include step-01b-continue.md (for resuming workflows)
|
||||
- Ensure every step updates `stepsCompleted` in output frontmatter
|
||||
- Design the workflow to persist state between sessions
|
||||
|
||||
### 2. Interaction Pattern Design
|
||||
|
||||
Design how users will interact with the workflow:
|
||||
|
||||
@@ -18,8 +18,10 @@ advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elici
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
|
||||
# Template References
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
stepInitContinuableTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-01-init-continuable-template.md'
|
||||
step1bTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md'
|
||||
contentTemplate: '{workflow_path}/templates/content-template.md'
|
||||
buildSummaryTemplate: '{workflow_path}/templates/build-summary.md'
|
||||
---
|
||||
@@ -70,8 +72,10 @@ To generate all the workflow files (workflow.md, step files, templates, and supp
|
||||
|
||||
## BUILD REFERENCE MATERIALS:
|
||||
|
||||
- When building each step file, you must follow template `{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md`
|
||||
- When building the main workflow.md file, you must follow template `{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md`
|
||||
- When building each step file, you must follow template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md`
|
||||
- When building continuable step-01-init.md files, use template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-01-init-continuable-template.md`
|
||||
- When building continuation steps, use template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-1b-template.md`
|
||||
- When building the main workflow.md file, you must follow template `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md`
|
||||
- Example step files from {project-root}/{bmad_folder}/bmb/reference/workflows/meal-prep-nutrition/workflow.md for patterns
|
||||
|
||||
## FILE GENERATION SEQUENCE:
|
||||
@@ -99,6 +103,7 @@ Create the workflow folder structure in the target location:
|
||||
├── workflow.md
|
||||
├── steps/
|
||||
│ ├── step-01-init.md
|
||||
│ ├── step-01b-continue.md (if continuation support needed)
|
||||
│ ├── step-02-[name].md
|
||||
│ └── ...
|
||||
├── templates/
|
||||
@@ -123,7 +128,47 @@ Load and follow {workflowTemplate}:
|
||||
|
||||
### 4. Generate Step Files
|
||||
|
||||
For each step in the design:
|
||||
#### 4a. Check for Continuation Support
|
||||
|
||||
**Check the workflow plan for continuation support:**
|
||||
|
||||
- Look for "continuation support: true" or similar flag
|
||||
- Check if step-01b-continue.md was included in the design
|
||||
- If workflow generates output documents, continuation is typically needed
|
||||
|
||||
#### 4b. Generate step-01-init.md (with continuation logic)
|
||||
|
||||
If continuation support is needed:
|
||||
|
||||
- Load and follow {stepInitContinuableTemplate}
|
||||
- This template automatically includes all required continuation detection logic
|
||||
- Customize with workflow-specific information:
|
||||
- Update workflow_path references
|
||||
- Set correct outputFile and templateFile paths
|
||||
- Adjust role and persona to match workflow type
|
||||
- Customize welcome message for workflow context
|
||||
- Configure input document discovery patterns (if any)
|
||||
- Template automatically handles:
|
||||
- continueFile reference in frontmatter
|
||||
- Logic to check for existing output files with stepsCompleted
|
||||
- Routing to step-01b-continue.md for continuation
|
||||
- Fresh workflow initialization
|
||||
|
||||
#### 4c. Generate step-01b-continue.md (if needed)
|
||||
|
||||
**If continuation support is required:**
|
||||
|
||||
- Load and follow {step1bTemplate}
|
||||
- Customize with workflow-specific information:
|
||||
- Update workflow_path references
|
||||
- Set correct outputFile path
|
||||
- Adjust role and persona to match workflow type
|
||||
- Customize welcome back message for workflow context
|
||||
- Ensure proper nextStep detection logic based on step numbers
|
||||
|
||||
#### 4d. Generate Remaining Step Files
|
||||
|
||||
For each remaining step in the design:
|
||||
|
||||
- Load and follow {stepTemplate}
|
||||
- Create step file using template structure
|
||||
@@ -131,6 +176,7 @@ For each step in the design:
|
||||
- Ensure proper frontmatter with path references
|
||||
- Include appropriate menu handling and universal rules
|
||||
- Follow all mandatory rules and protocols from template
|
||||
- **Critical**: Ensure each step updates `stepsCompleted` array when completing
|
||||
|
||||
### 5. Generate Templates (If Needed)
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ thisStepFile: '{workflow_path}/steps/step-01-discover-intent.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-02-analyze-agent.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 1: Discover Edit Intent
|
||||
|
||||
@@ -10,20 +10,20 @@ thisStepFile: '{workflow_path}/steps/step-02-analyze-agent.md'
|
||||
nextStepFile: '{workflow_path}/steps/step-03-propose-changes.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
|
||||
# Documentation References (load JIT based on user goals)
|
||||
understanding_agent_types: '{project-root}/.bmad/bmb/docs/agents/understanding-agent-types.md'
|
||||
agent_compilation: '{project-root}/.bmad/bmb/docs/agents/agent-compilation.md'
|
||||
simple_architecture: '{project-root}/.bmad/bmb/docs/agents/simple-agent-architecture.md'
|
||||
expert_architecture: '{project-root}/.bmad/bmb/docs/agents/expert-agent-architecture.md'
|
||||
module_architecture: '{project-root}/.bmad/bmb/docs/agents/module-agent-architecture.md'
|
||||
menu_patterns: '{project-root}/.bmad/bmb/docs/agents/agent-menu-patterns.md'
|
||||
communication_presets: '{project-root}/.bmad/bmb/workflows/create-agent/data/communication-presets.csv'
|
||||
reference_simple_agent: '{project-root}/.bmad/bmb/reference/agents/simple-examples/commit-poet.agent.yaml'
|
||||
reference_expert_agent: '{project-root}/.bmad/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml'
|
||||
validation: '{project-root}/.bmad/bmb/workflows/create-agent/data/agent-validation-checklist.md'
|
||||
understanding_agent_types: '{project-root}/{bmad_folder}/bmb/docs/agents/understanding-agent-types.md'
|
||||
agent_compilation: '{project-root}/{bmad_folder}/bmb/docs/agents/agent-compilation.md'
|
||||
simple_architecture: '{project-root}/{bmad_folder}/bmb/docs/agents/simple-agent-architecture.md'
|
||||
expert_architecture: '{project-root}/{bmad_folder}/bmb/docs/agents/expert-agent-architecture.md'
|
||||
module_architecture: '{project-root}/{bmad_folder}/bmb/docs/agents/module-agent-architecture.md'
|
||||
menu_patterns: '{project-root}/{bmad_folder}/bmb/docs/agents/agent-menu-patterns.md'
|
||||
communication_presets: '{project-root}/{bmad_folder}/bmb/workflows/create-agent/data/communication-presets.csv'
|
||||
reference_simple_agent: '{project-root}/{bmad_folder}/bmb/reference/agents/simple-examples/commit-poet.agent.yaml'
|
||||
reference_expert_agent: '{project-root}/{bmad_folder}/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml'
|
||||
validation: '{project-root}/{bmad_folder}/bmb/workflows/create-agent/data/agent-validation-checklist.md'
|
||||
---
|
||||
|
||||
# Step 2: Analyze Agent
|
||||
|
||||
@@ -11,12 +11,12 @@ nextStepFile: '{workflow_path}/steps/step-04-apply-changes.md'
|
||||
agentFile: '{{agent_path}}'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
|
||||
# Documentation References (load JIT if needed)
|
||||
communication_presets: '{project-root}/.bmad/bmb/workflows/create-agent/data/communication-presets.csv'
|
||||
agent_compilation: '{project-root}/.bmad/bmb/docs/agents/agent-compilation.md'
|
||||
communication_presets: '{project-root}/{bmad_folder}/bmb/workflows/create-agent/data/communication-presets.csv'
|
||||
agent_compilation: '{project-root}/{bmad_folder}/bmb/docs/agents/agent-compilation.md'
|
||||
---
|
||||
|
||||
# Step 3: Propose Changes
|
||||
|
||||
@@ -11,8 +11,8 @@ agentFile: '{{agent_path}}'
|
||||
nextStepFile: '{workflow_path}/steps/step-05-validate.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
---
|
||||
|
||||
# Step 4: Apply Changes
|
||||
|
||||
@@ -10,12 +10,12 @@ thisStepFile: '{workflow_path}/steps/step-05-validate.md'
|
||||
agentFile: '{{agent_path}}'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/.bmad/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/.bmad/core/workflows/party-mode/workflow.md'
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
|
||||
# Documentation References (load JIT)
|
||||
validation: '{project-root}/.bmad/bmb/workflows/create-agent/data/agent-validation-checklist.md'
|
||||
agent_compilation: '{project-root}/.bmad/bmb/docs/agents/agent-compilation.md'
|
||||
validation: '{project-root}/{bmad_folder}/bmb/workflows/create-agent/data/agent-validation-checklist.md'
|
||||
agent_compilation: '{project-root}/{bmad_folder}/bmb/docs/agents/agent-compilation.md'
|
||||
---
|
||||
|
||||
# Step 5: Validate Changes
|
||||
|
||||
@@ -11,10 +11,6 @@ nextStepFile: '{workflow_path}/steps/step-02-discover.md'
|
||||
workflowFile: '{workflow_path}/workflow.md'
|
||||
outputFile: '{output_folder}/workflow-edit-{target_workflow_name}.md'
|
||||
|
||||
# Task References
|
||||
advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
|
||||
partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
|
||||
|
||||
# Template References
|
||||
analysisTemplate: '{workflow_path}/templates/workflow-analysis.md'
|
||||
---
|
||||
@@ -134,8 +130,8 @@ Based on what the user wants to edit:
|
||||
Load reference documentation as needed:
|
||||
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/architecture.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md`
|
||||
|
||||
Check against best practices:
|
||||
|
||||
|
||||
@@ -69,8 +69,8 @@ To facilitate collaborative improvements to the workflow, working iteratively on
|
||||
|
||||
Load documentation as needed for specific improvements:
|
||||
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md`
|
||||
- `{project-root}/{bmad_folder}/bmb/docs/workflows/architecture.md`
|
||||
|
||||
### 2. Address Each Improvement Iteratively
|
||||
|
||||
@@ -15,8 +15,8 @@ complianceReportFile: '{output_folder}/workflow-compliance-report-{workflow_name
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
---
|
||||
|
||||
# Step 1: Goal Confirmation and Workflow Target
|
||||
|
||||
@@ -16,8 +16,8 @@ targetWorkflowFile: '{target_workflow_path}'
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
---
|
||||
|
||||
# Step 2: Workflow.md Validation
|
||||
|
||||
@@ -16,8 +16,8 @@ targetWorkflowStepsPath: '{target_workflow_steps_path}'
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
---
|
||||
|
||||
# Step 3: Step-by-Step Validation
|
||||
|
||||
@@ -16,8 +16,8 @@ targetWorkflowPath: '{target_workflow_path}'
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
csvStandards: '{project-root}/{bmad_folder}/bmb/docs/workflows/csv-data-file-standards.md'
|
||||
---
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ targetWorkflowPath: '{target_workflow_path}'
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
intentSpectrum: '{project-root}/{bmad_folder}/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md'
|
||||
---
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ targetWorkflowStepsPath: '{target_workflow_steps_path}'
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
intentSpectrum: '{project-root}/{bmad_folder}/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md'
|
||||
---
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ targetWorkflowFile: '{target_workflow_path}'
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
intentSpectrum: '{project-root}/{bmad_folder}/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md'
|
||||
---
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@ targetWorkflowFile: '{target_workflow_path}'
|
||||
complianceReportTemplate: '{workflow_path}/templates/compliance-report.md'
|
||||
|
||||
# Documentation References
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/workflow-template.md'
|
||||
stepTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/step-template.md'
|
||||
workflowTemplate: '{project-root}/{bmad_folder}/bmb/docs/workflows/templates/workflow-template.md'
|
||||
---
|
||||
|
||||
# Step 8: Comprehensive Compliance Report Generation
|
||||
|
||||
Reference in New Issue
Block a user