原文地址:https://simonwillison.net/2025/Mar/11/using-llms-for-code/
这篇文章最值得拿走的一点是:别把 AI 当“自动产出器”,而要当“可控协作者”。
文章要点
- Online discussions about using Large Language Models to help write code inevitably produce comments from devel…
- Using LLMs to write code is difficult and unintuitive. It takes significant effort to figure out the sharp and…
- If someone tells you that coding with LLMs is easy they are (probably unintentionally) misleading you. They ma…
- I’ve been getting great results out of LLMs for code for over two years now. Here’s my attempt at transferring…
我的观点
团队层面最该沉淀的是失败样本和复盘模板,而不是个人技巧。
如果没有明确验收标准,AI 产出的“看起来能跑”会很快变成维护负担。
把上下文边界、接口契约、回归检查前置,采纳率会比单纯调 prompt 更稳定。
实践建议
- 先写验收条件(测试、输出格式、边界场景),再让模型生成实现。
- 每轮只优化一个维度(正确性/可读性/性能),避免目标漂移。
- 把评审驳回原因沉淀为 checklist,下一轮直接复用。
收尾
别追求“看完很多”,要追求“本周能改一件事”。把这篇文章转成一个具体动作,效果会比收藏链接更大。