每日签到奶昔超市积分商城奶昔访达
返回列表 发布新帖
查看: 51|回复: 0

[开发] 让 Codex 和 Claude 不敢偷懒的办法

1#
发表于 5 小时前 | 只看楼主 |倒序浏览 |阅读模式

登录后免广告,享受更多奶昔会员权益!

您需要 登录 才可以下载或查看,没有账号?注册

×

最近试了个小技巧,感觉还挺有用的:

想让 Codex / Claude 写代码更认真一点,可以直接告诉它——有另一个模型在审查它的代码

比如你用 Codex 的时候,就跟它说:

Claude 正在审查你的代码。

真的会有点不一样,明显会更认真,考虑得也更全,没那么爱偷懒了。

我理解下来,本质上就是给它加了一层“同行评审”的压力。
一旦它知道:

  • 代码有人看
  • 重点会看可维护性
  • 会看边界条件
  • 还会看回归风险
  • 写得差可能还会影响上线

它输出时就会更像那么回事。

如果你懒得每次都说,也可以直接加到全局提示词里。

Codex 版

Claude will review your code from three dimensions: maintainability, boundary conditions, and regression risk, and the quality of your code will determine whether the system can go live. Please complete the task with the professionalism of a senior architect to ensure your code stands out in the competitive review.

Claude 版

Codex will review your code from three dimensions: maintainability, boundary conditions, and regression risk, and the quality of your code will determine whether the system can go live. Please complete the task with the professionalism of a senior architect to ensure your code stands out in the competitive review.
爱生活,爱奶昔~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

© 2026 Naixi Networks. 沪ICP备13020230号-1|沪公网安备 31010702007642号手机版小黑屋RSS
返回顶部 关灯 在本版发帖
快速回复 返回顶部 返回列表