adversarial-review
在合并前引入独立模型视角,能捕捉作者盲点并提高审查质量。
自动在 PR 留言并可能产生不准建议,需控制写权限与审查频率。
用不同模型对 PR 进行对抗式审查并将结果作为 PR 评论记录。
让与作者不同的模型对一个 PR 发起对抗式审查,把发现直接作为 PR 评论记录,确保不是作者自我确认就合并。适合在合并前需要第二道、敌对角度审查改动、找出遗漏或边界条件时使用。特色包含审稿器选择与可审计的 PR 评论协议,并支持 headless-Gemini 工具链以及对数值/工程合同给出反例和重算修复。
▸ 展开 SKILL.md 英文原文
Run the cross-model adversarial review gate on a pull request: a *different* model from the one that wrote the code reviews the open PR adversarially and posts its findings as PR comments, before the change is declared done. Covers reviewer selection (the fallback chain), the auditable PR-comment protocol, the bundled headless-Gemini harness (`tools/agy-review`, typed exits), and the one-time machine setup headless reviewers need. Also covers reviewing a numeric or engineering contract (a physical model, sizing or pricing calculation, tolerance table — anything whose units mean something), where findings carry counterexamples, fixes carry recomputations, and each counterexample becomes a permanent test vector. Use for any complex change — more than one layer touched, a new pattern introduced, or unattended/production consequences — in any repo, driven by any coding agent (Claude Code, Codex, or another CLI agent).
帮我安装这个 skill:https://raw.githubusercontent.com/boshuthebuilder/ai-tradecraft-skills/main/plugins/coding/skills/adversarial-review/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/boshuthebuilder/ai-tradecraft-skills/main/plugins/coding/skills/adversarial-review/SKILL.md"# adversarial-review A change is not done when its author believes it works — it is done when a **different model** has tried to break it and failed, on the record. Self-review shares the author's blind spots; the gate exists to put a second, adversarial intelligence between "looks right" and "merged". The reference deployment's history shows why this is worth the round-trips: reviewers have caught data-loss paths, dedup bypasses that would have spammed a human every run, silent-failure windows, and — reviewing this very skill's harness — eleven real defects the author had just written. **When the gate applies:** any *complex* build — it touches more than one layer, introduces a new patter