How-to

Claude Code 团队用 39 项可靠性检查让 Agent 自行验证代码

Why we picked it

Claude Code 团队 90% 代码是 Claude 写的,Addy Osmani 拆了他们内部怎么验证:3 种测试方法加 39 项检查,工程师只定验收标准。写代码用 Agent 的人直接抄这套工作流就行。

Anthropic 的 Claude Code 团队约 90% 的代码已由 Claude 编写和审查。Addy Osmani 分享了该团队内部的验证机制,核心是 3 种测试方法、39 项可靠性检查,以及一套让 Agent 持续改进的工作流。

Body

方法上最大的变化是角色分工:工程师从逐行检查 AI 写的代码,转向预先定义“什么才算完成”,由 Agent 提供测试结果、运行截图和验证证据,工程师据此决定是否接受。

文章强调 AI 编程规模化不能只靠模型写代码的速度,还需要能及时捕获错误的验证系统。对正在用 Claude Code 或其他编码 Agent 的开发者来说,这套“定义验收标准 + 机器生成证据”的流程可以直接参考。

Original · AI Will

这套方法最值得注意的变化是: 过去,工程师需要逐行检查 AI 写出的代码。 现在,工程师更多负责定义【什么才算完成】,让 Agent 提供测试结果、运行截图和验证证据,再决定是否接受。 AI 编程真正能够规模化,靠的不只是模型写代码更快,还要有一套能及时发现错误的验证系统。 x.com/FinanceYF5/sta… AI Will @FinanceYF5 1/ Claude Code 团队约 90% 的代码,已经由 Claude 编写和审查。🤯 但更值得关注的不是 AI 写了多少代码,而是 Anthropic 如何让 AI 自己发现错误、验证结果,甚至同时运行数十到数百个 Agent。 Addy Osmani 分享了 Claude Code 团队内部使用的验证机制。 其中包括 3 种测试方法、39 项可靠性检查,以及一套让 Agent 持续改进的工作流。👇 🔗 View Quoted Tweet

Industry Coordinates & Source Verification

This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude Code, Claude, Anthropic, coding assistants.

Source attribution: curated from AI Will (@FinanceYF5).