BMad CodeLensA VS Code / Cursor extension that integrates with the BMad AI-driven development workflow. It surfaces CodeLens action buttons directly above story headers in your markdown files, so you can trigger BMad AI agent commands.
What it doesWhen you open a BMad epic file or a story implementation file in your editor, the extension reads story IDs and their statuses and injects clickable buttons (CodeLens) above each story header. Clicking a button opens GitHub Copilot Chat with the appropriate BMad slash command and story ID pre-filled or falls back to copying the command to the clipboard if chat is unavailable. This removes the need to manually type story IDs and slash commands, keeping you in flow while working through a BMad sprint. InstallDownload the latest
After installing, reload the editor window ( FeaturesEpic files (
|
| Status | Badge | Meaning |
|---|---|---|
ready-for-dev |
🔵 ready-for-dev | Implementation file exists, development not started or in progress |
review |
🟡 review | Story is in code review |
done |
🟢 done | Story is complete |
Story implementation files (# Story X.Y: Title)

A single status-dependent action button appears above the header:
| Status | Action | Command |
|---|---|---|
ready-for-dev |
Dev Story | /bmad-bmm-dev-story |
review |
Code Review | /bmad-bmm-code-review |
done |
(no action) | — |
How it works
Clicking a button opens the Copilot Chat panel with the slash command and story ID pre-filled. If chat is unavailable, the command is copied to the clipboard instead.
Status is resolved by matching story IDs to implementation artifact files (e.g. Story 1.1 matches 1-1-*.md in implementation-artifacts/), then reading the Status: field from the file.
Configuration
Settings available under bmadCodelens.*:
| Setting | Default | Description |
|---|---|---|
bmadCodelens.enabled |
true |
Enable/disable CodeLens buttons |
bmadCodelens.outputFolder |
_bmad-output |
Relative path to the BMad output folder that contains implementation-artifacts/ |
Contributing
See CONTRIBUTING.md for build instructions, development setup, testing, and release process.
