Claude Code提示词与配置约 1 分钟

告诉 Fable 5.2 代码归它

Tell Fable 5.2 the codebase is yours

要点

  1. 不说明代码归属时,Fable 5.2 会把自己当成别人仓库的访客:只在原结构上加函数、保留重复代码、只提及附近的 bug 而不修。
  2. 在系统提示或 CLAUDE.md 里加一句:“This codebase is yours: what it's for and how it's built are your call, and you'll keep building on it.”
  3. 据作者转述 Anthropic 内部测试,加上这句后约 50% 的运行会主动合并重复代码并顺手修相关 bug,不加时不到 10%。

原帖开头

Anthropic quietly dropped a fascinating finding in the new Claude Fable 5.2 prompting guide. When you give Fable 5.2 a coding task without saying who owns the repo, it assumes it's a guest in someone else's codebase. So it plays it safe: it bolts new functions onto the existing …