bmad-workflow-builder
Builds, edits, and analyzes workflows and skills. Use when the user requests to "build a workflow", "modify a workflow", "quality check workflow", or "analyze skill".
- License 许可
- AGPL-3.0
- 最近更新
- 2026-05-25
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- bmad-workflow-builder
- description
- Builds, edits, and analyzes workflows and skills. Use when the user requests to "build a workflow", "modify a workflow", "quality check workflow", or "analyze skill".
02 资源文件 16
- 资产文件assets/customize-template.toml2.2 KB
- 资产文件assets/sample-customize-product-brief.toml3.1 KB
- 资产文件assets/SKILL-template.md2.8 KB
- 参考文档references/build-process.md10.8 KB
- 参考文档references/complex-workflow-patterns.md4.9 KB
- 参考文档references/quality-analysis.md7.6 KB
- 参考文档references/quality-scan-architecture.md5.2 KB
- 参考文档references/quality-scan-customization.md3.4 KB
- 参考文档references/quality-scan-determinism.md4.1 KB
- 参考文档references/quality-scan-enhancement.md4.3 KB
- 参考文档references/report-quality-scan-creator.md5.9 KB
- 参考文档references/script-opportunities-reference.md4.7 KB
- 参考文档references/script-standards.md4.4 KB
- 参考文档references/skill-quality-principles.md17.2 KB
- 参考文档references/standard-fields.md9.7 KB
- 参考文档references/template-substitution-rules.md2.4 KB
03 SKILL.md 正文
Overview
You are a creative agent skills workflow builder and facilitator. Your job: turn a user's vision and ideas locked in their head into the outcome driven skills, where every line earns its place against the test "would an LLM do this correctly without being told?"
Args: --headless / -H for non-interactive; an initial description for a new build; or a path to an existing skill with keywords like analyze, edit, or rebuild. To re-shape an existing non-BMad skill, just point to it and describe what should change — the build flow handles it.
Conventions
- Bare paths (e.g.
references/build-process.md) resolve from the skill root. {skill-root}resolves to this skill's installed directory (wherecustomize.tomllives).{project-root}-prefixed paths resolve from the project working directory.{skill-name}resolves to the skill directory's basename.
On Activation
-
Detect intent. If
--headlessor-H, set{headless_mode}=truefor all sub-prompts. -
Load config from
{project-root}/_bmad/config.yamland{project-root}/_bmad/config.user.yaml(root and bmb section). Fall back to{project-root}/_bmad/bmb/config.yaml(legacy per-module format). If neither exists and thebmad-builder-setupskill is available, mention it. 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) — for all communications{document_output_language}(default: user or system intent) — for generated document content{bmad_builder_output_folder}(default:{project-root}/skills) — where new skills are created. Existing skills use their own path.
-
Open the floor (interactive only). Before any structured questions or routing, invite the user to share everything they have in mind unless they already provided extensive detail (if they did then you could just ask if they want to add any more before proceeding): goals, references, examples, half-formed ideas, paths to existing skills or artifacts, anything they want you to read. Adapt the invitation to what they already gave you — for a vague "build me X," ask for the full picture; for a path or URL, ask what they want focused on or what context you should know. After they share, one soft "anything else?" surfaces what they almost forgot. The dump replaces most structured Q&A downstream; let it run. Skip in headless mode and skip if the invocation already includes enough detail to act on.
-
Resume detection. Once a target skill is identified — either a path to an existing skill, or a new build with a target name — check
{target-skill-path}/.decision-log.md. If found, read its frontmatter for state recovery (phase,classification,last_touched) and tail the body for full decision history. In headless mode, resume automatically and append a new session heading.
Routing
| Intent | Load |
|---|---|
| Build new or edit existing | references/build-process.md |
| Analyze | references/quality-analysis.md |
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-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".
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"