Skip to content

OpenCode Hotfix for BMAD Skills #2267

@jheyworth

Description

@jheyworth

Problem 1 — Broken paths

Skills use ./workflow.md — relative path fails under OpenCode.

Problem 2 — No direct invocation

Skills can only be reached via /skills menu. No /bmad-help, /bmad-quick-dev, etc.

Don't just drop the ./ — it still breaks

Changing ./workflow.md to workflow.md does not fix this. OpenCode still resolves it relatively and the skill still fails to find its workflow file. The only fix that works is a full path rooted at the project:

.opencode/skills/<folder>/workflow.md

Root fixes

  • Templates must emit full path: .opencode/skills/<folder>/workflow.md
  • Installer should generate .opencode/commands/<skill>.md per skill

Why this is an issue, not a PR

I understand the BMAD skills and installer are already being reworked, so I don't want to pre-empt that with a PR. This issue exists purely as a shareable workaround so affected users can repair their installs right now, before the rework lands.

Workaround

The attached prompt fixes both problems in a single run.

How to run

  • Save: Download the below linked Hot Fix Prompt for BMAD Skills in OpenCode.md into your project root
    ( Hot Fix Prompt for BMAD Skills in OpenCode.md )

  • Run: run Hot Fix Prompt for BMAD Skills in OpenCode.md

  • Confirm: Review dry-run TUI, reply Yes

  • Verify: Restart OpenCode, type /bmad-help

Safe

  • Dry-run first
  • Idempotent
  • Preserves inline skills (no workflow.md sibling)
  • Skips existing commands
  • Any unrecognised pattern → reported as "needs manual review", never silently mangled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions