Agentic Engineering Patterns 深度研究报告
文章: Agentic Engineering Patterns (Guide)
作者: Simon Willison (@simonw, Django 联合创始人)
链接: https://simonwillison.net/guides/agentic-engineering-patterns/
推文: https://x.com/simonw/status/2025990408514523517
日期: 2026-02-23
报告日期: 2026-02-23
一句话总结
Simon Willison 开始写一本持续更新的"Agentic 工程模式"指南——如何用 Claude Code/OpenAI Codex 等 coding agent 写出好代码的实战模式集。
项目定位
- Agentic Engineering = 专业工程师用 coding agent 加速工作(vs Vibe Coding = 不看代码随便玩)
- 格式:Guide(介于博客和书之间,每章可持续更新)
- 灵感来源:1994 年的《设计模式》(GoF)
- 计划:每周 1-2 章,持续更新
- 全文人类原创,不用 AI 写文章
已发布章节
Chapter 1: Writing Code is Cheap Now
核心论点:写代码成本断崖下降,但写"好代码"成本没变。
好代码的定义:
- 能用、无 bug
- 有测试证明能用
- 解决正确的问题
- 错误处理优雅
- 简洁可维护
- 有文档且保持更新
- 各种 -ilities(可达性、安全性、可测试性...)
实践建议:当直觉说"不值得花时间",先让 Agent 试试。最坏结果 = 浪费几个 token。
Chapter 2: Red/Green TDD
"Use red/green TDD" 是给 coding agent 最有效的一句话提示。
1. 写测试 → 确认失败(红)
2. Agent 写实现 → 确认通过(绿)
好处:
- 防止 Agent 写不能用的代码
- 防止 Agent 写没人用的代码
- 自动获得回归测试套件
- 所有好模型都理解这个缩写
评价
这是目前关于 "如何与 coding agent 协作" 最系统化的尝试。Simon Willison 的 345+ 篇 AI 编程博文终于要被结构化了。
与我们的关联:
- Red/Green TDD 可以加到我们的 coding-agent skill 里
- "Code is cheap" 的思维转变对 Jay 做项目有参考价值
参考链接:
- Guide 主页: https://simonwillison.net/guides/agentic-engineering-patterns/
- Ch1: https://simonwillison.net/guides/agentic-engineering-patterns/code-is-cheap/
- Ch2: https://simonwillison.net/guides/agentic-engineering-patterns/red-green-tdd/