bomb agent updates

This commit is contained in:
Brian Madison
2025-10-04 17:35:37 -05:00
parent 94a2dad104
commit 3147589d0f
10 changed files with 85 additions and 68 deletions

View File

@@ -9,3 +9,18 @@ prompt: "Happy Building - Build the Modules, Workflows and Agents of your dreams
## user_name
## communication_language
## output_folder
custom_agent_location:
prompt: "Where do custom agents get created?"
default: "bmad/agents"
result: "{project-root}/{value}"
custom_workflow_location:
prompt: "Where do custom workflows get stored?"
default: "bmad/workflows"
result: "{project-root}/{value}"
custom_module_location:
prompt: "Where do custom modules get stored?"
default: "bmad"
result: "{project-root}/{value}"

View File

@@ -107,9 +107,9 @@ create-agent/
#### For Standalone Agents (not part of a module)
- **YAML Source**: `{output_folder}/agents/{{agent_filename}}.agent.yaml`
- **YAML Source**: `{custom_agent_location}/{{agent_filename}}.agent.yaml` (default: `bmad/agents/`)
- **Installation Location**: `{project-root}/bmad/agents/{{agent_filename}}.md`
- **Compilation**: Run `npm run build:agents` or use the installer menu
- **Compilation**: Run the BMAD Method installer and select "Compile Agents (Quick rebuild of all agent .md files)"
#### For Module Agents
@@ -150,9 +150,9 @@ If created, generates at:
Agents are installed to different locations based on their type:
1. **Standalone Agents** (not part of a module)
- Source: Created in your project's output folder
- Source: Created in your custom agent location (default: `bmad/agents/`)
- Installed to: `{project-root}/bmad/agents/`
- Compilation: Manual via `npm run build:agents`
- Compilation: Run BMAD Method installer and select "Compile Agents"
2. **Module Agents** (part of BMM, BMB, or custom modules)
- Source: Created in `src/modules/{module}/agents/`

View File

@@ -252,10 +252,11 @@ agent:
menu: { { The capabilities we built } }
```
<critical>Save based on {src_impact}:</critical>
<critical>Save based on agent type:</critical>
- If {src_impact} = true: Save to {src_output_file}
- If {src_impact} = false: Save to {default_output_file}
- If Module Agent and {src_impact} = true: Save to {src_module_output_file}
- If Module Agent and {src_impact} = false: Save to {module_output_file}
- If Standalone (Simple/Expert): Save to {standalone_output_file}
"Your agent [name] is ready! It turned out even better than I expected!"
@@ -454,12 +455,13 @@ Share the accomplishment:
**"Here's how to activate [agent name]:"**
1. **Quick start:**
- "Run `npm run install:bmad` and select 'Compile Agents'"
- "Run the BMAD Method installer to this project location"
- "Select the option 'Compile Agents (Quick rebuild of all agent .md files)' after confirming the folder"
- "Then you can call [agent name] anytime!"
2. **Location:**
- "I saved [agent name] here: {{output_file}}"
- "After compilation, it'll live at: {project-root}/bmad/{{module}}/agents/"
- "After compilation, it'll be available in your project"
3. **What [agent name] can do right away:**
- List the commands in a friendly way

View File

@@ -6,6 +6,7 @@ author: "BMad"
# Critical variables load from config_source
config_source: "{project-root}/bmad/bmb/config.yaml"
output_folder: "{config_source}:output_folder"
custom_agent_location: "{config_source}:custom_agent_location"
user_name: "{config_source}:user_name"
src_impact: "{config_source}:src_impact"
communication_language: "{config_source}:communication_language"
@@ -29,10 +30,11 @@ instructions: "{installed_path}/instructions.md"
validation: "{installed_path}/checklist.md"
# Output configuration - YAML agents compiled to .md at install time
# If src_impact=true: Save YAML to src/modules/{{target_module}}/agents/
# If src_impact=false: Save YAML to output_folder/agents/
default_output_file: "{output_folder}/agents/{{agent_filename}}.agent.yaml"
src_output_file: "{project-root}/src/modules/{{target_module}}/agents/{{agent_filename}}.agent.yaml"
# Module agents: Save to src/modules/{{target_module}}/agents/ OR bmad/{{target_module}}/agents/
# Standalone agents: Save to custom_agent_location/
module_output_file: "{project-root}/bmad/{{target_module}}/agents/{{agent_filename}}.agent.yaml"
src_module_output_file: "{project-root}/src/modules/{{target_module}}/agents/{{agent_filename}}.agent.yaml"
standalone_output_file: "{custom_agent_location}/{{agent_filename}}.agent.yaml"
# Optional user override file (auto-created by installer if missing)
config_output_file: "{project-root}/bmad/_cfg/agents/{{target_module}}-{{agent_filename}}.customize.yaml"

View File

@@ -32,7 +32,7 @@ workflow create-module --input module-brief-my-module-2024-09-26.md
The workflow loads critical variables from the BMB configuration:
- **output_folder**: Where the module will be created
- **custom_module_location**: Where custom modules are created (default: `bmad/`)
- **user_name**: Module author information
- **date**: Automatic timestamp for versioning

View File

@@ -74,10 +74,10 @@ Listen to their description and then:
- **Business:** Project Management, Marketing, Sales
- **Personal:** Journaling, Learning, Productivity
<critical>Check {src_impact} variable to determine output location:</critical>
<critical>Determine output location:</critical>
- If {src_impact} = true: Module will be created at {src_output_folder}
- If {src_impact} = false: Module will be created at {default_output_folder}
- If {src_impact} = true: Module will be created at {src_installer_output_folder}
- If {src_impact} = false: Module will be created at {installer_output_folder}
Store module identity for scaffolding.
@@ -179,9 +179,8 @@ Present as: _"Based on your planned components, this looks like a {{determined_t
</step>
<step n="3" goal="Create module directory structure">
<critical>Determine base module path based on {src_impact}:</critical>
- If {src_impact} = true: Use {src_output_folder}
- If {src_impact} = false: Use {default_output_folder}
<critical>Use module path determined in Step 1:</critical>
- The module base path is {{module_path}}
<action>Create base module directories at the determined path:</action>
@@ -248,10 +247,9 @@ output_folder: "{project-root}/docs/{{module_code}}"
data_folder: "{{determined_module_path}}/data"
```
<critical>Determine save location based on {src_impact}:</critical>
<critical>Save location:</critical>
- If {src_impact} = true: Save to {src_output_folder}/config.yaml
- If {src_impact} = false: Save to {default_output_folder}/config.yaml
- Save to {{module_path}}/config.yaml
<template-output>module_config</template-output>
</step>
@@ -265,10 +263,9 @@ If yes:
</invoke-workflow>
Guide them to create the primary agent for the module.
<critical>Ensure it's saved to the correct location based on {src_impact}:</critical>
<critical>Save to module's agents folder:</critical>
- If {src_impact} = true: {src_output_folder}/agents/
- If {src_impact} = false: {default_output_folder}/agents/
- Save to {{module_path}}/agents/
If no, create placeholder:
@@ -292,10 +289,9 @@ If yes:
</invoke-workflow>
Guide them to create the primary workflow.
<critical>Ensure it's saved to the correct location based on {src_impact}:</critical>
<critical>Save to module's workflows folder:</critical>
- If {src_impact} = true: {src_output_folder}/workflows/
- If {src_impact} = false: {default_output_folder}/workflows/
- Save to {{module_path}}/workflows/
If no, create placeholder structure:
@@ -542,9 +538,7 @@ Show summary:
```
✅ Module: {{module_name}} ({{module_code}})
📁 Location:
- If {src_impact} = true: {src_output_folder}
- If {src_impact} = false: {default_output_folder}
📁 Location: {{module_path}}
👥 Agents: {{agent_count}} ({{agents_created}} created, {{agents_planned}} planned)
📋 Workflows: {{workflow_count}} ({{workflows_created}} created, {{workflows_planned}} planned)
📝 Tasks: {{task_count}}
@@ -554,8 +548,11 @@ Show summary:
Next steps:
1. Complete remaining components using roadmap
2. Test module with: `bmad install {{module_code}}`
3. Share module or integrate with existing system
2. Run the BMAD Method installer to this project location
3. Select the option 'Compile Agents (Quick rebuild of all agent .md files)' after confirming the folder
4. This will compile your new module and make it available for use
5. Test module with: `bmad install {{module_code}}`
6. Share module or integrate with existing system
Ask: Would you like to:

View File

@@ -6,6 +6,7 @@ author: "BMad"
# Critical variables load from config_source
config_source: "{project-root}/bmad/bmb/config.yaml"
output_folder: "{config_source}:output_folder"
custom_module_location: "{config_source}:custom_module_location"
src_impact: "{config_source}:src_impact"
communication_language: "{config_source}:communication_language"
user_name: "{config_source}:user_name"
@@ -38,10 +39,10 @@ validation: "{installed_path}/checklist.md"
# Output configuration - creates entire module structure
# If src_impact=true: Save to src/modules/{{module_code}}
# If src_impact=false: Save to output_folder/{{module_code}}
default_output_folder: "{output_folder}/{{module_code}}"
# If src_impact=false: Save to custom_module_location/{{module_code}}
default_output_folder: "{custom_module_location}/{{module_code}}"
src_output_folder: "{project-root}/src/modules/{{module_code}}"
installer_output_folder: "{output_folder}/{{module_code}}"
installer_output_folder: "{custom_module_location}/{{module_code}}"
src_installer_output_folder: "{project-root}/src/modules/{{module_code}}"
web_bundle:

View File

@@ -63,10 +63,11 @@ Based on type, determine which files are needed:
- Action: workflow.yaml + instructions.md
- Others: Varies based on requirements
<critical>Check {src_impact} variable to determine output location:</critical>
<critical>Determine output location based on module assignment:</critical>
- If {src_impact} = true: Workflow will be saved to {src_output_folder}
- If {src_impact} = false: Workflow will be saved to {default_output_folder}
- If workflow belongs to module and {src_impact} = true: Save to {src_module_output_folder}
- If workflow belongs to module and {src_impact} = false: Save to {module_output_folder}
- If standalone workflow: Save to {standalone_output_folder}
Store decisions for later use.
</step>
@@ -122,10 +123,10 @@ Follow path conventions from guide:
- Use {installed_path} for workflow components
- Use {config_source} for config references
<critical>Determine save location based on {src_impact}:</critical>
<critical>Determine save location:</critical>
- If {src_impact} = true: Write to {src_output_folder}/workflow.yaml
- If {src_impact} = false: Write to {default_output_folder}/workflow.yaml
- Use the output folder determined in Step 1 (module or standalone)
- Write to {{output_folder}}/workflow.yaml
</step>
<step n="5" goal="Create instructions.md" if="workflow_type != 'template-only'">
@@ -158,10 +159,9 @@ Generate the instructions.md file following the workflow creation guide:
- Set limits ("3-5 items maximum")
- Save checkpoints with <template-output>
<critical>Determine save location based on {src_impact}:</critical>
<critical>Save location:</critical>
- If {src_impact} = true: Write to {src_output_folder}/instructions.md
- If {src_impact} = false: Write to {default_output_folder}/instructions.md
- Write to {{output_folder}}/instructions.md
</step>
<step n="6" goal="Create template.md" if="workflow_type == 'document'">
@@ -187,10 +187,9 @@ Variable sources as per guide:
- Step outputs via <template-output>
- System variables (date, paths)
<critical>Determine save location based on {src_impact}:</critical>
<critical>Save location:</critical>
- If {src_impact} = true: Write to {src_output_folder}/template.md
- If {src_impact} = false: Write to {default_output_folder}/template.md
- Write to {{output_folder}}/template.md
</step>
<step n="7" goal="Create validation checklist" optional="true">
@@ -216,10 +215,9 @@ Create checklist.md following guide best practices:
4. Add final validation section with issue lists
<critical>Determine save location based on {src_impact}:</critical>
<critical>Save location:</critical>
- If {src_impact} = true: Write to {src_output_folder}/checklist.md
- If {src_impact} = false: Write to {default_output_folder}/checklist.md
- Write to {{output_folder}}/checklist.md
</step>
<step n="8" goal="Create supporting files" optional="true">
@@ -315,11 +313,12 @@ Create a brief README for the workflow folder explaining:
Provide user with:
- Location of created workflow:
- If {src_impact} = true: {{src_output_folder}}
- If {src_impact} = false: {{default_output_folder}}
- Location of created workflow: {{output_folder}}
- Command to run it
- Next steps for testing
</step>
- Next steps:
- "Run the BMAD Method installer to this project location"
- "Select the option 'Compile Agents (Quick rebuild of all agent .md files)' after confirming the folder"
- "This will compile your new workflow and make it available for use"
</step>
</workflow>

View File

@@ -6,6 +6,7 @@ author: "BMad Builder"
# Critical variables
config_source: "{project-root}/bmad/bmb/config.yaml"
output_folder: "{config_source}:output_folder"
custom_workflow_location: "{config_source}:custom_workflow_location"
user_name: "{config_source}:user_name"
src_impact: "{config_source}:src_impact"
communication_language: "{config_source}:communication_language"
@@ -33,10 +34,11 @@ 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 src_impact=true: Save to src/modules/{{target_module}}/workflows/{{workflow_name}}
# If src_impact=false: Save to output_folder/workflows/{{workflow_name}}
default_output_folder: "{output_folder}/workflows/{{workflow_name}}"
src_output_folder: "{project-root}/src/modules/{{target_module}}/workflows/{{workflow_name}}"
# 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}}"
src_module_output_folder: "{project-root}/src/modules/{{target_module}}/workflows/{{workflow_name}}"
standalone_output_folder: "{custom_workflow_location}/{{workflow_name}}"
web_bundle:
name: "create-workflow"

View File

@@ -1,9 +1,8 @@
<rules>
ALWAYS communicate in {communication_language}
Stay in character until exit selected
Menu triggers use asterisk (*) - NOT markdown, display exactly as shown
Number all lists, use letters for sub-options
Load files ONLY when executing menu items
EXCEPTION: Config file MUST be loaded at startup (step 2), all other files load only when executing menu items or an instruction file step
requires it
- ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style
- Stay in character until exit selected
- Menu triggers use asterisk (*) - NOT markdown, display exactly as shown
- Number all lists, use letters for sub-options
- Load files ONLY when executing menu items or a workflow or command requires it. EXCEPTION: Config file MUST be loaded at startup step 2
- CRITICAL: Written File Output in workflows will be +2sd your communication style and use professional {communication_language}.
</rules>