How-toMulti-sourceSelected

Anthropic 更新提示词指南:一句"This codebase is yours"让 Fable 5.2 改代码更大胆

Why we picked it

Simon Willison 挖出 Anthropic 提示词指南里的一个小技巧:给 Fable 5.2 说"这个代码库是你的",它改代码就没那么缩手缩脚。经常让 Claude 重构老项目的人可以马上试试,一行提示词就能改变模型行为。

Simon Willison 指出,Anthropic 每次发布新模型都会同步更新官方提示词指南,这次针对 Fable 5.2 的指南中有一个实用技巧。该技巧用于解决模型在改进现有代码时过于谨慎的问题。

Body

具体做法是在提示词中告诉模型"This codebase is yours"(这个代码库是你的)。这句话能降低 Fable 5.2 在重构和改进既有代码时的保守倾向,让它更敢于做出实质性修改。该指南托管在 platform.claude.com/docs,Willison 称其为一条有趣的(entertaining)提示词技巧。

这类官方提示词指南的迭代细节往往不写进发布博客,但对依赖 Claude 做代码开发的团队有实际影响:模型的谨慎程度直接决定自动化重构任务的产出质量。

Original · Simon Willison

When Anthropic release a new model it's always worth taking a look at their updated prompting guide - here's an entertaining tip to make Fable 5.2 less likely to be cautious in how it improves existing code: tell it "This codebase is yours" platform.claude.com/docs/en/build-…📊 111 ⚡

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 and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Anthropic, Claude, 提示词工程, Fable 5.2.

Source attribution: curated from Simon Willison (@simonw). Cross-source corroboration: 11 independent sources have covered this development (including claudedevs, Alex Albert, Cursor), confirming industry-wide signal strength.