diff --git a/.github/workflows/bundle-latest.yaml b/.github/workflows/bundle-latest.yaml deleted file mode 100644 index 7c49cb24..00000000 --- a/.github/workflows/bundle-latest.yaml +++ /dev/null @@ -1,330 +0,0 @@ -name: Publish Latest Bundles - -on: - push: - branches: [main] - workflow_dispatch: {} - -permissions: - contents: write - -jobs: - bundle-and-publish: - if: ${{ false }} # Temporarily disabled while web bundles are paused. - runs-on: ubuntu-latest - steps: - - name: Checkout BMAD-METHOD - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version-file: ".nvmrc" - cache: npm - - - name: Install dependencies - run: npm ci - - - name: Generate bundles - run: npm run bundle - - - name: Create bundle distribution structure - run: | - mkdir -p dist/bundles - - # Copy web bundles (XML files from npm run bundle output) - cp -r web-bundles/* dist/bundles/ 2>/dev/null || true - - # Verify bundles were copied (fail if completely empty) - if [ ! "$(ls -A dist/bundles)" ]; then - echo "❌ ERROR: No bundles found in dist/bundles/" - echo "This likely means 'npm run bundle' failed or bundles weren't generated" - exit 1 - fi - - # Count bundles per module - for module in bmm bmb cis bmgd; do - if [ -d "dist/bundles/$module/agents" ]; then - COUNT=$(find dist/bundles/$module/agents -name '*.xml' 2>/dev/null | wc -l) - echo "✅ $module: $COUNT agent bundles" - fi - done - - # Generate index.html for each agents directory (fixes directory browsing) - for module in bmm bmb cis bmgd; do - if [ -d "dist/bundles/$module/agents" ]; then - cat > "dist/bundles/$module/agents/index.html" << 'DIREOF' - - -
-Last Updated: $TIMESTAMP
Commit: $COMMIT_SHA
Download all agents for a module as a zip archive:
-Copy the raw XML URL and paste into your AI platform's custom instructions or project knowledge.
-Example: https://raw.githubusercontent.com/bmad-code-org/bmad-bundles/main/bmm/agents/pm.xml
For full IDE integration with slash commands, use the installer:
-npx bmad-method@alpha install- - - - - EOF - - - name: Checkout bmad-bundles repo - uses: actions/checkout@v4 - with: - repository: bmad-code-org/bmad-bundles - path: bmad-bundles - token: ${{ secrets.BUNDLES_PAT }} - - - name: Update bundles - run: | - # Clear old bundles - rm -rf bmad-bundles/* - - # Copy new bundles - cp -r dist/bundles/* bmad-bundles/ - - # Create .nojekyll for GitHub Pages - touch bmad-bundles/.nojekyll - - # Create README - cat > bmad-bundles/README.md << 'EOF' - # BMAD Web Bundles (Latest) - - **⚠️ Unstable Build**: These bundles are auto-generated from the latest `main` branch. - - For stable releases, visit [GitHub Releases](https://github.com/bmad-code-org/BMAD-METHOD/releases/latest). - - ## Usage - - Copy raw markdown URLs for use in AI platforms: - - - Claude Code: `https://raw.githubusercontent.com/bmad-code-org/bmad-bundles/main/claude-code/sub-agents/{agent}.md` - - ChatGPT: `https://raw.githubusercontent.com/bmad-code-org/bmad-bundles/main/chatgpt/sub-agents/{agent}.md` - - Gemini: `https://raw.githubusercontent.com/bmad-code-org/bmad-bundles/main/gemini/sub-agents/{agent}.md` - - ## Browse - - Visit [https://bmad-code-org.github.io/bmad-bundles/](https://bmad-code-org.github.io/bmad-bundles/) to browse bundles. - - ## Installation (Recommended) - - For full IDE integration: - ```bash - npx bmad-method@alpha install - ``` - - --- - - Auto-updated by [BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD) on every main branch merge. - EOF - - - name: Commit and push to bmad-bundles - run: | - cd bmad-bundles - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - git add . - - if git diff --staged --quiet; then - echo "No changes to bundles, skipping commit" - else - COMMIT_SHA=$(cd .. && git rev-parse --short HEAD) - git commit -m "Update bundles from BMAD-METHOD@${COMMIT_SHA}" - git push - echo "✅ Bundles published to GitHub Pages" - fi - - - name: Summary - run: | - echo "## 🎉 Bundles Published!" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "**Latest bundles** available at:" >> $GITHUB_STEP_SUMMARY - echo "- 🌐 Browse: https://bmad-code-org.github.io/bmad-bundles/" >> $GITHUB_STEP_SUMMARY - echo "- 📦 Raw files: https://github.com/bmad-code-org/bmad-bundles" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "**Commit**: ${{ github.sha }}" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/manual-release.yaml b/.github/workflows/manual-release.yaml index 4f9808fa..03f6695f 100644 --- a/.github/workflows/manual-release.yaml +++ b/.github/workflows/manual-release.yaml @@ -6,11 +6,11 @@ on: version_bump: description: Version bump type required: true - default: alpha + default: beta type: choice options: - - alpha - beta + - alpha - patch - minor - major @@ -158,9 +158,12 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | VERSION="${{ steps.version.outputs.new_version }}" - if [[ "$VERSION" == *"alpha"* ]] || [[ "$VERSION" == *"beta"* ]]; then - echo "Publishing prerelease version with --tag alpha" + if [[ "$VERSION" == *"alpha"* ]]; then + echo "Publishing alpha prerelease version with --tag alpha" npm publish --tag alpha + elif [[ "$VERSION" == *"beta"* ]]; then + echo "Publishing beta prerelease version with --tag latest" + npm publish --tag latest else echo "Publishing stable version with --tag latest" npm publish --tag latest diff --git a/.gitignore b/.gitignore index 75becca1..885cb245 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Dependencies -node_modules/ +**/node_modules/ pnpm-lock.yaml bun.lock deno.lock diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 12a3c943..c22ff4c5 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -2,7 +2,7 @@ # https://github.com/DavidAnson/markdownlint-cli2 ignores: - - node_modules/** + - "**/node_modules/**" - test/fixtures/** - CODE_OF_CONDUCT.md - _bmad/** diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f266887..ef064ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,99 @@ # Changelog +## [6.0.0-Beta.2] + +- Fix installer so commands match what is installed, centralize most ide into a central file instead of separate files for each ide. +- Specific IDEs may still need udpates, but all is config driven now and should be easier to maintain +- Kiro still needs updates, but its been in this state since contributed, will investigate soon +- Any version older than Beta.0 will recommend removal and reinstall to project. From later alphas though its sufficient to quick update if still desired, but best is just start fresh with Beta. + +## [6.0.0-Beta.1] + +**Release: January 2026 - Alpha to Beta Transition** + +### 🎉 Beta Release + +- **Transition from Alpha to Beta**: BMad Method is now in Beta! This marks a significant milestone in the framework's development +- **NPM Default Tag**: Beta versions are now published with the `latest` tag, making `npx bmad-method` serve the beta version by default + +### 🌟 Key Highlights + +1. **bmad-help**: Revolutionary AI-powered guidance system replaces the alpha workflow-init and workflow tracking — introduces full AI intelligence to guide users through workflows, commands, and project context +2. **Module Ecosystem Expansion**: bmad-builder, CIS (Creative Intelligence Suite), and Game Dev Studio moved to separate repositories for focused development +3. **Installer Consolidation**: Unified installer architecture with standardized command naming (`bmad-dash-case.md` or `bmad-*-agent-*.md`) +4. **Windows Compatibility**: Complete migration from Inquirer.js to @clack/prompts for reliable cross-platform support + +### 🚀 Major Features + +**bmad-help - Intelligent Guidance System:** + +- **Replaces**: workflow-init and legacy workflow tracking +- **AI-Powered**: Full context awareness of installed modules, workflows, agents, and commands +- **Dynamic Discovery**: Automatically catalogs all available workflows from installed modules +- **Intelligent Routing**: Guides users to the right workflow or agent based on their goal +- **IDE Integration**: Generates proper IDE command files for all discovered workflows + +**Module Restructuring:** + +| Module | Status | New Location | +| ------------------------------------- | ------------------------------------------------- | ------------------------------------------------------- | +| **bmad-builder** | Near beta, with docs and walkthroughs coming soon | `bmad-code-org/bmad-builder` | +| **CIS** (Creative Intelligence Suite) | Published as npm package | `bmad-code-org/bmad-module-creative-intelligence-suite` | +| **Game Dev Studio** | Published as npm package | `bmad-code-org/bmad-module-game-dev-studio` | + +### 🔧 Installer & CLI Improvements + +**UnifiedInstaller Architecture:** + +- All IDE installers now use a common `UnifiedInstaller` class +- Standardized command naming conventions: + - Workflows: `bmad-module-workflow-name.md` + - Agents: `bmad-module-agent-name.md` + - Tasks: `bmad-task-name.md` + - Tools: `bmad-tool-name.md` +- External module installation from npm with progress indicators +- Module removal on unselect with confirmation + +**Windows Compatibility Fix:** + +- Replaced Inquirer.js with @clack/prompts to fix arrow key navigation issues on Windows +- All 91 installer workflows migrated to new prompt system + +### 📚 Documentation Updates + +**Significant docsite improvements:** + +- Interactive workflow guide page (`/workflow-guide`) with track selector +- TEA documentation restructured using Diátaxis framework (25 docs) +- Style guide optimized for LLM readers (367 lines, down from 767) +- Glossary rewritten using table format (123 lines, down from 373) +- README overhaul with numbered command flows and prominent `/bmad-help` callout +- New workflow map diagram with interactive HTML +- New editorial review tasks for document quality +- E2E testing methodology for Game Dev Studio + +More documentation updates coming soon. + +### 🐛 Bug Fixes + +- Fixed TodoMVC URL references to include `/dist/` path +- Fixed glob pattern normalization for Windows compatibility +- Fixed YAML indentation in kilo.js customInstructions field +- Fixed stale path references in check-implementation-readiness workflow +- Fixed sprint-status.yaml sync in correct-course workflow +- Fixed web bundler entry point reference +- Fixed mergeModuleHelpCatalogs ordering after generateManifests + +### 📊 Statistics + +- **91 commits** since alpha.23 +- **969 files changed** (+23,716 / -91,509 lines) +- **Net reduction of ~67,793 lines** through cleanup and consolidation +- **3 major modules** moved to separate repositories +- **Complete installer refactor** for standardization + +--- + ## [6.0.0-alpha.23] **Release: January 11, 2026** diff --git a/README.md b/README.md index 3aed42a2..2842bee6 100644 --- a/README.md +++ b/README.md @@ -5,55 +5,81 @@ [](https://nodejs.org) [](https://discord.gg/gk8jAdXWmj) -**Build More, Architect Dreams** — 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. +**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 act as expert collaborators who guide you through structured workflows to bring out your best thinking. +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. -- **Scale-Adaptive**: Automatically adjusts planning depth based on project complexity (Level 0-4) +- **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) -- **Complete Lifecycle**: From brainstorming to deployment, with just-in-time documentation +- **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](https://nodejs.org) v20+ ```bash -npx bmad-method@alpha install +npx bmad-method install ``` -Follow the installer prompts to configure your project. Then run: +Follow the installer prompts, then open your AI IDE (Claude Code, Cursor, Windsurf, etc.) in the project folder. -```bash -*workflow-init -``` +> **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: -This analyzes your project and recommends a track: + - `/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` -| Track | Best For | Time to First Story | -| --------------- | ------------------------- | ------------------- | -| **Quick Flow** | Bug fixes, small features | ~5 minutes | -| **BMad Method** | Products and platforms | ~15 minutes | -| **Enterprise** | Compliance-heavy systems | ~30 minutes | +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: + +1. `/quick-spec` — analyzes your codebase and produces a tech-spec with stories +2. `/dev-story` — implements each story +3. `/code-review` — validates quality + +### 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. **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](http://docs.bmad-method.org/tutorials/getting-started/). ## Modules -| Module | Purpose | -| ------------------------------------- | -------------------------------------------------------- | -| **BMad Method (BMM)** | Core agile development with 34 workflows across 4 phases | -| **BMad Builder (BMB)** | Create custom agents and domain-specific modules | -| **Creative Intelligence Suite (CIS)** | Innovation, brainstorming, and problem-solving | +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](https://github.com/bmad-code-org/BMAD-METHOD) | [bmad-method](https://www.npmjs.com/package/bmad-method) | Core framework with 34+ workflows across 4 development phases | +| **BMad Builder (BMB)** | [bmad-code-org/bmad-builder](https://github.com/bmad-code-org/bmad-builder) | [bmad-builder](https://www.npmjs.com/package/bmad-builder) | Create custom BMad agents, workflows, and domain-specific modules | +| **Game Dev Studio (BMGD)** | [bmad-code-org/bmad-module-game-dev-studio](https://github.com/bmad-code-org/bmad-module-game-dev-studio) | [bmad-game-dev-studio](https://www.npmjs.com/package/bmad-game-dev-studio) | Game development workflows for Unity, Unreal, and Godot | +| **Creative Intelligence Suite (CIS)** | [bmad-code-org/bmad-module-creative-intelligence-suite](https://github.com/bmad-code-org/bmad-module-creative-intelligence-suite) | [bmad-creative-intelligence-suite](https://www.npmjs.com/package/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](http://docs.bmad-method.org)** — Tutorials, how-to guides, concepts, and reference -- [Getting Started Tutorial](http://docs.bmad-method.org/tutorials/getting-started/getting-started-bmadv6/) -- [Upgrading from Previous Versions](http://docs.bmad-method.org/how-to/installation/upgrade-to-v6/) +- [Getting Started Tutorial](http://docs.bmad-method.org/tutorials/getting-started/) +- [Upgrading from Previous Versions](http://docs.bmad-method.org/how-to/upgrade-to-v6/) ### For v4 Users @@ -62,7 +88,7 @@ This analyzes your project and recommends a track: ## Community - [Discord](https://discord.gg/gk8jAdXWmj) — Get help, share ideas, collaborate -- [YouTube](https://www.youtube.com/@BMadCode) — Tutorials, master class, and podcast (launching Feb 2025) +- [Subscribe on YouTube](https://www.youtube.com/@BMadCode) — Tutorials, master class, and podcast (launching Feb 2025) - [GitHub Issues](https://github.com/bmad-code-org/BMAD-METHOD/issues) — Bug reports and feature requests - [Discussions](https://github.com/bmad-code-org/BMAD-METHOD/discussions) — Community conversations @@ -70,11 +96,10 @@ This analyzes your project and recommends a track: BMad is free for everyone — and always will be. If you'd like to support development: -- ⭐ [Star us on GitHub](https://github.com/bmad-code-org/BMAD-METHOD/) — Helps others discover BMad -- 📺 [Subscribe on YouTube](https://www.youtube.com/@BMadCode) — Master class launching Feb 2026 +- ⭐ Please click the star project icon at near the top right of this page - ☕ [Buy Me a Coffee](https://buymeacoffee.com/bmad) — Fuel the development - 🏢 Corporate sponsorship — DM on Discord -- 🎤 Speaking & Media — Available for conferences, podcasts, interviews (Discord) +- 🎤 Speaking & Media — Available for conferences, podcasts, interviews (BM on Discord) ## Contributing diff --git a/docs/_README_WORKFLOW_DIAGRAMS.md b/docs/_README_WORKFLOW_DIAGRAMS.md deleted file mode 100644 index 8e61bc94..00000000 --- a/docs/_README_WORKFLOW_DIAGRAMS.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: "Workflow Diagram Maintenance" ---- - - -## Regenerating SVG from Excalidraw - -When you edit `workflow-method-greenfield.excalidraw`, regenerate the SVG: - -1. Open