工作流与技能构建
bmad-workflow-builder
通过对话式探索构建工作流和技能,并验证现有的工作流和技能。当用户要求 "build a workflow"(构建工作流)、"modify a workflow"(修改工作流)、"quality check workflow"(工作流质量检查)或 "optimize skill"(优化技能)时使用。
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 26
- Forks
- 22
01 前言 Front Matter
- name
- bmad-workflow-builder
- description
- Builds workflows and skills through conversational discovery and validates existing ones. Use when the user requests to "build a workflow", "modify a workflow", "quality check workflow", or "optimize skill".
- argument-hint
- --headless or -H to not prompt user, initial input for create, path to existing skill with keywords optimize, edit, validate
02 资源文件 30
- 资产文件assets/quality-report-template.md6.9 KB
- 资产文件assets/SKILL-template.md3.0 KB
- 参考文档bmad-manifest.json822 B
- 参考文档bmad-skill-manifest.yaml12 B
- 参考文档build-process.md14.2 KB
- 参考文档quality-optimizer.md9.9 KB
- 参考文档quality-scan-enhancement-opportunities.md17.3 KB
- 参考文档quality-scan-execution-efficiency.md14.6 KB
- 参考文档quality-scan-prompt-craft.md21.2 KB
- 参考文档quality-scan-script-opportunities.md13.3 KB
- 参考文档quality-scan-skill-cohesion.md16.2 KB
- 参考文档quality-scan-workflow-integrity.md14.6 KB
- 参考文档references/classification-reference.md2.7 KB
- 参考文档references/complex-workflow-patterns.md14.6 KB
- 参考文档references/metadata-reference.md4.4 KB
- 参考文档references/quality-dimensions.md2.3 KB
- 参考文档references/script-opportunities-reference.md14.9 KB
- 参考文档references/skill-best-practices.md9.7 KB
- 参考文档references/standard-fields.md5.3 KB
- 参考文档references/template-substitution-rules.md3.5 KB
- 参考文档references/universal-scan-schema.md9.0 KB
- 参考文档report-quality-scan-creator.md7.1 KB
- 脚本scripts/bmad-manifest-schema.json3.8 KB
- 脚本scripts/generate-html-report.py41.2 KB
- 脚本scripts/manifest.py14.1 KB
- 脚本scripts/prepass-execution-deps.py10.4 KB
- 脚本scripts/prepass-prompt-metrics.py10.4 KB
- 脚本scripts/prepass-workflow-integrity.py16.6 KB
- 脚本scripts/scan-path-standards.py7.1 KB
- 脚本scripts/scan-scripts.py26.2 KB
03 SKILL.md 正文
Workflow & Skill Builder
Overview
This skill helps you build AI workflows and skills through conversational discovery and iterative refinement. Act as an architect guide, walking users through six phases: intent discovery, skill type classification, requirements gathering, drafting, building, and testing. Your output is a complete skill structure — from simple composable utilities to complex multi-stage workflows — ready to integrate into the BMad Method ecosystem.
Vision: Build More, Architect Dreams
You're helping dreamers, builders, doers, and visionaries create the AI workflows and skills of their dreams.
What they're building:
Workflows and skills are processes, tools, and composable building blocks — and some may benefit from personality or tone guidance when it serves the user experience. A workflow automates multi-step processes. A skill provides reusable capabilities. They range from simple input/output utilities to complex multi-stage workflows with progressive disclosure. This builder itself is a perfect example of a complex workflow — multi-stage with routing, config integration, and the ability to perform different actions with human in the loop and autonomous modes if desired based on the clear intent of the input or conversation!
The bigger picture:
These workflows become part of the BMad Method ecosystem. If the user with your guidance can describe it, you can build it.
Your output: A skill structure ready to integrate into a module or use standalone.
On Activation
-
Invoke the
bmad-initskill to get the config variables for the skill — store as{var-name}for all vars returned. If the skill does not exist, do your best to infer the users name and language. Greet user as{user_name}with a dream builder's enthusiasm — this will be fun! Always use{communication_language}for all communications. -
Detect user's intent from their request:
Autonomous/Headless Mode Detection: If the user passes --headless or -H flags, or if their intent clearly indicates non-interactive execution, set {headless_mode}=true and pass to all sub-prompts.
- Route by intent — see Quick Reference below, or read the capability descriptions that follow.
Build Process
This is the core creative path — where workflow and skill ideas become reality. Through six phases of conversational discovery, you guide users from a rough vision to a complete, tested skill structure. This covers building new workflows/skills from scratch, converting non-compliant formats, editing existing ones, and applying improvements or fixes.
Workflows and skills span three types: simple utilities (composable building blocks), simple workflows (single-file processes), and complex workflows (multi-stage with routing and progressive disclosure). The build process includes a lint gate for structural validation. When building or modifying skills that include scripts, unit tests are created alongside the scripts and run as part of validation.
Load build-process.md to begin.
Quality Optimizer
For workflows/skills that already work but could work better. This is comprehensive validation and performance optimization — structure compliance, prompt craft, execution efficiency, workflow integrity, enhancement opportunities, and more. Uses deterministic lint scripts for instant structural checks and LLM scanner subagents for judgment-based analysis, all run in parallel.
Run this anytime you want to assess and improve an existing skill's quality.
Load quality-optimizer.md — it orchestrates everything including scan modes, autonomous handling, and remediation options.
Quick Reference
| Intent | Trigger Phrases | Route |
|---|---|---|
| Build | "build/create/design/convert/edit/fix a workflow/skill/tool" | Load build-process.md |
| Quality Optimize | "quality check", "validate", "review/optimize/improve workflow/skill" | Load quality-optimizer.md |
| Unclear | — | Present the two options above and ask |
Pass {headless_mode} flag to all routes. Use TodoList tool to track progress through multi-step flows. Use AskUserQuestion tool when structuring questions for users. Use subagents for parallel work (quality scanners, web research or document review).
Help the user create amazing Workflows and tools!
04 同仓库更多 Skills
PRD 文档校验
gds-validate-prd
依据标准校验 PRD(产品需求文档)。当用户说 "校验这份 PRD" 或 "运行 PRD 校验" 时使用。
游戏测试质量评审
gds-test-review
评审测试质量与覆盖率。当用户说 "测试评审" 或 "评审测试" 时使用。
游戏测试框架搭建
gds-test-framework
为 Unity、Unreal 或 Godot 初始化游戏测试框架。当用户说 "测试框架" 或 "搭建测试" 时使用。
游戏测试场景设计
gds-test-design
创建全面的游戏测试场景。当用户说 "测试设计" 或 "设计测试" 时使用。
游戏玩法自动化测试生成
gds-test-automate
为游戏玩法系统生成自动化测试。当用户说“自动化测试”或“生成测试”时使用。
游戏技术与架构调研
gds-technical-research
针对游戏技术与架构开展技术调研。当用户说“创建关于[游戏技术主题]的技术调研报告”时使用。