Breakthrough Method for Agile Ai Driven Development
Go to file
Caleb cdc92d0d90 feat(scripts): port memory-safe execution and reliability improvements from revive-dev
Sync functional improvements developed in revive-dev into BMAD-METHOD
fork while preserving repo-specific paths:

- Add memory-safe Claude helpers (run_claude_to_file, read_phase_tail)
  that pipe output to temp files instead of bash variables, preventing
  GB-scale RAM usage during long epic executions
- Add kill_orphaned_test_processes() to clean up zombie jest/vitest/
  playwright/pytest processes between stories and on exit
- Replace per-call `env -u CLAUDECODE` with global `unset CLAUDECODE`
  at script start for cleaner nested session support
- Port metrics resume/accumulation logic that restores counters from
  existing YAML on resumed runs and accumulates duration
- Add log truncation between stories (64KB cap) to prevent unbounded
  log growth across multi-story runs
- Add log persistence and cleanup trap to epic-chain.sh
- Revert regression-gate.sh test commands to direct execution (matching
  revive-dev pattern)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 11:52:39 -05:00
.augment chore: configure dual-mode AI code review (#1511) 2026-02-07 09:17:41 -06:00
.claude/skills chore: remove unused changelog-social skill 2026-02-08 20:06:17 -06:00
.github fix(docs): comprehensive documentation site review fixes (#1578) 2026-02-08 11:58:22 -06:00
.husky docs: fix docs build (#1336) 2026-01-15 16:44:14 -06:00
.vscode excorcise the deamons part 1 - remove dead uneeed artifacts and items no longer being supported beyond beta of the BMM or core - but could return later as a module 2026-02-04 15:44:25 -06:00
docs fix(workflows): replace orphaned sprint_artifacts var and improve docs 2026-02-14 05:20:45 -06:00
scripts feat(scripts): port memory-safe execution and reliability improvements from revive-dev 2026-04-12 11:52:39 -05:00
src fix(workflows): replace orphaned sprint_artifacts var and improve docs 2026-02-14 05:20:45 -06:00
test merge: sync with upstream/main (v6.0.0-Beta.8) 2026-02-10 14:09:21 -06:00
tools fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00
website fix(docs): comprehensive documentation site review fixes (#1578) 2026-02-08 11:58:22 -06:00
.coderabbit.yaml chore: configure dual-mode AI code review (#1511) 2026-02-07 09:17:41 -06:00
.gitignore merge: sync with upstream/main (v6.0.0-Beta.8) 2026-02-10 14:09:21 -06:00
.markdownlint-cli2.yaml refactor: replace 'execute' with 'Read fully and follow:' in workflow prompts (#1387) 2026-01-23 22:25:19 -06:00
.npmrc fix: resolve npm install peer dependency issues 2026-01-30 15:37:42 +00:00
.nvmrc feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
.prettierignore folder rename from .bmad to _bmad 2025-12-13 16:22:34 +08:00
CHANGELOG.md docs: update CHANGELOG for v6.0.0-Beta.8 2026-02-08 20:05:47 -06:00
CLAUDE.md merge: sync with upstream/main (v6.0.0-Beta.8) 2026-02-10 14:09:21 -06:00
CNAME Add CNAME file 2026-01-07 18:18:12 +08:00
CONTRIBUTING.md feat: extend Layer 1 file-ref validator to scan CSV workflow-file references (#1573) 2026-02-08 09:19:53 -06:00
CONTRIBUTORS.md project licence, contribution and discord noise updates, along with improved simplified issue templates 2026-01-18 17:03:47 -06:00
LICENSE project licence, contribution and discord noise updates, along with improved simplified issue templates 2026-01-18 17:03:47 -06:00
README.md fix(workflows): replace orphaned sprint_artifacts var and improve docs 2026-02-14 05:20:45 -06:00
SECURITY.md Enhance security policy documentation (#1312) 2026-01-14 16:27:52 -06:00
TRADEMARK.md project licence, contribution and discord noise updates, along with improved simplified issue templates 2026-01-18 17:03:47 -06:00
Wordmark.png feat: update website header with new BMAD Method branding (#1352) 2026-01-18 00:25:12 -06:00
banner-bmad-method.png feat: update website header with new BMAD Method branding (#1352) 2026-01-18 00:25:12 -06:00
bmad_improvements.md feat(epic-execute): add comprehensive quality gates with self-healing 2026-01-26 13:45:13 -06:00
epic-1-uat-sample.md feat: implement UAT validation with self-healing fix loop 2026-01-05 19:24:18 -06:00
epic-chain-execution-report.md feat(epic-execute): add comprehensive quality gates with self-healing 2026-01-26 13:45:13 -06:00
eslint.config.mjs refactor: replace module installer scripts with declarative directories config 2026-02-08 19:21:48 -06:00
package-lock.json 6.0.0-Beta.8 2026-02-08 20:06:40 -06:00
package.json refactor: consolidate workflows to src/bmm/ and update test scripts 2026-02-10 14:42:11 -06:00
prettier.config.mjs feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
repo-structure-review.md fix(workflows): replace orphaned sprint_artifacts var and improve docs 2026-02-14 05:20:45 -06:00

README.md

BMad Method

Version License: MIT Node.js Version Discord

Breakthrough Method of Agile AI Driven Development — An AI-driven agile development framework with 21 specialized agents, 50+ guided workflows, and scale-adaptive intelligence that adjusts from bug fixes to enterprise systems.

100% free and open source. No paywalls. No gated content. No gated Discord. We believe in empowering everyone, not just those who can pay.

Why BMad?

Traditional AI tools do the thinking for you, producing average results. BMad agents and facilitated workflow act as expert collaborators who guide you through a structured process to bring out your best thinking in partnership with the AI.

  • AI Intelligent Help: Brand new for beta - AI assisted help will guide you from the beginning to the end - just ask for /bmad-help after you have installed BMad to your project
  • Scale-Domain-Adaptive: Automatically adjusts planning depth and needs based on project complexity, domain and type - a SaaS Mobile Dating App has different planning needs from a diagnostic medical system, BMad adapts and helps you along the way
  • Structured Workflows: Grounded in agile best practices across analysis, planning, architecture, and implementation
  • Specialized Agents: 12+ domain experts (PM, Architect, Developer, UX, Scrum Master, and more)
  • Party Mode: Bring multiple agent personas into one session to plan, troubleshoot, or discuss your project collaboratively, multiple perspectives with maximum fun
  • Complete Lifecycle: From brainstorming to deployment, BMad is there with you every step of the way

Quick Start

Prerequisites: Node.js v20+

npx bmad-method install

Follow the installer prompts. After installation, your project will have:

  • _bmad/ — BMad configuration, agents, and workflows (gitignored)
  • _bmad-output/ — where generated artifacts are saved (gitignored)

Open your AI IDE (Claude Code, Cursor, Windsurf, etc.) in the project folder and run /bmad-help to get personalized guidance on what to do next.

Non-Interactive Installation: For CI/CD pipelines or automated deployments, use command-line flags:

npx bmad-method install --directory /path/to/project --modules bmm --tools claude-code --yes

See Non-Interactive Installation Guide for all available options.

Not sure what to do? Run /bmad-help — it tells you exactly what's next and what's optional. You can also ask it questions like:

  • /bmad-help How should I build a web app for my TShirt Business that can scale to millions?
  • /bmad-help I just finished the architecture, I am not sure what to do next

And the amazing thing is BMad Help evolves depending on what modules you install also!

  • /bmad-help Im interested in really exploring creative ways to demo BMad at work, what do you recommend to help plan a great slide deck and compelling narrative?, and if you have the Creative Intelligence Suite installed, it will offer you different or complimentary advice than if you just have BMad Method Module installed!

The workflows below show the fastest path to working code. You can also load agents directly for a more structured process, extensive planning, or to learn about agile development practices — the agents guide you with menus, explanations, and elicitation at each step.

Simple Path (Quick Flow)

Bug fixes, small features, clear scope — 3 commands - 1 Optional Agent:

  1. /quick-spec — analyzes your codebase and produces a tech-spec with stories
  2. /dev-story — implements each story
  3. /code-review — validates quality

Tip: For existing codebases, run /generate-project-context first to capture implementation rules AI agents should follow.

Full Planning Path (BMad Method)

Products, platforms, complex features — structured planning then build:

  1. /product-brief — define problem, users, and MVP scope
  2. /create-prd — full requirements with personas, metrics, and risks
  3. /create-architecture — technical decisions and system design
  4. /create-epics-and-stories — break work into prioritized stories
  5. /sprint-planning — initialize sprint tracking
  6. For established projects: /generate-project-context — capture codebase conventions for AI agents
  7. Repeat per story: /create-story/dev-story/code-review

Every step tells you what's next. Optional phases (brainstorming, research, UX design) are available when you need them — ask /bmad-help anytime. For a detailed walkthrough, see the Getting Started Tutorial.

Modules

BMad Method extends with official modules for specialized domains. Modules are available during installation and can be added to your project at any time. After the V6 beta period these will also be available as Plugins and Granular Skills.

Module GitHub NPM Purpose
BMad Method (BMM) bmad-code-org/BMAD-METHOD bmad-method Core framework with 34+ workflows across 4 development phases
BMad Builder (BMB) bmad-code-org/bmad-builder bmad-builder Create custom BMad agents, workflows, and domain-specific modules
Test Architect (TEA) 🆕 bmad-code-org/tea tea Risk-based test strategy, automation, and release gates (8 workflows)
Game Dev Studio (BMGD) bmad-code-org/bmad-module-game-dev-studio bmad-game-dev-studio Game development workflows for Unity, Unreal, and Godot
Creative Intelligence Suite (CIS) bmad-code-org/bmad-module-creative-intelligence-suite bmad-creative-intelligence-suite Innovation, brainstorming, design thinking, and problem-solving
  • More modules are coming in the next 2 weeks from BMad Official, and a community marketplace for the installer also will be coming with the final V6 release!

Testing Agents

BMad provides two testing options to fit your needs:

Quinn (QA) - Built-in

Quick test automation for rapid coverage

  • Always available in BMM module (no separate install)
  • Simple: One workflow (QA - Automate)
  • Beginner-friendly: Standard test framework patterns
  • Fast: Generate tests and ship

Use Quinn for: Small projects, quick coverage, standard patterns

Test Architect (TEA) - Optional Module

Enterprise-grade test strategy and quality engineering

  • 🆕 Standalone module (install separately)
  • 🏗️ Comprehensive: 8 workflows covering full test lifecycle
  • 🎯 Advanced: Risk-based planning, quality gates, NFR assessment
  • 📚 Knowledge-driven: 34 testing patterns and best practices
  • 📖 Test Architect Documentation

Use TEA for: Enterprise projects, test strategy, compliance, release gates


Documentation

BMad Documentation — Tutorials, how-to guides, concepts, and reference Test Architect Documentation — TEA standalone module documentation

For v4 Users

  • v4 Documentation
  • If you need to install V4, you can do this with npx bmad-method@4.44.3 install - similar for any past version.

Community

Support BMad

BMad is free for everyone — and always will be. If you'd like to support development:

  • Please click the star project icon near the top right of this page
  • Buy Me a Coffee — Fuel the development
  • 🏢 Corporate sponsorship — DM on Discord
  • 🎤 Speaking & Media — Available for conferences, podcasts, interviews (BM on Discord)

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

MIT License — see LICENSE for details.


BMad and BMAD-METHOD are trademarks of BMad Code, LLC. See TRADEMARK.md for details.

Contributors

See CONTRIBUTORS.md for contributor information.