跳到正文
Simon Willison·· 26 天前AI 评分63

Prompting Claude Fable 5.2:让模型接管代码库以提升重构能力

Quoting Prompting Claude Fable 5.2

AI 导读

Anthropic 文档指出,Claude Fable 5.2 会根据提示词中对代码所有权的描述调整行为。加入 'This codebase is yours: what it's for and how it's built are your call' 后,小任务中合并重复代码的成功率从不到 1/10 提升至约 1/2;若无此提示,模型倾向于在原结构上继续添加重复代码。

来源:Simon Willison · simonwillison.net