AI 编程 4.0 · 优秀 2026-11-16 · 文章

How the Claude Code team thinks about verification

Claude Code 团队公开验证方法论:约 90% 代码由 Claude 写并 review,验证回路是交给 agent 更多工作的前提要点:验证就是真的运行改动(Chrome 扩展/iOS 与 Android MCP/本地服务);verify skill 放进 .claude/skills/ 打磨成可靠冒烟测试;三轮仍失败的检查转人工;代码 owner 自己写检查;不堆叠评审员,用 REVIEW.md 调教单一评审并参考前几轮上下文;改动不得修改评判自己的检查(REVIEW.md 只从 base 分支读);独立 grader 对 rubric 提升结构化生成成功率最多 10 个点;

打开原文回到归档

How the Claude Code team thinks about verification

Source: https://claude.dev/blog/how-the-claude-code-team-thinks-about-verification/
Author: Addy Osmani
Published: 2026-11-16
Ingested: 2026-11-18 daily-intake-evening
Obsidian evidence: https://claude.dev/blog/how-the-claude-code-team-thinks-about-verification/

Summary (zh): Claude Code 团队公开验证方法论:约 90% 代码由 Claude 写并 review,验证回路是交给 agent 更多工作的前提。要点:验证就是真的运行改动(Chrome 扩展/iOS 与 Android MCP/本地服务);verify skill 放进 .claude/skills/ 打磨成可靠冒烟测试;三轮仍失败的检查转人工;代码 owner 自己写检查;不堆叠评审员,用 REVIEW.md 调教单一评审并参考前几轮上下文;改动不得修改评判自己的检查(REVIEW.md 只从 base 分支读);独立 grader 对 rubric 提升结构化生成成功率最多 10 个点;

原文摘录(claude.dev,2026-11-16)

On the Claude Code team, the vast majority of our code (~90%) is written and reviewed by Claude. Verification loops are the building block that lets you delegate more work to Claude. In internal testing around structured file generation, having a separate grader check Claude's work against a rubric improved task success by up to 10 points over a standard prompting loop, with the largest gains on the hardest problems.

How the Claude Code team thinks about verification

  • Verification means running the change: Claude Chrome extension for web changes, iOS or Android MCP for mobile, computer use for desktop, or run the service locally for backend work. Put verify skills in .claude/skills/ as close to the code as possible; invest in making them fast and reliable.
  • Failing tests require human attention: Claude runs the checks and tries to fix anything that fails; if still failing after three rounds, it stops and brings in a human.
  • Code owners write their own checks, refined until they flag what the owner would flag.
  • One reviewer, multiple rounds: adding a second reviewer on top of the primary is often worse than tuning the primary; REVIEW.md says what to watch for, and each pass builds on earlier rounds' context instead of re-checking from scratch.
  • Changes can't modify their own checks: Code Review reads REVIEW.md from the base or default branch, never from the PR's changes; reviews are reserved for commits; cheap checks run first (tests, build, linter before opening a PR).
  • Turn misses into rules: extract patterns from human review comments and PR reverts, have three agents try to disprove them, human-approved via PR; replay three bug finders against PRs tied to known incidents. Flaky tests: no skipping, no sleeps, no retry-until-pass - root-cause or delete with a written reason.

当日消化判断

与 agent 实践直接相关:把「人读每个 diff」换成「定义 done + 审证据」,是并行 agent 规模从一两个扩到几十上百的前提。