@stefanoginella/auto-bmad
v0.1.26
Published
Installs the auto-bmad Claude Code plugin — automated BMAD pipeline orchestration
Maintainers
Readme
🤖 Auto BMAD
Automated (and very opinionated) BMAD pipeline orchestration for Claude Code.
Four sequential pipeline commands that drive the BMAD software development lifecycle — from planning through story delivery.
👀 The pipelines are quite long and token hungry (the story pipeline alone can run for more than 60 minutes). Some steps might seem redundant, but I am satisfied with the code quality and consistency I get out of this. I recommend having a Claude Code Max x5 or x20 subscription to not hit limits mid-run.
🚀 Commands
| Command | Steps | Description |
|---------|-------|-------------|
| /auto-bmad-plan | 11 | Pre-implementation pipeline: product brief, PRD, validate, UX, architecture, test framework, test design, epics, readiness, project context, sprint planning |
| /auto-bmad-epic-start | 1 | Start a new epic: epic-level test design |
| /auto-bmad-story | 13 | Develop a story: create, validate, adversarial review, ATDD, develop, edge-case hunt, 3x code review, NFR, trace, automate, test review |
| /auto-bmad-epic-end | 3 | Close an epic: trace, retrospective, project context refresh |
🗂 Artifacts
The pipelines produce the following key artifacts throughout the lifecycle:
| Pipeline | Artifacts | |----------|-----------| | Plan | Product brief, PRD, UX design, architecture doc, test framework, CI configuration, epics, test design, sprint plan | | Epic Start | Retro action resolution log, green baseline report, story order plan | | Story | Story file, ATDD specs, implementation code, code review report, security scan results, regression/E2E results, traceability entries | | Epic End | Aggregated epic data, traceability gate report, retrospective, next epic preview |
🛠 Typical Workflow
This is what a complete workflow using the pipelines might look like. If you already have all the planning artifacts ready, you can skip the plan pipeline and go directly to step 4 or 5.
- Prepare a strong and comprehensive input for the plan pipeline — it validates readiness and won't run with a simple
Create a todo appprompt. I recommend going through a few/bmad-brainstormingand/bmad-party-modesessions first to build up enough context. If the initial input isn't ready, the plan pipeline will tell you what to improve. - Run
/auto-bmad-planto kick off the initial planning pipeline for a new project or major initiative. This sets up the overall architecture, test framework, CI configuration, and initial epics and stories. - Review the PRD, Architecture, UX design, Epics, and Test Plan generated by the plan pipeline. Make sure they look good and adjust if necessary before moving on to implementation. You might want to go through a few iterations of
/bmad-party-modeto refine the output, since it sets the foundation for the next steps. - For each new epic, run
/auto-bmad-epic-startto establish a baseline and plan the story order based on the epic's goals and dependencies. - For each story within an epic, run
/auto-bmad-storyto develop the story from creation through delivery, including validation, adversarial review, ATDD, development, edge-case hunt, code review, NFR, traceability, test automation, and test review. - After each story, review the report generated by the story pipeline and any other BMAD artifacts, perform some manual testing, and correct course if necessary.
- At the end of an epic, run
/auto-bmad-epic-endto close the epic, aggregate data, perform a traceability gate, conduct a retrospective, and preview the next epic. - Review the outputs of each pipeline run, check the generated artifacts, and make adjustments as needed. The pipelines are opinionated and automated, but they still require human judgment and iteration. Use
/bmad-bmm-correct-coursewhen big changes are needed.
ℹ️ Important: This plugin won't automate a multi-story workflow or an entire epic. Some human orchestration and judgment is still required between pipeline runs.
📦 Installation
One-command install via npx:
npx @stefanoginella/auto-bmadOr from the marketplace inside Claude Code:
/plugin marketplace add stefanoginella/claude-code-plugins
/plugin install auto-bmad@stefanoginella-plugins --scope <project|user|local>Scopes: project (shared with team), user (all your projects), local (personal, gitignored).
Or as a local plugin for development:
claude --plugin-dir /path/to/plugins/auto-bmad📋 Prerequisites
⚠️ IMPORTANT: Without these, the pipelines might fail or produce incorrect results. Make sure they're in place before running the pipelines.
BMAD Method
The pipelines are based on the BMAD Method workflow and relies on specific BMAD modules.
Required BMAD Modules
- TEA — Test Engineering Architect. Provides test strategy, test design, and ATDD capabilities used throughout the pipelines.
Optional BMAD Modules
- CIS — Creative Intelligence Suite. Enhances UX design quality during the plan pipeline. Without it, UX steps use baseline prompts.
Optional (but recommended) Claude Code Plugins
From the anthropics/claude-plugins-official marketplace.
- context7 — Live documentation lookups for library APIs. Used during architecture creation (plan) and story development (story). Without it, agents rely on training data instead of current docs.
- security-guidance — Security best practice recommendations during story development.
- Any relevant
lspplugin(s) for your codebase — used during story development for linting and test feedback. They can improve the code quality and feedback loop, but are not strictly required since the pipelines also include manual lint and test steps.
Required and optional CLI tools
jq(required) - JSON processing in bash steps. Needed by the pipelines.- Any relevant CLI tool (optional) needed by your LSP plugin(s).
Project Requirements
The pipelines expect BMAD configuration files in the project:
_bmad/bmm/config.yaml— BMM configuration (output folders, artifact paths)_bmad/tea/config.yaml— TEA configuration (test artifact paths)
These files are normally created by the BMAD CLI when initializing BMAD in a project. The pipelines rely on the standard structure and paths defined by these configs, so custom configurations may require pipeline adjustments.
🔐 Permissions
The pipelines run various bash commands (depending on the project), skills and MCP that Claude Code will prompt you to approve if they are not already approved. For the first few runs in a new project, expect several approval prompts as the allow list builds up. After that, things stabilize and the pipelines run more autonomously.
⚠️ Alternatively, you can run Claude Code in "dangerously skip permissions" mode (
--dangerously-skip-permissions), but do so at your own risk — this disables all permission checks. Only use it in an isolated environment like a VM or container.
