Simon Willison·· 3 小时前AI 评分26
Geoffrey Huntley:用 pre-commit hook 强制 AI 智能体改用诊断库
Quoting Geoffrey Huntley
AI 导读
Geoffrey Huntley 提出用 pre-commit hook 检查 git diff 中绕过诊断模块、直接调用可观测性模块的代码,提交失败时向 AI 智能体注入提示词,要求其改用诊断库。他称这一做法让智能体表现从参差不齐变成十分满分,并认为没人应该再手写代码。
来源:Simon Willison · simonwillison.net