diff --git a/docs/custom-agent-installation.md b/docs/custom-agent-installation.md index 01bedcf4..15098094 100644 --- a/docs/custom-agent-installation.md +++ b/docs/custom-agent-installation.md @@ -46,7 +46,7 @@ bmad agent-install -s path/to/my-agent # Install a specific .agent.yaml file (simple agent) bmad agent-install -s path/to/my-agent.agent.yaml -# Install with defaults (skip all prompts) +# Install with defaults (non-interactive) bmad agent-install -s path/to/my-agent -d # Install to a specific destination project diff --git a/src/modules/bmb/workflows/create-agent/info-and-installation-guide.md b/src/modules/bmb/workflows/create-agent/info-and-installation-guide.md new file mode 100644 index 00000000..304bbb98 --- /dev/null +++ b/src/modules/bmb/workflows/create-agent/info-and-installation-guide.md @@ -0,0 +1,17 @@ +# {agent_name} Agent + +## Installation + +```bash +# Quick install (interactive) +npx bmad-method agent-install --source ./{agent_filename}.agent.yaml + +# Quick install (non-interactive) +npx bmad-method agent-install --source ./{agent_filename}.agent.yaml --defaults +``` + +## About This Agent + +{agent_description} + +_Generated with BMAD Builder workflow_ diff --git a/src/modules/bmb/workflows/create-agent/installation-guide.md b/src/modules/bmb/workflows/create-agent/installation-guide.md index b9ab6c01..f210254b 100644 --- a/src/modules/bmb/workflows/create-agent/installation-guide.md +++ b/src/modules/bmb/workflows/create-agent/installation-guide.md @@ -56,7 +56,7 @@ npx bmad-method agent-install # Works anywhere without cloning # Install specific agent file npx bmad-method agent-install --source ./my-agent.agent.yaml -# Use default configuration (no prompts) +# Use default configuration (non-interactive, no prompts) npx bmad-method agent-install --defaults # Install to specific destination diff --git a/src/modules/bmb/workflows/create-agent/workflow.yaml b/src/modules/bmb/workflows/create-agent/workflow.yaml index 5710ac05..e989710c 100644 --- a/src/modules/bmb/workflows/create-agent/workflow.yaml +++ b/src/modules/bmb/workflows/create-agent/workflow.yaml @@ -31,9 +31,11 @@ validation: "{installed_path}/agent-validation-checklist.md" # Output configuration - YAML agents compiled to .md at install time # Module agents: Save to {bmad_folder}/{{target_module}}/agents/ -# Standalone agents: Save to custom_agent_location/ +# Standalone agents: Always create folders with agent + guide module_output_file: "{project-root}/{bmad_folder}/{{target_module}}/agents/{{agent_filename}}.agent.yaml" -standalone_output_file: "{custom_agent_location}/{{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" # Optional user override file (auto-created by installer if missing) config_output_file: "{project-root}/{bmad_folder}/_cfg/agents/{{target_module}}-{{agent_filename}}.customize.yaml" @@ -46,6 +48,7 @@ web_bundle: web_bundle_files: - "{bmad_folder}/bmb/workflows/create-agent/instructions.md" - "{bmad_folder}/bmb/workflows/create-agent/checklist.md" + - "{bmad_folder}/bmb/workflows/create-agent/info-and-installation-guide.md" - "{bmad_folder}/bmb/docs/agent-compilation.md" - "{bmad_folder}/bmb/docs/understanding-agent-types.md" - "{bmad_folder}/bmb/docs/simple-agent-architecture.md"