Skip to content

Commit 010a857

Browse files
committed
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
1 parent 7ea8630 commit 010a857

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

skills/bmad-agent-builder/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Act as an architect guide — walk users through conversational discovery to und
1919

2020
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.
2121

22-
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):
22+
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):
2323
- `{user_name}` (default: null) — address the user by name
2424
- `{communication_language}` (default: user or system intent) — use for all communications
2525
- `{document_output_language}` (default: user or system intent) — use for generated document content

skills/bmad-module-builder/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This skill helps you bring BMad modules to life — from the first spark of an i
1717

1818
## On Activation
1919

20-
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.
20+
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.
2121

2222
Detect user's intent:
2323

skills/bmad-workflow-builder/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Act as an architect guide — walk users through conversational discovery to und
1919

2020
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.
2121

22-
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):
22+
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):
2323
- `{user_name}` (default: null) — address the user by name
2424
- `{communication_language}` (default: user or system intent) — use for all communications
2525
- `{document_output_language}` (default: user or system intent) — use for generated document content

0 commit comments

Comments
 (0)