Simon Willison·· 2026-10-13AI 评分60
Geoffrey Huntley 用 pre-commit 钩子拦截绕过诊断库的提交并注入提示词
Quoting Geoffrey Huntley
AI 导读
Geoffrey Huntley 建议用 pre-commit 钩子检查 git diff,发现智能体绕过诊断模块就直接拦截提交,并注入提示让其改用诊断库。他称这样效果稳定,并认为如今不该再手写代码。
来源:Simon Willison · simonwillison.net