From ce461c09cc348430818093bfca9d76e5b9cbe49c Mon Sep 17 00:00:00 2001 From: pbean Date: Thu, 28 May 2026 19:30:23 -0700 Subject: [PATCH] style(bmad-module): apply prettier formatting to README and SKILL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Formatting-only; no content changes. Brings both docs in line with the repo's prettier config (a leftover from the .js→.mjs migration). Co-Authored-By: Claude Opus 4.8 (1M context) --- src/core-skills/bmad-module/README.md | 2 +- src/core-skills/bmad-module/SKILL.md | 42 +++++++++++++-------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/core-skills/bmad-module/README.md b/src/core-skills/bmad-module/README.md index d392f98c6..605b24063 100644 --- a/src/core-skills/bmad-module/README.md +++ b/src/core-skills/bmad-module/README.md @@ -36,7 +36,7 @@ bmad-module list [--json] - **`remove`** without `--purge` preserves `_bmad/custom//` so a re-install picks the customizations back up. `--purge` deletes them. - **Hooks / MCP / LSP / Claude subagents** declared in the module manifest - are *copied* but NOT auto-activated by this skill. Use Claude Code's + are _copied_ but NOT auto-activated by this skill. Use Claude Code's plugin manager to wire them up. ## Implementation diff --git a/src/core-skills/bmad-module/SKILL.md b/src/core-skills/bmad-module/SKILL.md index cfc6c2906..f40b0f641 100644 --- a/src/core-skills/bmad-module/SKILL.md +++ b/src/core-skills/bmad-module/SKILL.md @@ -33,11 +33,11 @@ plugin via its `.claude-plugin/plugin.json` manifest. The user's request maps to exactly one of: -| Verb | Phrasing | -|---|---| -| `install` | "install module X", "add the X module", "set up X" | -| `update` | "update module X", "upgrade X", "pull the latest X" | -| `remove` | "remove module X", "uninstall X", "delete X module" | +| Verb | Phrasing | +| --------- | ---------------------------------------------------------------------- | +| `install` | "install module X", "add the X module", "set up X" | +| `update` | "update module X", "upgrade X", "pull the latest X" | +| `remove` | "remove module X", "uninstall X", "delete X module" | | `list` | "list modules", "what modules are installed", "show installed modules" | If the verb is ambiguous (e.g. the user says "manage modules"), ASK which @@ -96,27 +96,27 @@ suggest workarounds beyond what the script's message itself suggests ## EXIT CODES -| Code | Meaning | -|---|---| -| 0 | success | -| 2 | usage error (bad/missing args or flags) | -| 5 | skill runtime files missing/corrupt — reinstall the skill (a setup/packaging problem, NOT a module rejection) | -| 10 | no `_bmad/` directory in project — run `bmad install` first | -| 20 | missing or invalid `.claude-plugin/plugin.json` in source | -| 21 | module uses a reserved `bmad.code` | -| 30 | prefix collision with an already-installed module | -| 40 | module would write outside its `_bmad//` root | -| 50 | filesystem commit (atomic swap) failed | -| 60 | network or `git clone` failed | -| 70 | path traversal detected in manifest | -| 80 | update aborted: locally modified files would be overwritten | -| 90 | no such installed module (for `update`/`remove`) | +| Code | Meaning | +| ---- | ------------------------------------------------------------------------------------------------------------- | +| 0 | success | +| 2 | usage error (bad/missing args or flags) | +| 5 | skill runtime files missing/corrupt — reinstall the skill (a setup/packaging problem, NOT a module rejection) | +| 10 | no `_bmad/` directory in project — run `bmad install` first | +| 20 | missing or invalid `.claude-plugin/plugin.json` in source | +| 21 | module uses a reserved `bmad.code` | +| 30 | prefix collision with an already-installed module | +| 40 | module would write outside its `_bmad//` root | +| 50 | filesystem commit (atomic swap) failed | +| 60 | network or `git clone` failed | +| 70 | path traversal detected in manifest | +| 80 | update aborted: locally modified files would be overwritten | +| 90 | no such installed module (for `update`/`remove`) | ## EXAMPLES User: "Install the devlog module from acme/acme-devlog" → Confirm, then run: - `node …/scripts/bmad-module.mjs install acme/acme-devlog` +`node …/scripts/bmad-module.mjs install acme/acme-devlog` User: "Try installing examples/minimal/acme-md-lint first as a dry-run" → Run with `--dry-run`, show the plan, then ask whether to proceed for real.