Introduction¶
When using BMad Method in DeepSeek Harness, the common approach is to use the official installer npx bmad-method install to deploy the runtime and skills into the project directory. However, this approach has several practical issues: skills end up in the IDE’s skills directory, conflicting with DSH’s native SkillProvider directory structure; a global install causes {project-root} semantics to be misaligned, making artifact paths prone to errors; duplicate configuration keys across multiple modules cause the renderer to HALT at the very first step; and legacy _bmad/ directories may be mistakenly identified as the project root. These problems are especially pronounced in team collaboration or multi-project scenarios.
dsh-bmad-method fully ports BMad Method 6.12.4 into DSH as a plugin. It does not rely on npx bmad-method install; instead, it packages and distributes 90 skills and runtime templates through DSH’s native mechanisms. Each project has its own independent _bmad/ directory, and module toggles only affect whether skills participate in DSH—they never delete any files. Maintained by jiaxinchayedan, categorized under Workflow.
Core Features¶
- 90 skills across 7 modules: Bundled with the plugin package, they don’t land in your skills directory, and are organized by module ownership.
- Project-level
_bmad/runtime: Automatically provisioned on the first call tobmad_project_status. Idempotent and offline. - Per-module toggles: Enable or disable modules via
bmad_project_module_toggleor the settings card. Disabled modules’ skills immediately disappear from the manifest, while files remain intact. - Official installer wrapper:
bmad_project_installinvokes the official installer to install or update modules, withdryRunsupport to preview commands first. - Configuration & artifact management: Configuration items include username, language, artifact directory, and disabled modules; artifacts are written to
<project>/_bmad-output/by default.
Installation & Activation¶
The plugin code is released under the MIT license. The BMad Method content distributed with the package is likewise distributed under MIT. It is recommended to review the source code and license before installation.
- Navigate to the plugin management interface in DeepSeek Harness.
- Use the install command to add the plugin (refer to the plugin directory page or official documentation for the specific command).
- After installation, open any project and call
bmad_project_statusto check whether the runtime has been provisioned.
Typical Usage¶
- Check status: Call
bmad_project_statusin a project directory to view installed modules, enablement status, core version, artifact directory, and whetheruvis available. - Install modules: Call
bmad_project_installto install or update modules. By default, all non-deprecated modules are installed per the registry. AdddryRunto preview commands first. - List modules: Call
bmad_project_modules_listto view only the module list and enablement status. - Toggle modules: Call
bmad_project_module_toggleto enable or disable a module. This only affects whether skills participate in DSH—no files are modified, and no restart is required.
The settings card also provides the same functionality: status viewing, three configuration items, module toggles, and an install button.
Configuration Items¶
| Item | Description |
|---|---|
| Username | Written to user_name in BMad core config. Leave empty to use the default BMad |
| Language | Communication + documentation output language. Defaults to Simplified Chinese |
| Artifact directory | Relative to project root. Defaults to _bmad-output |
| Disabled modules | Comma-separated module codes; toggling only hides skills, never deletes files |
After modifying, save. Volatile fields take effect in place without requiring a plugin restart.
Installation Locations & Artifacts¶
| Path | Content |
|---|---|
<project>/_bmad/ |
Runtime: config.toml, per-module config.yaml, scripts/, _config/ |
<project>/_bmad/custom/ |
Your custom override layer (team/individual). Not overwritten during re-provisioning or updates |
<project>/_bmad/render/ |
Render snapshot cache. Safe to discard |
<project>/_bmad-output/ |
Artifacts: PRDs, stories, retrospectives, test plans, etc. |
<project>/docs/ |
Default location for project_knowledge (created by the installer) |
The plugin package itself (skills/, bmad-home/) is read-only and will never be written to.
Issues Fixed During Porting¶
The plugin fixed several verified defects inherited from upstream during the porting process:
- Duplicate configuration keys across multiple modules: When multiple modules declaring the same key are enabled simultaneously, the upstream installer writes conflicting configurations, causing the renderer to HALT. The fix applies disambiguation after provisioning and installation, always preserving the
modules.bmmcopy and commenting out other same-named lines. - Artifact paths pointing to
skills/: Inherited runtime templates wrote artifacts to{project-root}/skills/..., conflicting with the plugin’s read-only skill directory. The fix uniformly migrated 13 path references to{project-root}/_bmad-output/. {project-root}semantic misalignment: The old approach installed BMad in the global home directory, invalidating the upstream convention that “the installation directory is the project root.” The fix provisions the runtime to each project’s own_bmad/, resolving the project root based on the caller session’s cwd.- Historical
_bmad/in home directory misidentified: When searching upward for_bmad/, without a boundary, historical directories could be mistaken for the project root. The fix stops the upward search at the user’s home directory and usesrealpathnormalization for path comparison. volatile()fields are accessors: Direct reads throw type errors. The fix usescfg()/cfgString()uniformly for reading, compatible with both accessors and raw values.uv runenvironment failures: In some environments, theuv runcache directory is not writable. The fix detectsuvavailability; when unavailable, it replacesuv runin scripts with directpythonexecution (bmad-build / bmad-build-auto still useuv run --no-cache).- Shadowing from duplicate skill sources: Skills left over from old installs had higher priority than the plugin’s, causing
{project-root}to not expand. The fix moves old skills to~/.agents/skills.disabled-bmad-backup/, making the plugin the sole source.
Development & Testing¶
The plugin includes 19 test cases covering runtime provisioning, configuration value writing, disambiguation priority, artifact path migration, placeholder expansion, module toggle filtering, accessor-based config reading, tool dryRun, and other scenarios. Tests use a mock ctx to actually run apply(), with no network access.
Development directory structure:
index.js: Plugin entry point—4 tools + skill provider + settings card channelclient.js: Browser half—settings card + module toggles + install buttonlib/:paths.js(project location),runtime.js(runtime provisioning, config writing, disambiguation),artifacts.js(artifact path migration),skills.js(SkillProvider: placeholder expansion + module filtering),bmad.js(registry discovery, official installer invocation, uv detection),state.js(module toggle state, volatile config reading, configEditor writing),defaults.js(defaults and module ordering)bmad-home/_bmad/: Runtime templates (31 files, 6.12.4)skills/: 90 skills + manifest.json (skill → module mapping)
To swap to a different BMad version, follow these steps: update the bmad-method version in package.json; use the official installer to provision a new version into a temporary project, then replace bmad-home/_bmad/ with its _bmad/; regenerate skills/manifest.json from its _config/skill-manifest.csv; run node test/plugin.test.js.
Use Cases & Cautions¶
This plugin is suitable for developers who need to use BMad Method across multiple projects, want consistent runtime and artifact paths, and require fine-grained control over module toggles. The plugin runs with the current DSH process permissions. It is recommended to review the source code and license before installation.
Summary¶
dsh-bmad-method introduces BMad Method 6.12.4 into DeepSeek Harness as a project-level plugin. Through the native SkillProvider and module toggle mechanism, it resolves issues such as directory structure conflicts, configuration conflicts, and path semantic misalignment. It provides 90 skills across 7 modules, supports status viewing, module installation, module toggling, and configuration management, making it ideal for developers who need a unified BMad Method experience in team collaboration and multi-project scenarios.
- Directory page: https://www.skillhub.cn/plugins/jiaxinchayedan/dsh-bmad-method
- GitHub: https://github.com/jiaxinchayedan/dsh-bmad-method