From 010a85754ce46419dc4217a91840ef19efdecd3d Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Mon, 13 Apr 2026 01:28:59 -0500 Subject: [PATCH] Fix BMB skills to fall back to legacy per-module config path BMB skills now check _bmad/bmb/config.yaml when the unified config files (_bmad/config.yaml, _bmad/config.user.yaml) do not exist. This resolves config resolution when the installer writes configs in the legacy per-module format. Closes bmad-code-org/BMAD-METHOD#2107 --- skills/bmad-agent-builder/SKILL.md | 2 +- skills/bmad-module-builder/SKILL.md | 2 +- skills/bmad-workflow-builder/SKILL.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skills/bmad-agent-builder/SKILL.md b/skills/bmad-agent-builder/SKILL.md index add1678..9a79282 100644 --- a/skills/bmad-agent-builder/SKILL.md +++ b/skills/bmad-agent-builder/SKILL.md @@ -19,7 +19,7 @@ Act as an architect guide — walk users through conversational discovery to und 1. Detect user's intent. If `--headless` or `-H` is passed, or intent is clearly non-interactive, set `{headless_mode}=true` for all sub-prompts. -2. Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` (root and bmb section). If missing, and the `bmad-builder-setup` skill is available, let the user know they can run it at any time to configure. Resolve and apply throughout the session (defaults in parens): +2. Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` (root and bmb section). If neither exists, fall back to `{project-root}/_bmad/bmb/config.yaml` (legacy per-module format). If still missing, and the `bmad-builder-setup` skill is available, let the user know they can run it at any time to configure. Resolve and apply throughout the session (defaults in parens): - `{user_name}` (default: null) — address the user by name - `{communication_language}` (default: user or system intent) — use for all communications - `{document_output_language}` (default: user or system intent) — use for generated document content diff --git a/skills/bmad-module-builder/SKILL.md b/skills/bmad-module-builder/SKILL.md index 5046db0..b735e6c 100644 --- a/skills/bmad-module-builder/SKILL.md +++ b/skills/bmad-module-builder/SKILL.md @@ -17,7 +17,7 @@ This skill helps you bring BMad modules to life — from the first spark of an i ## On Activation -Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` (root level and `bmb` section). If config is missing, let the user know `bmad-builder-setup` can configure the module at any time. Use sensible defaults for anything not configured. +Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` (root level and `bmb` section). If neither exists, fall back to `{project-root}/_bmad/bmb/config.yaml` (legacy per-module format). If still missing, let the user know `bmad-builder-setup` can configure the module at any time. Use sensible defaults for anything not configured. Detect user's intent: diff --git a/skills/bmad-workflow-builder/SKILL.md b/skills/bmad-workflow-builder/SKILL.md index 86b54a8..0ce1fc4 100644 --- a/skills/bmad-workflow-builder/SKILL.md +++ b/skills/bmad-workflow-builder/SKILL.md @@ -19,7 +19,7 @@ Act as an architect guide — walk users through conversational discovery to und 1. Detect user's intent. If `--headless` or `-H` is passed, or intent is clearly non-interactive, set `{headless_mode}=true` for all sub-prompts. -2. Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` (root and bmb section). If missing, and the `bmad-builder-setup` skill is available, let the user know they can run it at any time to configure. Resolve and apply throughout the session (defaults in parens): +2. Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` (root and bmb section). If neither exists, fall back to `{project-root}/_bmad/bmb/config.yaml` (legacy per-module format). If still missing, and the `bmad-builder-setup` skill is available, let the user know they can run it at any time to configure. Resolve and apply throughout the session (defaults in parens): - `{user_name}` (default: null) — address the user by name - `{communication_language}` (default: user or system intent) — use for all communications - `{document_output_language}` (default: user or system intent) — use for generated document content