/boss-extend
引导式扩展 Boss:5 分钟加一个自定义 Agent、pipeline pack 或 gate 插件。把扩展 Boss 变成一等公民体验,落到 .boss/plugins 与 .boss/pipeline-packs。
> /plugin marketplace add echoVic/boss-skill > /plugin install boss@boss-skill
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/boss-extend
Context preview
What this command does when you run it.
引导式扩展 Boss:5 分钟加一个自定义 Agent、pipeline pack 或 gate 插件。把扩展 Boss 变成一等公民体验,落到 .boss/plugins 与 .boss/pipeline-packs。
Command definition
boss-extend.mdname: boss:extend
description: "引导式扩展 Boss:5 分钟加一个自定义 Agent、pipeline pack 或 gate 插件。把扩展 Boss 变成一等公民体验,落到 .boss/plugins 与 .boss/pipeline-packs。"
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
/boss:extend — 引导式扩展 Boss
`/boss:extend` 引导用户在**当前项目**里加一个自定义扩展,无需读源码。产出落到项目级扩展点,`/boss` 下次运行时自动发现。
> 这是 Boss 的自我繁殖层:像 superpowers 的 `writing-skills` 一样,让生态自己长。
能扩展什么
| 类型 | 落地位置 | 用途 | |------|----------|------| | **自定义 Agent** | `.boss/plugins/<name>/` | 加一个新角色(如 Security Reviewer、Data Engineer) | | **Pipeline Pack** | `.boss/pipeline-packs/<name>/` | 定制阶段/角色组合(如只跑 backend + qa) | | **Gate 插件** | `.boss/plugins/<name>/` | 加一道自定义质量门禁 |
执行步骤
1. 读取 `references/extending-boss.md` 取得扩展契约与 schema。 2. 一次一个问题,确认:扩展类型 + 名称 + 触发/挂载时机。 3. 按对应模板生成文件(见下)。 4. 校验:
- Pack → `boss packs detect <dir> --json` 应能列出新 pack(有 CLI 时)。
- Plugin → `boss runtime register-plugins <feature>` 应发现它(有 CLI 时)。
- 无 CLI → 提示用户文件已就位,`/boss` 会按 `references/no-cli-fallback.md` 手动加载。
5. 输出:新扩展路径 + 如何在 `/boss` 中启用。
Pipeline Pack 模板
{
"name": "<pack-name>",
"version": "1.0.0",
"type": "pipeline-pack",
"description": "<一句话说明>",
"author": "<you>",
"license": "MIT",
"when": { "fileExists": ["package.json"], "noFileExists": [] },
"priority": 3,
"config": {
"stages": [1, 2, 3, 4],
"roles": "custom",
"agents": ["boss-pm", "boss-architect", "boss-backend", "boss-qa"],
"gates": ["gate0", "gate1"],
"agentStages": { "boss-pm": 1, "boss-architect": 1, "boss-backend": 3, "boss-qa": 3 }
},
"enabled": true
}Gate 插件模板
{
"name": "<gate-name>",
"version": "1.0.0",
"type": "gate",
"description": "<一句话说明>",
"author": "<you>",
"license": "MIT",
"hooks": { "gate": "gate.js" },
"config": { "passThreshold": 0.7 },
"stages": [3],
"enabled": true
}配套 `gate.js` 契约见 `references/extending-boss.md`。
自定义 Agent 模板
以 `agents/boss-*.md` 为范式,产出 `.boss/plugins/<name>/agent.md`:角色定位、输入产物、输出产物、状态报告(沿用 `DONE`/`BLOCKED`/`REVISION_NEEDED` 协议)。
用法
/boss:extend # 引导式选择类型
/boss:extend pack backend-only # 直接建一个 pack
/boss:extend agent security # 直接建一个 agent
Read more
name: boss:extend description: "引导式扩展 Boss:5 分钟加一个自定义 Agent、pipeline pack 或 gate 插件。把扩展 Boss 变成一等公民体验,落到 .boss/plugins 与 .boss/pipeline-packs。" allowed-tools: Read, Write, Edit, Bash, Glob, Grep
/boss:extend — 引导式扩展 Boss
`/boss:extend` 引导用户在**当前项目**里加一个自定义扩展,无需读源码。产出落到项目级扩展点,`/boss` 下次运行时自动发现。
> 这是 Boss 的自我繁殖层:像 superpowers 的 `writing-skills` 一样,让生态自己长。
能扩展什么
| 类型 | 落地位置 | 用途 | |------|----------|------| | **自定义 Agent** | `.boss/plugins/<name>/` | 加一个新角色(如 Security Reviewer、Data Engineer) | | **Pipeline Pack** | `.boss/pipeline-packs/<name>/` | 定制阶段/角色组合(如只跑 backend + qa) | | **Gate 插件** | `.boss/plugins/<name>/` | 加一道自定义质量门禁 |
执行步骤
1. 读取 `references/extending-boss.md` 取得扩展契约与 schema。 2. 一次一个问题,确认:扩展类型 + 名称 + 触发/挂载时机。 3. 按对应模板生成文件(见下)。 4. 校验:
- Pack → `boss packs detect <dir> --json` 应能列出新 pack(有 CLI 时)。
- Plugin → `boss runtime register-plugins <feature>` 应发现它(有 CLI 时)。
- 无 CLI → 提示用户文件已就位,`/boss` 会按 `references/no-cli-fallback.md` 手动加载。
5. 输出:新扩展路径 + 如何在 `/boss` 中启用。
Pipeline Pack 模板
{
"name": "<pack-name>",
"version": "1.0.0",
"type": "pipeline-pack",
"description": "<一句话说明>",
"author": "<you>",
"license": "MIT",
"when": { "fileExists": ["package.json"], "noFileExists": [] },
"priority": 3,
"config": {
"stages": [1, 2, 3, 4],
"roles": "custom",
"agents": ["boss-pm", "boss-architect", "boss-backend", "boss-qa"],
"gates": ["gate0", "gate1"],
"agentStages": { "boss-pm": 1, "boss-architect": 1, "boss-backend": 3, "boss-qa": 3 }
},
"enabled": true
}Gate 插件模板
{
"name": "<gate-name>",
"version": "1.0.0",
"type": "gate",
"description": "<一句话说明>",
"author": "<you>",
"license": "MIT",
"hooks": { "gate": "gate.js" },
"config": { "passThreshold": 0.7 },
"stages": [3],
"enabled": true
}配套 `gate.js` 契约见 `references/extending-boss.md`。
自定义 Agent 模板
以 `agents/boss-*.md` 为范式,产出 `.boss/plugins/<name>/agent.md`:角色定位、输入产物、输出产物、状态报告(沿用 `DONE`/`BLOCKED`/`REVISION_NEEDED` 协议)。
用法
/boss:extend # 引导式选择类型 /boss:extend pack backend-only # 直接建一个 pack /boss:extend agent security # 直接建一个 agent
Boss is an auditable agent-team workflow for coding agents. It turns one coding agent into a structured engineering team: PM, Architect, UI Designer, Tech Lead, Scrum Master, Frontend, Backend, QA, and DevOps.
Repo: echoVic/boss-skill
Other commands on boss.
- /boss-plan
只跑规划环节:PM 需求穿透 + Architect 架构设计。对任意需求或已有项目单独可用,产出 prd.md + architecture.md,不派发开发/测试/部署。
Open command - /boss-qa
只跑测试环节:QA 测试执行 + 门禁校验。对已有代码单独可用,产出 qa-report.md 与 Gate 结果,测试真跑、门禁不可绕过。
Open command - /boss-review
只跑评审环节:Tech Lead 技术评审 + 风险评估。可对任意已有代码或规划产物单独用,产出 tech-review.md,不改代码。
Open command - /boss-ship
只跑部署环节:DevOps 构建部署 + 上线前门禁 + 部署报告。对已通过测试的项目单独可用,产出 deploy-report.md,门禁不可绕过。
Open command - /boss-upgrade
升级 @blade-ai/boss-skill 到最新版本,并重新安装 hooks。
Open command - /boss
启动 BMAD 全自动研发流水线。编排 9 个专业 Agent,从需求到部署一键完成。
Open command

