bmad-customize — скилл для Claude Code: что делает и установка
Скилл создаёт и обновляет переопределения для скиллов BMad. Он пригодится, когда нужно изменить поведение агента или отдельного рабочего процесса.
npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a claude-codeЧто делает bmad-customize
bmad-customize переводит запрос в TOML-файл переопределения внутри {project-root}/_bmad/custom/. Он сначала определяет нужный скилл, агента или рабочий процесс, затем читает customize.toml, выбирает область изменений и предлагает содержимое файла. Для командных настроек используется {skill-name}.toml, для личных — {skill-name}.user.toml.
Скилл умеет находить доступные для изменения агенты и рабочие процессы через list_customizable_skills.py, показывать уже существующие переопределения и учитывать правила слияния скаляров, таблиц и массивов. После подтверждения он записывает файл и проверяет результат через resolve_customization.py, а при проблеме выполняет ручное слияние слоёв.
Скилл работает с полями, которые уже открыты в customize.toml; шаги и порядок workflow напрямую не меняются. Это повод проверить наличие {project-root}/_bmad/ и нужного customize.toml до настройки.
Какие задачи решает
- изменить поведение агента BMad
- добавить факты и принципы для агента
- настроить отдельный шаг workflow
- создать командное или личное переопределение
- проверить, как слились настройки
Примеры запросов агенту
- Настрой поведение агента `bmad-agent-pm`: добавь постоянный факт о формате отчётов.
- Измени workflow подготовки PRD: добавь шаг перед началом работы и сохрани настройку для команды.
- Покажи, какие скиллы BMad можно настраивать, и проверь существующие переопределения.
Как установить bmad-customize
1Через Skills CLI (Vercel)
npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a claude-code2Вручную: положить файлы
~/.claude/skills/bmad-customize/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/bmad-customize/
1Через Skills CLI (Vercel)
npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a codex2Вручную: положить файлы
.agents/skills/bmad-customize/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a cursor2Вручную: положить файлы
.cursor/skills/bmad-customize/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install bmad-code-org/BMAD-METHOD bmad-customize2Вручную: положить файлы
.github/skills/bmad-customize/SKILL.md1Через Skills CLI (Vercel)
npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a gemini-cli2Командой платформы
gemini skills install https://github.com/bmad-code-org/BMAD-METHOD --path skills/bmad-customizeВручную: положить файлы
.devin/skills/bmad-customize/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора25
Весь набор →Похожие
Вопросы о bmad-customize
Как установить bmad-customize в Claude Code?
Выполните по порядку: npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a claude-code, затем повторите npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize -a claude-code, после этого проверьте файл ~/.claude/skills/bmad-customize/SKILL.md.
Что делает bmad-customize?
Скилл создаёт TOML-переопределения для настраиваемых агентов и workflow BMad, размещает их в {project-root}/_bmad/custom/ и проверяет итоговое слияние настроек.
Что делать, если нужного поля нет в customize.toml?
Скилл не добавляет поля самостоятельно. Для приближённой настройки можно использовать activation_steps_prepend, activation_steps_append или persistent_facts, если они доступны; для изменения логики workflow предусмотрен bmad-workflow-builder при наличии этого модуля.
Исходный текст
SKILL.md · MIT
---
name: bmad-customize
description: 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'
---
# BMad Customize
Translate the user's intent into a correctly-placed TOML override file under `{project-root}/_bmad/custom/` for a customizable agent or workflow skill. Discover, route, author, write, verify.
Scope v1: per-skill `[agent]` overrides (`bmad-agent-<role>.toml` / `.user.toml`) and per-skill `[workflow]` overrides (`bmad-<workflow>.toml` / `.user.toml`). Central config (`{project-root}/_bmad/custom/config.toml`) is out of scope — point users at the [How to Customize BMad guide](https://docs.bmad-method.org/how-to/customize-bmad/).
When the target's `customize.toml` doesn't expose what the user wants, say so plainly. Don't invent fields.
## Preflight
- No `{project-root}/_bmad/` → BMad is not set up here. Offer to run the `bmad` skill's setup, installing `bmad` first if you do not have it (`npx skills add bmad-code-org/BMAD-METHOD --skill bmad`). Stop if the user declines.
- `{project-root}/_bmad/scripts/resolve_customization.py` missing → continue, but Step 6 verify falls back to manual merge.
- Both present → proceed.
## Activation
Greet the user. If the user's invocation already names a target skill AND a specific change, jump to Step 3.
## Step 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
```
uv run {skill-root}/scripts/list_customizable_skills.py --project-root {project-root}
```
Use `--extra-root <path>` (repeatable) if the user has skills installed in additional locations.
Group the returned `agents` and `workflows` for the user; for each show name, description, whether `has_team_override` or `has_user_override` is true. Surface any `errors[]`. For audit/iterate intents, lead with already-overridden entries.
Empty list: show `scanned_roots`, ask whether skills live elsewhere (offer `--extra-root`); otherwise stop.
## Step 3: Determine the right surface
Read the target's `customize.toml`. Top-level `[agent]` or `[workflow]` block defines the surface.
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. `bmad-agent-pm.toml` with `persistent_facts`, `principles`).
- One workflow only → workflow surface (e.g. `bmad-prd.toml` with `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`, `on_complete`). Surgical, reliable.
- 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 `customize.toml`): say so; offer `activation_steps_prepend`/`append` or `persistent_facts` as approximations, or, if the BMad Builder module is installed, recommend `bmad-workflow-builder` to create a custom skill.
## Step 4: Compose the override
Translate plain-English into TOML against the target's `customize.toml` fields. If an existing override was read, frame the change as additive.
Merge semantics:
- **Scalars** (`icon`, `role`, `*_template`, `on_complete`) — override wins.
- **Append arrays** (`persistent_facts`, `activation_steps_prepend`/`append`, `principles`) — team/user entries append in order.
- **Keyed arrays of tables** (menu items with `code` or `id`) — matching keys replace, new keys append.
Overrides are sparse: only the fields being changed. Never copy the whole `customize.toml`.
**Template swap** (`*_template` scalar): offer to copy the default template to `{project-root}/_bmad/custom/{skill-name}-{purpose}-template.md`, point the override at the new path, offer to help edit it.
## Step 5: Team or user placement
Under `{project-root}/_bmad/custom/`:
- `{skill-name}.toml` — team, committed. Policies, org conventions, compliance.
- `{skill-name}.user.toml` — user, gitignored. Personal tone, private facts, shortcuts.
Default by character (policy → team, personal → user), confirm before writing.
## Step 6: Show, confirm, write, verify
1. Show the full TOML. If the file exists, show a diff. Never silently overwrite.
2. Wait for explicit yes.
3. Write. Create `{project-root}/_bmad/custom/` if needed.
4. Verify:
```
uv run {project-root}/_bmad/scripts/resolve_customization.py --skill <install-path> --project-root {project-root} --key <agent-or-workflow>
```
Show the merged output, point out the changed fields.
**Resolver missing or fails:** read whichever layers exist — `<install-path>/customize.toml` (base), `{project-root}/_bmad/custom/{skill-name}.toml` (team), `{project-root}/_bmad/custom/{skill-name}.user.toml` (user) — apply base → team → user with the same merge rules (scalars override, tables deep-merge, `code`/`id`-keyed arrays merge by key, all other arrays append), describe how the changed fields resolve.
**Verify 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.
5. 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** (`{project-root}/_bmad/custom/config.toml`) — see the [How to Customize BMad guide](https://docs.bmad-method.org/how-to/customize-bmad/).
- **Step logic, ordering, behavior not in `customize.toml`** — open a feature request, or, if the BMad Builder module is installed, use `bmad-workflow-builder` to create a custom skill. Offer to help with either.
- **Skills without a `customize.toml`** — not customizable.
© bmad-code-org · MIT · bmad-code-org/BMAD-METHOD