Larsen Cundric· @larsencc · X·· 3 小时前AI 评分53
AI 导读
作者分享一条用 Agent 编码的规则:在提需求前先确定双方如何判断改动有效,例如写一个当前会失败的测试、一条可自己运行的命令、或真实日志与截图;没有验证凭据的“done”应被打回。他认为多数糟糕的 Agent 会话源于需求模糊且缺少检查。
正文 · 原文
Rule I'd give anyone coding with agents:
Before you ask for the change, ask how you'll both know it worked.
a test that fails right now
a command you can run yourself
a log or screenshot of the real thing
"done" with no proof gets sent back
Most bad agent sessions start with a vague ask and no check.
What's your rule for trusting an agent's "done"?
来源:Larsen Cundric · x.com