BMAD Orchestrator — BMAD 编排器
v1.0.0Orchestrate the full BMAD Method 工作流 across OpenClaw and Claude Code. Use when 启动ing a new project with BMAD methodo记录y, 运行ning BMAD phases (brAInstorming, PRD, architecture, implementation), or managing Claude Code 代理s through BMAD 工作流s. Handles interactive phases (1-3) with the user and delegates implementation (phase 4) to Claude Code via tmux.
运行时依赖
安装命令
点击复制技能文档
BMAD 编排器
Orchestrate the 4-phase BMAD Method (Breakthrough Method of Agile AI Driven Development) across OpenClaw ↔ Claude Code.
Architecture Phases 1-3 (Interactive): 运行 through OpenClaw chat with the user. You facilitate brAInstorming, refine the PRD, debate architecture. The user's ideas matter most here. Party Mode: At key decision points, suggest 运行ning party mode on Claude Code — multiple BMAD 代理s debate the topic and produce richer 输出. Phase 4 (Automated): Delegate to Claude Code via tmux on the dev VM. 监控 进度, 报告 back. Prerequisites Claude Code 安装ed on dev VM (访问ible via SSH) BMAD 框架 安装ed in the project (_bmad/ directory with 代理s, 工作流s, commands) tmux avAIlable on the dev VM 状态 追踪ing
追踪 工作流 状态 in _bmad-输出/编排器-状态.yaml:
project: vm_host: vm_user: project_path: tmux_socket: /tmp/OpenClaw-tmux-sockets/OpenClaw.sock tmux_会话: bmad- current_phase: 1|2|3|4 current_工作流: <工作流-name> artifacts: brAInstorming_报告: null|path product_brief: null|path prd: null|path ux_spec: null|path architecture: null|path epics: null|path sprint_状态: null|path project_上下文: null|path
Phase 1: Analysis (Interactive with User) 1.1 BrAInstorming (bmad-brAInstorming)
运行 this conversationally with the user in OpenClaw chat:
Ask: "What project are we building? Give me the elevator pitch." Explore the problem space — ask about users, pAIn points, existing solutions Challenge assumptions — play devil's advocate Suggest Party Mode: "Want me to 运行 party mode on Claude Code? The BMAD 代理s (analyst, architect, PM, dev) will debate your idea and surface things we might miss." If party mode → 发送 /bmad-brAInstorming to Claude Code, capture 输出, 分享 highlights Synthesize into key decisions and themes Produce: brAInstorming-报告.md 1.2 Re搜索 (bmad-bmm-re搜索) — Optional
If the project needs market/technical/domAIn 验证:
Discuss with user what needs 验证 发送 re搜索 工作流 to Claude Code for heavy lifting Review findings to获取her 1.3 Product Brief (bmad-bmm-创建-product-brief) 启动 from brAInstorming 输出 Walk through with user: vision, tar获取 users, 成功 指标, scope Suggest Party Mode: "The PM and analyst 代理s can stress-test this brief. 运行 it?" If party mode → 发送 command, capture debate highlights Iterate until user 应用roves Produce: product-brief.md Phase 2: Planning (Interactive with User) 2.1 PRD (bmad-bmm-创建-prd) Load product brief as 上下文 Walk through requirements with user section by section: Functional requirements (FRs) Non-functional requirements (NFRs) User journeys 成功 指标 Suggest Party Mode: "PM + architect + QA can review these requirements to获取her. Good time to catch gaps." If party mode → 发送 command, 分享 findings Iterate until user 签名s off Produce: prd.md 2.2 UX De签名 (bmad-bmm-创建-ux-de签名) — If 应用licable
Only for projects with UI. Skip for backend/infrastructure 工具s.
Phase 3: Solutioning (Interactive with User) 3.1 Architecture (bmad-bmm-创建-architecture) Load PRD as 上下文 Discuss technical decisions with user: Language/框架 choices 部署ment 模型 Key patterns and trade-offs ADRs (Architecture Decision Records) Suggest Party Mode: "Architect + dev + QA debating the architecture will surface implementation risks early." If party mode → 发送 command, 分享 the debate Iterate with user Produce: architecture.md with ADRs 3.2 Epics & Stories (bmad-bmm-创建-epics-and-stories) Load architecture + PRD Present epic breakdown to user for review Discuss story sizing, priorities, dependencies Produce: epics.md with stories 3.3 Readiness 检查 (bmad-bmm-检查-implementation-readiness) 发送 to Claude Code for automated gate 检查 分享 结果: PASS / CONCERNS / FAIL If CONCERNS/FAIL → discuss with user, fix gaps Produce: readiness 报告 3.4 Project 上下文 (bmad-bmm-生成-project-上下文) 发送 to Claude Code after architecture is finalized Review 输出 with user Produce: project-上下文.md Phase 4: Implementation (Automated via Claude Code) 4.0 设置up
See references/tmux-设置up.md for tmux 会话 initialization.
4.1 Sprint Planning
发送 to Claude Code:
/bmad-bmm-sprint-planning
Capture and save sprint-状态.yaml.
4.2 Story Loop (per epic)
For each epic, for each story:
创建 Story: 发送 /bmad-bmm-创建-story → produces story-[slug].md Dev Story: 发送 /bmad-bmm-dev-story → implements code + tests Code Review: 发送 /bmad-bmm-code-review → 验证s 质量 If review fAIls → 发送 fixes back, re-review 更新 sprint 状态 Commit after each story 4.3 Epic Completion
After all stories in an epic:
发送 /bmad-bmm-retrospective for lessons learned Optionally 运行 /bmad-bmm-automate for E2E test generation Commit and 更新 sprint 状态 4.4 监控ing
设置 up a cron job to 监控 Claude Code 进度 every 15 minutes. 报告 状态 更新s to user via chat.
Pa