bmad-customize
Original:🇺🇸 English
Translated
2 scripts
Authors and updates customization overrides for installed BMad skills. Use when the user says 'customize bmad', 'override a skill', 'change agent behavior', or 'customize a workflow'.
12installs
Added on
NPX Install
npx skill4agent add bmad-code-org/bmad-method bmad-customizeTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →BMad Customize
Translate the user's intent into a correctly-placed TOML override file under for a customizable agent or workflow skill. Discover, route, author, write, verify.
{project-root}/_bmad/custom/Scope v1: per-skill overrides ( / ) and per-skill overrides ( / ). Central config () is out of scope — point users at the How to Customize BMad guide.
[agent]bmad-agent-<role>.toml.user.toml[workflow]bmad-<workflow>.toml.user.toml{project-root}/_bmad/custom/config.tomlWhen the target's doesn't expose what the user wants, say so plainly. Don't invent fields.
customize.tomlPreflight
- No → BMad isn't installed. Say so, stop.
{project-root}/_bmad/ - missing → continue, but Step 6 verify falls back to manual merge.
{project-root}/_bmad/scripts/resolve_customization.py - Both present → proceed.
Activation
Load and from for (default ) and (default ). Greet. If the user's invocation already names a target skill AND a specific change, jump to Step 3.
_bmad/config.toml_bmad/config.user.toml{project-root}user_nameBMadcommunication_languageEnglishStep 1: Classify intent
- Directed — specific skill + specific change → Step 3.
- Exploratory — "what can I customize?" → Step 2.
- Audit/iterate — wants to review or change something already customized → Step 2, lead with skills that have existing overrides; read the existing override in Step 3 before composing.
- Cross-cutting — could live on multiple surfaces → Step 3, choose agent vs workflow explicitly with the user.
Step 2: Discovery
python3 {skill-root}/scripts/list_customizable_skills.py --project-root {project-root}Use (repeatable) if the user has skills installed in additional locations.
--extra-root <path>Group the returned and for the user; for each show name, description, whether or is true. Surface any . For audit/iterate intents, lead with already-overridden entries.
agentsworkflowshas_team_overridehas_user_overrideerrors[]Empty list: show , ask whether skills live elsewhere (offer ); otherwise stop.
scanned_roots--extra-rootStep 3: Determine the right surface
Read the target's . Top-level or block defines the surface.
customize.toml[agent][workflow]If a team or user override already exists, read it first and summarize what's already overridden before composing.
Cross-cutting intent — walk both surfaces with the user:
- Every workflow a given agent runs → agent surface (e.g. with
bmad-agent-pm.toml,persistent_facts).principles - One workflow only → workflow surface (e.g. with
bmad-create-prd.toml).activation_steps_prepend - Several specific workflows → multiple workflow overrides in sequence, not an agent override.
Single-surface heuristic:
- Workflow-level: template swap, output path, step-specific behavior, or a named scalar already exposed (,
*_template). Surgical, reliable.on_complete - Agent-level: persona, communication style, org-wide facts, menu changes, behavior that should apply to every workflow the agent dispatches.
When ambiguous, present both with tradeoff, recommend one, let the user decide.
Intent outside the exposed surface (step logic, ordering, anything not in ): say so; offer / or as approximations, or recommend to create a custom skill.
customize.tomlactivation_steps_prependappendpersistent_factsbmad-builderStep 4: Compose the override
Translate plain-English into TOML against the target's fields. If an existing override was read, frame the change as additive.
customize.tomlMerge semantics:
- Scalars (,
icon,role,*_template) — override wins.on_complete - Append arrays (,
persistent_facts/activation_steps_prepend,append) — team/user entries append in order.principles - Keyed arrays of tables (menu items with or
code) — matching keys replace, new keys append.id
Overrides are sparse: only the fields being changed. Never copy the whole .
customize.tomlTemplate swap ( scalar): offer to copy the default template to , point the override at the new path, offer to help edit it.
*_template{project-root}/_bmad/custom/{skill-name}-{purpose}-template.mdStep 5: Team or user placement
Under :
{project-root}/_bmad/custom/- — team, committed. Policies, org conventions, compliance.
{skill-name}.toml - — user, gitignored. Personal tone, private facts, shortcuts.
{skill-name}.user.toml
Default by character (policy → team, personal → user), confirm before writing.
Step 6: Show, confirm, write, verify
-
Show the full TOML. If the file exists, show a diff. Never silently overwrite.
-
Wait for explicit yes.
-
Write. Createif needed.
{project-root}/_bmad/custom/ -
Verify:
python3 {project-root}/_bmad/scripts/resolve_customization.py --skill <install-path> --key <agent-or-workflow>Show the merged output, point out the changed fields.Resolver missing or fails: read whichever layers exist —(base),<install-path>/customize.toml(team),{project-root}/_bmad/custom/{skill-name}.toml(user) — apply base → team → user with the same merge rules (scalars override, tables deep-merge,{project-root}/_bmad/custom/{skill-name}.user.toml/code-keyed arrays merge by key, all other arrays append), describe how the changed fields resolve.idVerify shows override didn't land (field unchanged, merge conflict, file not picked up): re-enter Step 4 with the verify output as context. Usually wrong field name, wrong merge mode (scalar vs array), or wrong scope. -
Summarize what changed, where the file lives, how to iterate. Remind the user to commit team overrides.
Complete when
- Override file written (or user explicitly aborted).
- User has seen resolver output (or manual fallback merge summary).
- User has acknowledged the summary.
Otherwise the skill isn't done — finish or tell the user they're exiting incomplete.
When this skill can't help
- Central config () — see the How to Customize BMad guide.
{project-root}/_bmad/custom/config.toml - Step logic, ordering, behavior not in — open a feature request, or use
customize.tomlto create a custom skill. Offer to help with either.bmad-builder - Skills without a — not customizable.
customize.toml