Claude Doesn't Submit Code Directly After Writing It: Runs 4 Skills for Self-Check, Fixes Issues, Then Comes Back to You

marsbit發佈於 2026-07-27更新於 2026-07-27

文章摘要

Claude No Longer Submits Code Directly: 4 Self-Check Skills to Run Before Coming Back to You AI already writes code, but the burden of reviewing it still falls on you. To address this, Anthropic has built a "verification loop" into Claude Code. After writing code, Claude now runs four self-check skills before delivering the work: * `/code-review`: Finds potential bugs and provides review feedback. * `/simplify`: Cleans up the diff, removing redundant or over-complex implementations to reduce future maintenance costs. * `/verify`: Performs end-to-end validation, actually running the application to confirm the feature works, not just appears to. * `/design`: Used only for UI changes; cross-references the implementation against the project's DESIGN.md file. This loop extends the AI agent's workflow from "gather context → execute" to "gather context → execute → auto-verify → fix → re-verify." It tackles the new bottleneck in AI-assisted development: the speed of verifying code now outpaces human review. These skills are built on Claude Code's existing verification foundation (like running apps and using linters). Teams can create their own custom verification skills by documenting their repetitive manual checks in plain language as Markdown files. Verification can be triggered at four levels: manually (Standalone), embedded in a task, chained with other skills, or automatically on every PR (On every PR). The shift signifies that competition in AI programming is movin...

AI has taken over the task of writing code. But the job of acceptance still falls on you.

Whether a piece of code is written correctly or not is not AI's responsibility; ultimately, you still have to go through it line by line. This hurdle has stumped many people.

Recently, Anthropic has also integrated AI acceptance into the loop.

They made Claude, after writing code, not immediately hand it over. Instead, it runs four checks itself first:

/code-review to root out bugs, /simplify to clean up redundant implementations, /verify to perform end-to-end verification, and if the UI was touched this time, use /design to cross-check against the visual specifications in DESIGN.md.

Only after running through all four does it count as delivered.

On July 22nd, the Claude Code team publicly shared this internal "verification loop."

In other words, after Claude writes code, it first finds and fixes errors on its own before coming back to you.

This signifies AI evolving from "being able to write code" to "being able to check the code it wrote."

Agent Work Loop Gains an Extra Verification Step

Anthropic gave this system a name: the verification loop.

The official definition is simple: it's an iterative process where Claude checks and attempts to fix its own work.

What it changes is the agent's work cycle.

Previously, it was "gather context → execute action → manual check." The final step rested on humans: the AI hands over the work, and you have to review it line by line.

Now this line is extended to "gather context → execute action → automatic verification → fix → verify again." Checking and fixing are placed back inside the loop.

Anthropic's official agent cycle diagram: after a prompt comes in, Claude gathers context, executes actions, verifies results. If verification fails, it loops back; only when it passes does it return.

Some checks Claude already knows how to do. Deterministic signals in the codebase, like type checker, linter, running tests, runtime errors—it can read these and will fix them as it goes.

The real trouble lies with another category: whether the UI changes are correct, whether the user flow is smooth, whether this change has buried unseen pitfalls...

In the past, these could only be caught by humans watching, performing the same checks dozens or hundreds of times.

Anthropic's solution is to write down each of those manual checks you perform every time, package them into Skills, and have Claude execute them automatically for each task.

For decades, all software engineering processes—writing requirements, planning, layer upon layer of reviews, endless meetings—were essentially because: writing code was too slow, and engineers' time was too valuable.

But when AI makes the act of writing code faster and cheaper, this premise disappears.

The Claude Code team's own assessment is: the bottleneck hasn't vanished; it has merely shifted: from "writing code" to verification, code review, security, and other such stages.

Code is generated too quickly. The new problem becomes: are these codes correct, who will maintain them, can people keep up with the pace of reviewing code.

Faced with this new bottleneck, the Claude Code team first experimented on themselves.

The 4 Self-Check Skills the Claude Code Team Uses Daily

Internally, the Claude Code team uses these four self-check Skills every day.

/code-review, specialized in reviewing code changes, rooting out potential bugs, and providing review comments along the way.

This is like having a tireless reviewer on standby.

/simplify, cleans up the diff for this change, removing convoluted, complex implementations to make the structure simpler.

It doesn't add features for you; instead, it removes redundancy, simplifies implementation, pushing down future maintenance costs.

This point is crucial and requires real skill. Most people write code by adding more; tools that proactively simplify are particularly valuable.

/verify, performs end-to-end verification, actually running things to confirm the feature is truly complete, not just "looks complete."

/design, only comes into play when the UI is touched. It cross-checks against the DESIGN.md in the repository, verifying point by point if your visual implementation has deviated.

These 4 Skills didn't appear out of thin air.

Underlying them, Claude Code has already laid a foundation of existing verification support:

The built-in /verify can run the application to observe changes; you specify the build and test commands in CLAUDE.md, and it follows them. There's also Code Review specifically for multi-agent reviews on PRs, and GitHub Actions that automatically trigger on every commit.

The team's 4 Skills are like adding their own layer of process on top of this general foundation.

How to Write Your Own Verification Skill?

Anthropic's method is also simple:

Write down that manual step you always perform in plain language, as if you were explaining precautions to a new colleague on their first day.

If you're even stuck on how to describe this check step, you can first ask Claude to provide a version of general best practices and then modify it.

Your version will likely differ from the generic approach at a few key points, and those differences are precisely the things most worth documenting.

Checks don't necessarily have to be vague judgments like "feels right or not."

For example: any change that deletes a database field without an accompanying data migration step should be rejected. This is a "local rule" that a generic linter will never catch but is specific to your project.

Any rule you've only been able to enforce by manually watching like a hawk is worth writing into a loop.

What to do after writing it?

Throw it to skill-creator to have it interview you back, or simply drop a Markdown file into .claude/skills/.

The simplest verification Skill is a few lines of instructions plus a body paragraph. Then test it once on a new task to confirm this check step actually runs. If not, fix it.

For Skills you can't modify, like built-in ones or those hosted by plugins, there's a workaround: write a wrapper Skill that first calls the original, then calls your verification. A detour, but it still embeds the check.

Verification Isn't One-Size-Fits-All; It Has 4 Levels

After packaging checks into Skills, the next question is: when should this thing trigger?

Anthropic provides 4 levels of automation, from loose to tight.

Standalone: You remember to manually invoke it.

Embedded: Embedded into a specific task flow, running alongside it.

Chained: Several verification Skills strung into a chain, automatically running one after another.

On every PR: The strictest level, automatically running on every code commit.

The official term for the middle layer transition is "from habit to contract."

What was "I always remember to run /verify after /simplify" as a personal habit becomes "automatically call /verify after /simplify runs" as a fixed contract once chained.

The entire chain completes the development loop on its own, only coming back to you when your approval is needed.

The longer the chain, the higher the reliability, but the official team specifically cautioned: chained verification will genuinely burn through tokens.

So don't immediately set all checks as PR gates that block every commit. The right approach is to first see if it's stable, then gradually add more.

Behind the 4 Skills: AI Programming is Changing Tracks

Behind the 4 Skills, the competition in AI programming is shifting from generation to verification.

The creator of Claude Code has given the same assessment.

On June 9th of this year, he tweeted: In an era where powerful models can run autonomously for long periods, self-verification is key to letting models run longer and produce results closer to your expectations. You don't have to watch Claude frequently to hand over more work.

Simply put, the more solid the verification, the more confidently an agent can run; the longer it runs, the less hassle for humans.

In the past, we relied on prompts, but they have a ceiling too: they only solve the task at hand; next time you start from scratch.

Let's first correct a common misunderstanding: A Skill is not a piece of Markdown prompt.

It's a capability module containing instructions, file structure, scripts, tool calls, configuration, and an entire workflow. It's about solidifying a team's check steps, design norms, and lessons learned into a package readily available for Claude to reference when needed.

More crucially, Skills are evolving from a feature of Claude Code into an open standard across vendors.

According to industry analysis, GitHub Copilot, Cursor, OpenAI Codex, and Gemini CLI have already adopted the same format.

This means the Skills you solidify for your team won't be locked into one specific tool. They will encapsulate your team's experience, norms, and check processes, turning into reusable capabilities.

This also highlights a stark reality: the same Claude might yield efficiency differences of several times between different teams. This gap isn't due to the model but rather the workflow:

Have you written checks into Skills? Have you set up verification loops? Have you enabled the agent to run its own feedback loop to completion?

Ultimately, an agent's capability is an addition problem: model, plus tools, plus verification mechanisms, plus workflow.

The model aspect is becoming more similar across vendors. What truly creates distance are the latter three items, all of which are in the user's hands.

Of course, what this blog post demonstrates is the process optimization of AI-assisted development, not "AI can already write software independently." It still requires engineers and cannot handle production-grade delivery without humans.

Therefore, it's not about agents coming to take human engineers' jobs, but the direction is already clear.

In the past, we've been teaching AI how to write code. Now we need to start teaching it to verify if what it wrote is correct.

For someone who uses AI to write code every day, the day when "having to manually review everything before leaving work" can finally be entrusted to AI with peace of mind is the day it truly starts carrying the load for you.

References:

https://claude.com/blog/building-verification-loops-in-claude-code-with-skills

https://claude.com/blog/getting-started-with-loops?utm_source=chatgpt.com

This article is from the WeChat public account "New Zhiyuan", author: ASI Revelation

熱門幣種推薦

相關問答

QWhat is the core innovation described in the article regarding Claude's code generation?

AThe core innovation is the introduction of a 'verification loop' where Claude, after writing code, automatically runs it through four specialized Skill checks (code-review, simplify, verify, design) to find and fix errors before delivering the final code to the user.

QWhat are the four primary verification Skills used by the Claude Code team internally?

AThe four primary Skills are: /code-review (to catch potential bugs and provide review comments), /simplify (to clean up and streamline the implementation), /verify (to perform end-to-end functional verification), and /design (to ensure UI changes align with a project's DESIGN.md file).

QWhat is the key difference between a traditional AI coding workflow and the new 'verification loop' workflow?

AThe traditional workflow is: 'collect context -> execute action -> human review'. The new 'verification loop' workflow extends this to: 'collect context -> execute action -> automatic verification -> repair -> re-verify', embedding the review and repair steps back into an automated loop before returning to the user.

QAccording to the article, what is the main 'bottleneck' that has shifted as AI code generation becomes faster?

AThe main bottleneck has shifted from 'writing code' to the verification, code review, and security aspects. The article states that the new problem is ensuring the rapidly generated code is correct, maintainable, and can be reviewed at the required pace.

QHow does the article describe the nature and importance of 'Skills' compared to simple prompts?

AA Skill is described not as a simple prompt, but as a modular capability package. It contains instructions, file structures, scripts, tool calls, configurations, and workflows. It is a way to encapsulate a team's review steps, design standards, and learned lessons into a reusable asset that Claude can access autonomously.

你可能也喜歡

每周编辑精选 Weekly Editor's Picks(0725-0731)

**每周编辑精选(0725-0731)摘要** 本文筛选深度分析,滤除资讯噪音,带来一周核心洞察。 **宏观局势**:美联储迎来近年“最不确定”会议。尽管经济数据为等待提供空间,但高通胀、地缘风险及官员鹰派表态,令市场无法完全排除加息风险,并已为此付费。 **投资与创业**: * 加密投资是长期心态博弈,获胜者需看清资产本质、确信趋势并能承受深度回撤。建议长线布局比特币与优质公链。 * 全球股市(尤科技股)呈现“币圈化”:叙事压倒估值,杠杆放大情绪,社交媒介加速共识极端化。 * Hyperliquid、Polymarket等龙头平台的跨界尝试遇阻,核心难点在于复制原有赛道的用户习惯与流动性深度。 * 多个加密协议收入增长但代币价格不涨,原因在于内部抛压、负面情绪及竞争。好协议不等于好代币,需审视收入、分配与释放机制。 **AI与存储**: * 英伟达信用违约率暴涨,反映市场对AI云设施扩张风险的定价。中国芯片产业崛起正撼动全球存储定价逻辑。 * 存储板块“一夜惊魂”是基本面与预期面脱节,市场已开始为2027年潜在供给过剩提前定价。 * AI烧钱凶猛,市场耐心受考验。多空分歧在于:需求真实但供给受限 vs. 未来回报可见度低。 * SK海力士虽录得史上最赚钱季度,但股价仍“不及预期”,显示市场对其未来增长空间的定价存在分歧。 **政策与稳定币**:美国《Clarity法案》推进至最后阶段,但道德条款等关键分歧仍存,且需与其他争议法案争夺有限表决时间,年内落地概率被下调。若未通过,对加密市场冲击或有限,但将增加未来立法难度。 **CeFi & DeFi**:Ondo代币近期上涨,源于其在链上交易美股主线动作密集,既占据上游代币化资产份额,又向下游拓展保证金应用。但受制于整体市场颓势,涨势更多是短期资金博弈。 **以太坊与扩容**:Lido正启动将800多万枚ETH迁移至Pectra升级后的新型验证器架构,这代表了staking资本管理效率的结构性提升,但不会直接降低用户Gas费用。当前ETH价格走弱,部分源于投资者对其价值增长逻辑感到困惑。 **其他要点**:TradeXYZ平台对A股新股定价展现高精准度;Pons平台币半月暴涨登顶Robinhood Chain;币印破产案例警示平台钱包并非资产托管;一周热点还包括美联储按兵不动、MiCA落地欧洲、长鑫科技上市创纪录、OpenAI称未来12个月将“震撼世界”等。

marsbit22 分鐘前

每周编辑精选 Weekly Editor's Picks(0725-0731)

marsbit22 分鐘前

少投入不是苹果的免死金牌

《少投入不是苹果的免死金牌》一文指出,虽然苹果在AI浪潮中因资本开支克制而一度受到市场青睐,但其面临的挑战正在显现。 文章首先描述了市场的反差:当Meta、谷歌等巨头因巨额AI投入引发担忧时,苹果在AI领域的迟缓进展反而被视为“亮点”,其股价一度上涨。然而,这种“全靠同行衬托”的领先难以持续。 随后,文章分析了苹果最新财报。尽管2026财年第三财季营收与净利润均创同期历史新高,主要得益于iPhone和Mac的强劲销售,但财报发布后股价却大幅下跌。原因在于苹果对下一季度的增长指引低于市场预期。 核心问题在于供应链。AI热潮导致内存和芯片需求激增、价格上涨及产能紧张,严重波及苹果。其Mac产品线已因高端芯片供应不足而受限,并被迫提价。外界预测iPhone新品也将大幅涨价,这可能影响未来销量。为应对供应链风险,苹果库存大幅增加,并寻求与中企合作采购内存芯片,但此举面临政治阻力。 与其他科技巨头动辄数千亿美元的AI资本开支相比,苹果的资本开支不仅未增,反而下降,这使其保持了健康的现金流。但同时,苹果研发费用大幅增长,却未能在AI领域取得显著成果,形成反差。 文章总结,苹果虽未在AI烧钱竞赛中陷得太深,却无法避免由这场竞赛引发的供应链与成本冲击。即将卸任的库克对公司未来表示信心,但苹果能否在AI时代保持领先,仍存疑问。

marsbit1 小時前

少投入不是苹果的免死金牌

marsbit1 小時前

交易

現貨

熱門文章

如何購買4

歡迎來到HTX.com!在這裡,購買4 (4)變得簡單而便捷。跟隨我們的逐步指南,放心開始您的加密貨幣之旅。第一步:創建您的HTX帳戶使用您的 Email、手機號碼在HTX註冊一個免費帳戶。體驗無憂的註冊過程並解鎖所有平台功能。立即註冊第二步:前往買幣頁面,選擇您的支付方式信用卡/金融卡購買:使用您的Visa或Mastercard即時購買4 (4)。餘額購買:使用您HTX帳戶餘額中的資金進行無縫交易。第三方購買:探索諸如Google Pay或Apple Pay等流行支付方式以增加便利性。C2C購買:在HTX平台上直接與其他用戶交易。HTX 場外交易 (OTC) 購買:為大量交易者提供個性化服務和競爭性匯率。第三步:存儲您的4 (4)購買4 (4)後,將其存儲在您的HTX帳戶中。您也可以透過區塊鏈轉帳將其發送到其他地址或者用於交易其他加密貨幣。第四步:交易4 (4)在HTX的現貨市場輕鬆交易4 (4)。前往您的帳戶,選擇交易對,執行交易,並即時監控。HTX為初學者和經驗豐富的交易者提供了友好的用戶體驗。

1.1k 人學過發佈於 2025.10.20更新於 2026.06.02

如何購買4

相關討論

歡迎來到 HTX 社群。在這裡,您可以了解最新的平台發展動態並獲得專業的市場意見。 以下是用戶對 4 (4)幣價的意見。

活动图片