Boris Cherny:像与同事交流一样给 Claude 下达任务
看到大家竟然对我这样给 Claude 写提示感到惊讶,我也挺惊讶的。
像与同事交谈一样与 Claude 交流。写提示没有什么秘密。对大多数任务,不必设计过于复杂的步骤或规定得太死——给 Claude 一个目标,它会想办法完成。
在 Sonnet 3.5 的时代,提示词非常重要。如今,更重要的是向模型说明:
- 你希望它做什么
- 你希望它投入多少精力
- 它应该如何验证自己做对了
另一个例子,我实际的提示词 https://x.com/bcherny/status/2102543349102338309?s=20
对照原文
I am surprised that people are surprised this is how I prompt Claude. Talk to Claude the way you would a coworker. There's no secret to prompting. There's no need to be overly scaffolded or prescriptive for most tasks -- give Claude a goal, and it will figure it out. Back in the Sonnet 3.5 days, your prompt mattered a lot. Nowadays, it's much more important to communicate to the model: 1. What you want it to do 2. How much effort you want it to spend 3. How it should verify that it did the right thing
Another example, my actual prompts https://t.co/xOyjaC8xrn