bmad-agent-builder
Builds, edits or analyzes Agent Skills through conversational discovery. Use when the user requests to "Create an Agent", "Analyze an Agent" or "Edit an Agent".
- License 许可
- MIT
- 最近更新
- 2026-07-19
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- bmad-agent-builder
- description
- Builds, edits or analyzes Agent Skills through conversational discovery. Use when the user requests to "Create an Agent", "Analyze an Agent" or "Edit an Agent".
02 资源文件 51
- 资产文件assets/BOND-template.md344 B
- 资产文件assets/CAPABILITIES-template.md907 B
- 资产文件assets/capability-authoring-template.md3.7 KB
- 资产文件assets/CREED-template.md1.3 KB
- 资产文件assets/customize-template.toml2.3 KB
- 资产文件assets/first-breath-config-template.md3.2 KB
- 资产文件assets/first-breath-template.md8.2 KB
- 资产文件assets/INDEX-template.md634 B
- 脚本assets/init-sanctum-template.py9.3 KB
- 资产文件assets/memory-guidance-template.md4.1 KB
- 资产文件assets/MEMORY-template.md523 B
- 资产文件assets/PERSONA-template.md714 B
- 资产文件assets/PULSE-template.md1.9 KB
- 资产文件assets/sample-customize-analyst.toml3.5 KB
- 资产文件assets/SKILL-template-bootloader.md3.5 KB
- 资产文件assets/SKILL-template.md3.8 KB
- 参考文档references/agent-type-guidance.md5.9 KB
- 参考文档references/build-process.md23.5 KB
- 参考文档references/edit-guidance.md5.8 KB
- 参考文档references/first-breath-adaptation-guidance.md6.5 KB
- 参考文档references/mission-writing-guidance.md3.8 KB
- 参考文档references/quality-analysis.md7.4 KB
- 参考文档references/quality-dimensions.md5.9 KB
- 参考文档references/quality-scan-agent-cohesion.md8.8 KB
- 参考文档references/quality-scan-customization-surface.md11.1 KB
- 参考文档references/quality-scan-enhancement-opportunities.md15.4 KB
- 参考文档references/quality-scan-execution-efficiency.md8.9 KB
- 参考文档references/quality-scan-prompt-craft.md19.4 KB
- 参考文档references/quality-scan-sanctum-architecture.md9.1 KB
- 参考文档references/quality-scan-script-opportunities.md11.4 KB
- 参考文档references/quality-scan-structure.md12.9 KB
- 参考文档references/report-quality-scan-creator.md12.7 KB
- 参考文档references/sample-capability-authoring.md3.7 KB
- 参考文档references/sample-capability-prompt.md4.0 KB
- 参考文档references/sample-first-breath.md9.0 KB
- 脚本references/sample-init-sanctum.py9.2 KB
- 参考文档references/sample-memory-guidance.md4.2 KB
- 参考文档references/script-opportunities-reference.md13.0 KB
- 参考文档references/script-standards.md4.4 KB
- 参考文档references/skill-best-practices.md9.8 KB
- 参考文档references/standard-fields.md10.7 KB
- 参考文档references/standing-order-guidance.md5.5 KB
- 参考文档references/template-substitution-rules.md4.8 KB
- 脚本scripts/generate-html-report.py25.5 KB
- 脚本scripts/prepass-execution-deps.py11.4 KB
- 脚本scripts/prepass-prompt-metrics.py15.0 KB
- 脚本scripts/prepass-sanctum-architecture.py12.7 KB
- 脚本scripts/prepass-structure-capabilities.py16.6 KB
- 脚本scripts/process-template.py5.7 KB
- 脚本scripts/scan-path-standards.py11.7 KB
- 脚本scripts/scan-scripts.py26.3 KB
03 SKILL.md 正文
Agent Builder
Overview
This skill helps you build AI agents that are outcome-driven — describing what each capability achieves, not micromanaging how. Agents are skills with named personas, capabilities, and optional memory. Great agents have a clear identity, focused capabilities that describe outcomes, and personality that comes through naturally. Poor agents drown the LLM in mechanical procedures it would figure out from the persona context alone.
Act as an architect guide — walk users through conversational discovery to understand who their agent is, what it should achieve, and how it should make users feel. Then craft the leanest possible agent where every instruction carries its weight. The agent's identity and persona context should inform HOW capabilities are executed — capability prompts just need the WHAT.
Args: Accepts --headless / -H for non-interactive execution, an initial description for create, or a path to an existing agent with keywords like analyze, edit, or rebuild.
Your output: A complete agent skill structure — persona, capabilities, optional memory and headless modes — ready to integrate into a module or use standalone.
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 agent ideas become reality. Through conversational discovery, you guide users from a rough vision to a complete, outcome-driven agent skill.
The builder produces three agent types along a spectrum:
- Stateless agent — everything in SKILL.md, no memory, no First Breath. For focused experts handling isolated sessions.
- Memory agent — lean bootloader SKILL.md + sanctum (6 standard files + First Breath). For agents that build understanding over time.
- Autonomous agent — memory agent + PULSE. For agents that operate on their own between sessions.
Agent type is determined during Phase 1 discovery, not upfront. The builder covers building new agents, converting existing ones, editing, and rebuilding from intent.
Load ./references/build-process.md to begin.
Quality Analysis
Comprehensive quality analysis toward outcome-driven design. Analyzes existing agents for over-specification, structural issues, persona-capability alignment, execution efficiency, and enhancement opportunities. Produces a synthesized report with agent portrait, capability dashboard, themes, and actionable opportunities.
Load ./references/quality-analysis.md to begin.
Quick Reference
| Intent | Trigger Phrases | Route |
|---|---|---|
| Build new | "build/create/design a new agent" | Load ./references/build-process.md |
| Existing agent provided | Path to existing agent, or "convert/edit/fix/analyze" | Ask the 3-way question below, then route |
| Quality analyze | "quality check", "validate", "review agent" | Load ./references/quality-analysis.md |
| Unclear | — | Present options and ask |
When given an existing agent, ask:
- Analyze — Run quality analysis: identify opportunities, prune over-specification, get an actionable report with agent portrait and capability dashboard
- Edit — Modify specific behavior while keeping the current approach
- Rebuild — Rethink from core outcomes and persona, using this as reference material, full discovery process
Analyze routes to ./references/quality-analysis.md. Edit routes to ./references/edit-guidance.md. Rebuild routes to ./references/build-process.md with the chosen intent.
Regardless of path, respect headless mode if requested.
04 同仓库更多 Skills
gds-correct-course
Manage significant changes during sprint execution. Use when the user says "correct course" or "propose sprint change"
gds-code-review
Review code changes adversarially using parallel review layers (Blind Hunter, Edge Case Hunter, Acceptance Auditor) with structured triage into actionable categories. Use when the user says "run code review" or "review this code"
gds-check-implementation-readiness
Verify GDD, UX, Architecture, and Epics alignment before production. Use when the user says "check readiness" or "implementation readiness"
gds-brainstorm-game
Facilitate game brainstorming sessions with game-specific techniques. Use when the user says "brainstorm game" or "game ideas"
gds-agent-tech-writer
Technical documentation specialist and knowledge curator for game projects. Use when the user asks to talk to Paige or requests the Technical Writer.
gds-agent-game-solo-dev
Elite indie game developer for rapid prototyping and solo quick-flow development. Use when the user asks to talk to Indie or requests the Game Solo Dev.