con un clic
team-delete
// This skill should be used when the user asks to "删除团队配置", "team delete", "delete team config", "移除团队", "remove saved team", "清理团队配置". 从 .team-profiles/ 目录中删除已保存的 YAML 配置文件(非运行中团队, 运行中团队请用 /team-stop)。
// This skill should be used when the user asks to "删除团队配置", "team delete", "delete team config", "移除团队", "remove saved team", "清理团队配置". 从 .team-profiles/ 目录中删除已保存的 YAML 配置文件(非运行中团队, 运行中团队请用 /team-stop)。
This skill should be used when the user asks to "初始化团队", "创建开发团队", "team init", "create team", "build team", "组建团队", "启动项目团队", "添加扩展角色", "add extension roles". 通过交互式问答收集项目信息, 创建包含专业角色的 Agent 工程团队。支持 8 种团队类型和 153 个扩展专业角色(跨 12 领域)。
This skill should be used when the user asks to "加载团队", "team load", "恢复团队", "载入团队配置", "load team", "restore team", "load team config", "载入团队", "重新加载团队", "reload team". 从 .team-profiles/ 读取 YAML 配置, 跳过交互问答直接创建团队。支持 template 和 snapshot 两种格式。
This skill should be used when the user asks to "列出团队", "team list", "list teams", "show teams", "查看团队配置", "有哪些团队", "what teams are saved". 扫描 .team-profiles/ 目录, 展示所有已保存配置的摘要信息。与 /team-status(查看运行中团队)不同, 此技能查看磁盘上的持久化配置。
This skill should be used when the user asks to "安装远程角色", "team-roles add", "team-roles list", "添加远程角色", "管理远程角色", "从 GitHub 安装角色", "team-roles update", "team-roles remove", "team-roles search", "install remote roles", "add remote roles", "远程角色管理", "list remote roles", "update remote roles", "remove remote roles". 从 GitHub 仓库、单文件 URL 或 npx 包安装扩展角色到项目级缓存 .team-roles/。
This skill should be used when the user asks to "保存团队", "team save", "保存团队配置", "导出团队", "save team", "export team", "save team config". 从运行中的团队读取配置并保存为快照文件 到 .team-profiles/ 目录,供 /team-load 复用。
This skill should be used when the user asks to "查看团队状态", "team status", "check team progress", "who is running", "团队运行情况", "团队进度", "谁在运行", "active teams". 查询当前运行中的团队的实时状态, 包括成员列表、任务进度和活跃情况。与 /team-list(查看磁盘配置)互补。
| name | team-delete |
| description | This skill should be used when the user asks to "删除团队配置", "team delete", "delete team config", "移除团队", "remove saved team", "清理团队配置". 从 .team-profiles/ 目录中删除已保存的 YAML 配置文件(非运行中团队, 运行中团队请用 /team-stop)。 |
| version | 0.5.0 |
从项目目录的 .team-profiles/ 中删除指定的团队配置文件。
$ARGUMENTS 非空,直接使用作为配置名称$ARGUMENTS 为空,扫描 .team-profiles/*.yaml,列出供用户选择AskUserQuestion:
question: "选择要删除的团队配置"
header: "删除配置"
options:
- label: "{name1}"
description: "[{format}] {description 前30字}"
- label: "{name2}"
description: "[{format}] {description 前30字}"
# ... 最多 4 个
multiSelect: false
如果 .team-profiles/ 目录不存在或为空:
没有可删除的团队配置。
结束。
使用 Read 工具读取目标文件,展示摘要:
即将删除: .team-profiles/{name}.yaml
--------------------
格式: {format}
描述: {description}
成员: {N} 个
任务: {M} 个(仅 snapshot)
备份文件: {如果 .yaml.bak 存在则显示 "将同时删除 .yaml.bak",否则 "无"}
--------------------
AskUserQuestion:
question: "确认删除此配置?此操作不可恢复。"
header: "确认删除"
options:
- label: "确认删除"
description: "永久删除此配置文件"
- label: "取消"
description: "放弃删除"
multiSelect: false
使用 Bash 工具执行删除:
rm "{当前工作目录}/.team-profiles/{name}.yaml"
如果对应的备份文件 .team-profiles/{name}.yaml.bak 也存在,一并删除:
rm "{当前工作目录}/.team-profiles/{name}.yaml.bak"
已删除: .team-profiles/{name}.yaml
如果同时删除了备份文件,额外提示:
同时清理了备份文件: .team-profiles/{name}.yaml.bak
如果删除后 .team-profiles/ 目录为空,额外提示:
.team-profiles/ 目录已无配置文件。