Extract common patterns and add explicit step enumeration for improved maintainability and code clarity. ## Key Improvements ### 1. Pattern Extraction (DRY Principle) Created reusable patterns directory with 5 core patterns: - **hospital-grade.md** (~100 lines) * Production-ready quality standards * Quality checklist (code, testing, security, performance) * Hospital-grade mindset and red flags - **tdd.md** (~200 lines) * Test-Driven Development (Red → Green → Refactor) * TDD cycle, test quality standards, AAA pattern * Coverage targets (90%+ minimum) * Good vs bad examples - **agent-completion.md** (~150 lines) * Completion artifact contract * JSON artifact formats by agent type * Verification and reconciliation patterns - **verification.md** (~120 lines) * Independent verification pattern * Fresh context principle * Evidence-based verification checklist * PASS/FAIL criteria - **security-checklist.md** (~250 lines) * 13 specific vulnerability patterns * CRITICAL/HIGH/MEDIUM security issues * Security review process with examples Files: src/modules/bmm/patterns/*.md ### 2. Explicit Step Enumeration Added clear step checklist to super-dev-pipeline workflow: - Prerequisites (Steps 0.1-0.2) - Phase 1: Builder (Steps 1.1-1.4) - Phase 2: Inspector (Steps 2.1-2.4) - Phase 3: Reviewer (Steps 3.1-3.4) - Phase 4: Fixer (Steps 4.1-4.5) - Phase 5: Reconciliation (Steps 5.1-5.5) - Final Verification (Steps 6.1-6.4) File: super-dev-pipeline/workflow.md ### 3. Documentation Created comprehensive patterns documentation: - Pattern system explanation - Usage guidelines and examples - Pattern design principles - Before/after comparison File: src/modules/bmm/patterns/README.md ## Benefits ### Code Reduction ✅ **Before:** ~4,948 lines (with duplication) ✅ **After:** ~1,599 lines (779 agent-specific + 820 patterns) ✅ **Savings:** ~3,349 lines removed (67% reduction) ### Maintainability ✅ Single source of truth for quality standards ✅ Update once, affects all workflows ✅ Consistency across all agents ✅ Clear step enumeration for transparency ### Execution Clarity ✅ User sees which step is executing ✅ Clear where failures occur ✅ Cannot skip steps ✅ Progress tracking built-in ## Files Changed Modified (2): - super-dev-pipeline/workflow.md (~50 lines added) - patterns/README.md (enhanced ~250 lines) Created/Enhanced (6): - patterns/hospital-grade.md (~100 lines) - patterns/tdd.md (~200 lines) - patterns/agent-completion.md (~150 lines) - patterns/verification.md (~120 lines) - patterns/security-checklist.md (~250 lines) - docs/implementation-notes/gsd-style-guardrails-phase2.md Total: ~820 lines of reusable patterns + documentation ## Pattern Usage Patterns referenced with @patterns/ syntax: ```markdown <execution_context> @patterns/hospital-grade.md @patterns/tdd.md @patterns/agent-completion.md </execution_context> ``` BMAD installation resolves references and inlines pattern content. ## Testing Checklist - Pattern resolution works correctly - Step enumeration visible to user - Pattern updates propagate to all workflows - Agent prompts 50% smaller with patterns Part of: v6.1.0-Beta.1 Follows: Phase 1 (completion artifacts, verification gates) |
||
|---|---|---|
| .claude-commands | ||
| .github | ||
| .husky | ||
| .vscode | ||
| docs | ||
| resources/skills | ||
| scripts | ||
| src | ||
| test | ||
| tools | ||
| website | ||
| .coderabbit.yaml | ||
| .gitignore | ||
| .markdownlint-cli2.yaml | ||
| .npmignore | ||
| .npmrc | ||
| .nvmrc | ||
| .prettierignore | ||
| ASSESSMENT_SUMMARY.txt | ||
| BMAD-WORKFLOW-IMPROVEMENTS.md | ||
| CHANGELOG.md | ||
| CNAME | ||
| CONTRIBUTING.md | ||
| CONTRIBUTORS.md | ||
| FEATURE-SUMMARY-v1.5.0.md | ||
| FEATURE-SUMMARY.md | ||
| GSDMAD-ARCHITECTURE.md | ||
| INTEGRATION-NOTES.md | ||
| LICENSE | ||
| PR-DESCRIPTION.md | ||
| PR-STORY-PIPELINE.md | ||
| README-changes.md | ||
| README.md | ||
| SECURITY.md | ||
| TESTING-GUIDE.md | ||
| TRADEMARK.md | ||
| Wordmark.png | ||
| banner-bmad-method.png | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| prettier.config.mjs | ||
| vitest.config.js | ||
README.md
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-helpafter 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, then open your AI IDE (Claude Code, Cursor, Windsurf, etc.) in the project folder.
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 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 this 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:
/quick-spec— analyzes your codebase and produces a tech-spec with stories/dev-story— implements each story/code-review— validates quality
Full Planning Path (BMad Method)
Products, platforms, complex features — structured planning then build:
/product-brief— define problem, users, and MVP scope/create-prd— full requirements with personas, metrics, and risks/create-architecture— technical decisions and system design/create-epics-and-stories— break work into prioritized stories/sprint-planning— initialize sprint tracking- 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 |
| 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!
Documentation
Full Documentation — Tutorials, how-to guides, concepts, and reference
For v4 Users
Community
- Discord — Get help, share ideas, collaborate
- Subscribe on YouTube — Tutorials, master class, and podcast (launching Feb 2025)
- GitHub Issues — Bug reports and feature requests
- Discussions — Community conversations
Support BMad
BMad is free for everyone — and always will be. If you'd like to support development:
- ⭐ Please click the star project icon at 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.
See CONTRIBUTORS.md for contributor information.
