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

@@ -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"