| name | tb-update-task-executor |
| description | 分配任务负责人 |
| allowed-tools | Bash(node *), Read, Edit |
分配任务负责人
缓存优先:项目成员从 .teambition.cache.md 读取。如果缓存不存在,提示先执行 /tb-sync。
步骤
- 读取
.teambition.md 常用项目,用 AskUserQuestion(单选)选择项目
- 执行
node ${CLAUDE_SKILL_DIR}/scripts/tb-api.mjs get-project-tasks --projectId <ID> 获取任务列表(实时)
- 用
AskUserQuestion(单选)选择任务
- 读取
.teambition.cache.md 中该项目的"### 成员"表格,用 AskUserQuestion(单选)选择负责人
- 执行:
node ${CLAUDE_SKILL_DIR}/scripts/tb-api.mjs update-task-executor --taskId <ID> --executorId <userId>
- 更新
.teambition.md 最近任务记录