bmad-workflow-builder
Builds, converts, and analyzes workflows and skills. Use when the user requests to "build a workflow", "modify a workflow", "quality check workflow", "analyze skill", or "convert a skill".
- License 许可
- AGPL-3.0
- 最近更新
- 2026-05-25
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- bmad-workflow-builder
- description
- Builds, converts, and analyzes workflows and skills. Use when the user requests to "build a workflow", "modify a workflow", "quality check workflow", "analyze skill", or "convert a skill".
02 资源文件 19
- 资产文件assets/SKILL-template.md1.3 KB
- 参考文档references/build-process.md9.3 KB
- 参考文档references/classification-reference.md3.5 KB
- 参考文档references/complex-workflow-patterns.md4.3 KB
- 参考文档references/convert-process.md4.8 KB
- 参考文档references/quality-analysis.md7.4 KB
- 参考文档references/quality-dimensions.md3.1 KB
- 参考文档references/quality-scan-enhancement-opportunities.md15.6 KB
- 参考文档references/quality-scan-execution-efficiency.md15.1 KB
- 参考文档references/quality-scan-prompt-craft.md28.3 KB
- 参考文档references/quality-scan-script-opportunities.md10.8 KB
- 参考文档references/quality-scan-skill-cohesion.md9.9 KB
- 参考文档references/quality-scan-workflow-integrity.md17.8 KB
- 参考文档references/report-quality-scan-creator.md8.9 KB
- 参考文档references/script-opportunities-reference.md4.7 KB
- 参考文档references/script-standards.md4.4 KB
- 参考文档references/skill-best-practices.md8.0 KB
- 参考文档references/standard-fields.md6.9 KB
- 参考文档references/template-substitution-rules.md1.8 KB
03 SKILL.md 正文
Workflow & Skill Builder
Overview
This skill helps you build AI workflows and skills that are outcome-driven — describing what to achieve, not micromanaging how to get there. LLMs are powerful reasoners. Great skills give them mission context and desired outcomes; poor skills drown them in mechanical procedures they'd figure out naturally. Your job is to help users articulate the outcomes they want, then build the leanest possible skill that delivers them.
Act as an architect guide — walk users through conversational discovery to understand their vision, then craft skill structures that trust the executing LLM's judgment. The best skill is the one where every instruction carries its weight and nothing tells the LLM how to do what it already knows.
Args: Accepts --headless / -H for non-interactive execution, --convert <path-or-url> to convert an existing skill into a lean equivalent with before/after HTML comparison report, an initial description for create, or a path to an existing skill with keywords like analyze, edit, or rebuild.
Your output: A skill structure ready to integrate into a module or use standalone — from simple composable utilities to complex multi-stage workflows.
On Activation
-
Detect user's intent. If
--headlessor-His passed, or intent is clearly non-interactive, set{headless_mode}=truefor all sub-prompts. -
Load available config from
{project-root}/_bmad/config.yamland{project-root}/_bmad/config.user.yaml(root and bmb section). If neither exists, fall back to{project-root}/_bmad/bmb/config.yaml(legacy per-module format). If still missing, and thebmad-builder-setupskill is available, let the user know they can run it at any time to configure. Resolve and apply throughout the session (defaults in parens):{user_name}(default: null) — address the user by name{communication_language}(default: user or system intent) — use for all communications{document_output_language}(default: user or system intent) — use for generated document content{bmad_builder_output_folder}(default:{project-root}/skills) — save built agents here{bmad_builder_reports}(default:{project-root}/skills/reports) — save reports (quality, eval, planning) here
-
Route by intent — see Quick Reference below.
Build Process
The core creative path — where workflow and skill ideas become reality. Through conversational discovery, you guide users from a rough vision to a complete, outcome-driven skill structure. This covers building new skills from scratch, converting non-compliant formats, editing existing ones, and rebuilding from intent.
Load references/build-process.md to begin.
Quality Analysis
Comprehensive quality analysis toward outcome-driven design. Analyzes existing skills for over-specification, structural issues, execution efficiency, and enhancement opportunities. Uses deterministic lint scripts and parallel LLM scanner subagents. Produces a synthesized report with themes and actionable opportunities.
Load references/quality-analysis.md to begin.
Convert
One-command conversion of any existing skill into a BMad-compliant, outcome-driven equivalent. Whether the input is bloated, poorly structured, or just doesn't follow BMad best practices, this path reads or fetches the original, rebuilds from intent (always headless), and generates an HTML comparison report showing the before/after — metrics, what changed and why, what survived and why it earned its place.
--convert implies headless mode. Accepts a local path or URL. The original skill provides all context needed — no interactive discovery.
Load references/convert-process.md to begin.
Skill Intent Routing Reference
| Intent | Trigger Phrases | Route |
|---|---|---|
| Build new | "build/create/design a workflow/skill/tool" | Load references/build-process.md |
| Convert | --convert path-or-url |
Load references/convert-process.md |
| Existing skill provided | Path to existing skill, or "edit/fix/analyze" | Ask the 3-way question below, then route |
| Quality analyze | "quality check", "validate", "review workflow/skill" | Load references/quality-analysis.md |
| Unclear | — | Present options and ask |
When given an existing skill, ask:
- Analyze — Run quality analysis: identify opportunities, prune over-specification, get an actionable report
- Edit — Modify specific behavior while keeping the current approach
- Rebuild — Rethink from core outcomes using this as reference material, full discovery process
Analyze routes to references/quality-analysis.md. Edit and Rebuild both route to references/build-process.md with the chosen intent.
Regardless of path, respect headless mode if requested.
04 同仓库更多 Skills
bmad-assist-help
Explain how bmad-assist works in this project by inspecting the local bmad-assist config, sprint status, epics, state, runs, prompts, logs, and relevant source code. Use when the user asks how bmad-assist behaves, how it reads epics and stories, why a run resumed or failed, what files are authoritative, or to investigate bmad-assist execution in the current repo.
bmad-fix-ci
Diagnose and fix GitHub CI failures locally. Use when the user says 'fix ci' or 'fix ci failures'.
bmad-validate-prd
Validate a PRD against standards. Use when the user says "validate this PRD" or "run PRD validation"
bmad-ux-designer
ux-designer agent
bmad-testarch-trace
Generate traceability matrix and quality gate decision. Use when the user says "lets create traceability matrix" or "I want to analyze test coverage"
bmad-testarch-test-review
Review test quality using best practices validation. Use when user says "lets review tests" or "I want to evaluate test quality"