From 4d036bc18ba9c86113507ce2c45f280931553247 Mon Sep 17 00:00:00 2001 From: pbean Date: Mon, 1 Jun 2026 17:44:34 -0700 Subject: [PATCH] docs(bmad-module): correct script location to installed IDE skills dir Step 4 pointed at _bmad/core/skills/bmad-module/, but the new module system distributes skills verbatim into the selected IDE directories (.claude/skills/, .agents/skills/, etc.). Resolve the script relative to SKILL.md instead, and route the missing-script case to the existing exit-code-5 reinstall guidance. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/core-skills/bmad-module/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core-skills/bmad-module/SKILL.md b/src/core-skills/bmad-module/SKILL.md index 6c646c953..690bb8251 100644 --- a/src/core-skills/bmad-module/SKILL.md +++ b/src/core-skills/bmad-module/SKILL.md @@ -59,7 +59,7 @@ Run from the project root (the dir containing `_bmad/`): node /scripts/bmad-module.mjs [args...] ``` -`` is wherever the skill files live in the current install. After this skill ships into BMAD-METHOD that's `_bmad/core/skills/bmad-module/`; during development it's this repo's `src/core-skills/bmad-module/`. +`` is this skill's own directory — the script ships alongside this `SKILL.md`, so it lives wherever `bmad install` distributed skills for the coding assistant you're running under. That's `/bmad-module/` (e.g. `.claude/skills/bmad-module/` for Claude Code, `.agents/skills/bmad-module/` for Cursor/Copilot/etc.), making the script `/bmad-module/scripts/bmad-module.mjs`. During development in this repo it's `src/core-skills/bmad-module/scripts/bmad-module.mjs`. Resolve it relative to this `SKILL.md` rather than assuming a fixed path. If the script isn't found next to it, the skill's bundled runtime is missing — that's the exit-code-5 case (see CRITICAL RULES and EXIT CODES): relay the "reinstall the skill" guidance rather than guessing another location. Stream stdout and stderr verbatim. Do NOT silence or rewrite them — the script's own messages are designed for end-user consumption.