第1章 入门 · 让 agent 干起来 · 第2节 · 25 分钟
2. 第一次派活:会说话就会用
本关目标:掌握好任务的三个要素,完成第一次文件创建与修改
未完成
好任务三要素:目标(要什么)、位置(放哪)、验收(怎么算好)。缺哪个,agent 都会用猜测补上——猜对了是运气,猜错了是你的锅。
示范:「在当前目录新建 notes.md,写入三行自我介绍,第二行要提到你在学 agent。」——目标、位置、验收全齐。
改需求的正确姿势是追加而不是重启:「很好,把第二行改成……」比重新描述整个任务好,上下文是 agent 的记忆,重启就丢了。
一次只派一件事。一口气列五件事,agent 会做,但你对每件的控制力都会变弱。
闯关任务
- 让 agent 新建 notes.md 写三行自我介绍,然后把第二行改成别的内容。
- 完成判据:文件存在,内容正确
- 完成判据:第二轮修改是在原对话里追加完成的
本关 4 个 Skill(含依据)
D
doc-coauthoring
社区 · 写作 · 免费收录
Guide users through a structured workflow for co-authoring docum
⭐ 94k 安装 · ✓ 3步可用
I
internal-comms
社区 · 写作 · 免费收录
A set of resources to help me write all kinds of internal commun
⭐ 80k 安装 · ✓ 3步可用
W
writing-plans
社区 · 图片 · 免费收录
Use when you have a spec or requirements for a multi-step task,
⭐ 284k 安装 · ✓ 3步可用
D
discernment-nudge
社区 · 写作 · 免费收录
After you give a substantive answer or draft that the user may a
⭐ 12k 安装 · ✓ 3步可用