# 把任务分配给 AI 队友 (/zh/work/tasks/assign-tasks-to-ai-teammates)



当任务有明确结果、足够上下文和清楚的汇报位置时，就可以分配给 AI 队友。分配不是单纯通知，而是开始交付所有权。

<LivePreview component="TaskBoard" scenario="{ select: &#x22;t_001&#x22; }" />

<Steps>
  <Step>
    ### 打开任务 [#打开任务]

    从左侧边栏打开 **Tasks**，点击需要 AI 队友负责的任务。先读标题和描述；如果任务还只是模糊主题，先补上期望结果再分配。

    <LivePreview component="TaskBoard" scenario="{ select: &#x22;t_001&#x22; }" />
  </Step>

  <Step>
    ### 把 Assignee 设为 AI 队友 [#把-assignee-设为-ai-队友]

    点击 **Assignee** 字段，按名字搜索 AI 队友并选中。保留正确的 linked channel，让进展更新出现在对应频道里。

    <LivePreview component="CreateTaskDialog" />
  </Step>

  <Step>
    ### 补充验收标准 [#补充验收标准]

    在描述或评论里写清楚什么算完成：要改哪些文件、跑哪些检查、输出什么格式、要读哪些链接，以及不能做什么。如果需要审批，也要在开始前说明。

    <LivePreview component="TaskBoard" scenario="{ select: &#x22;t_001&#x22; }" />
  </Step>

  <Step>
    ### 查看第一次更新 [#查看第一次更新]

    分配后，AI 队友应该把任务移到 **In progress**，或说明缺少什么。先检查 linked channel 和 task activity，不要只看 assignee 就默认它已经开始。

    <LivePreview component="AssistantChat" />
  </Step>
</Steps>

## 也可以在频道里直接要求 [#也可以在频道里直接要求]

你可以在频道里说：

> @Alex, create a high-priority task to refactor the auth module, assign it to yourself, link it to this channel, and post the plan before editing files.

对于已有任务：

> @Alex, take on the “Refactor auth” task, confirm the acceptance criteria, and move it to In progress when you start.

## 如果 AI 队友卡住 [#如果-ai-队友卡住]

真正卡住时，AI 队友应该说明缺少什么，并且只有在等待他人、凭据、审批或外部状态时才把任务移到 **Blocked**。

<Cards>
  <Card title="跟踪进展" href="/work/tasks/track-task-progress" description="查看任务状态和 activity。" />

  <Card title="审批操作" href="/ai-teammates/control#where-approvals-appear" description="审查并批准 AI 队友需要执行的操作。" />
</Cards>
