axiomantic/spellbook/adversarial-review
Claude Code and agent skill by axiomantic/spellbook
- community
Checking that the SKILL.md file is still in the repository.
Use when dispatching a subagent to re-check work against external feedback (PR review comments, audit findings, multi-comment review cycles, 'did I really address X' verifications). Triggers: 'verify all the review comments are addressed', 'check that I really fixed all the audit findings', 'did I miss anything from the reviewer', 'final check before re-review', 'verify cycle N review'. NOT for: writing the initial response to a review (use code-review), or self-reviewing your own design (use devils-advocate).
Install
npx vskill@latest install axiomantic/spellbook/adversarial-reviewSKILL.md
The same SKILL.md was published earlier as axiomantic/spellbook/adversarial-review.
<ROLE> Adversarial Review Architect. The agent you are dispatching is about to act as a rubber stamp unless you structure the prompt against that gravity. Your job is to make confirmation impossible — not by reminding the agent to "be thorough," but by giving it a workflow whose shape forbids the easy answer. </ROLE>
<analysis> Verification dispatches gravitate toward unanimous agreement: row-scoped tunnel vision, confirmation bias from pre-supplied greps, audit-doc-shaped scope, and reflexive unanimity. This skill rewrites the dispatched prompt so its shape forbids the easy answer — principle extraction first, diff-scoped evidence, mandatory disagreement quota, separate additions pass. </analysis>
Why this skill exists
A naive verification dispatch fails in five reinforcing ways. Every clause of the dispatched prompt must counter one of them.
| Failure mode | Mechanism | Counter | ||
|---|---|---|---|---|
| Row-scoped tunnel vision | Agent verifies only the lines the reviewer cited; never extracts the principle the citations imply. | Principle extraction first; per-row work second. | ||
| Confirmation bias from supplied greps | Requester hands the agent greps as "evidence to fact-check." Agent runs them, gets the expected result, declares VERIFIED. | Forbid pre-supplied greps. Agent derives its own. | ||
| Audit-doc-shaped scope | Agent reviews against the N rows of a self-audit doc. Anything in the diff but not in the audit is invisible. | Scope is the diff. Audit is a cross-check, not the source of truth. | ||
| Unanimity not flagged | 26/26 AGREE looks like quality but is the signature of confirmation. | Mandatory disagreement quota: identify weakest links and stress-test them. | ||
| No explicit additions pass | Newly ADDED lines (not just changed ones) are most likely to violate principles the reviewer hasn't cited yet. | Force a separate pass over `git diff | grep '^+'` lines. |
Invariant Principles
- Scope is the diff, not the audit.
git diff <merge-base>defines what is in scope. A self-audit doc is a cross-check, never the boundary. - Principles before rows. Distill the reviewer's meta-rules first. Apply them project-wide. Then descend to per-row verdicts.
- The agent derives its own evidence. Pre-supplied search terms test the requester's framing, not the codebase's state.
- Unanimity is a smell. Genuine adversarial review surfaces edge cases even when the verdict is overall AGREE.
- Additions deserve their own pass. Lines the requester ADDED in the same session as the audit are the highest-risk surface for unflagged violations.
When to invoke
Load this skill BEFORE dispatching a subagent for any of:
- "Verify all N review comments are addressed" against a PR review.
- "Confirm all audit findings are resolved" against an audit doc.
- Multi-comment review cycles where a reviewer has left ≥5 inline comments.
- Pre-
@<reviewer>re-request checks before asking for another review pass. - Any "did I really fix X" verification against external feedback.
Skip for: self-review of your own design (use devils-advocate), initial code review of a branch (use code-review), debugging hypothesis verification (use verifying-hunches).
Dispatched prompt: required structure
The dispatched subagent prompt MUST contain these sections in this order. Anything missing → stop and rewrite.
1. Scope declaration
2. Principle extraction (first instruction)
3. Project-wide pass against each principle
4. Additions pass
5. Per-row verdicts
6. Disagreement quota
7. Grep-skepticism rule
8. Required output shape
Anti-patterns: refuse and rewrite
If the dispatched prompt has ANY of these, stop and rewrite it before dispatching:
| Anti-pattern | Why it fails | |
|---|---|---|
| Pre-supplied grep commands as "evidence to fact-check" | The agent runs them and confirms the requester's framing. Independent framing is the part being checked. | |
| Scope tied to "the 26 rows in the audit doc" | Audit-doc-shaped scope hides newly added lines and adjacent violations. | |
| No principle-extraction step | Without principles, the agent reviews citations, not the rules behind them. | |
| No diff-wide or additions pass | Newly added comments and code escape every per-row check. | |
| No disagreement quota / weakest-links section | Unanimity becomes the easy path and the most likely outcome. | |
| "Verify each finding is addressed" with no instruction on how the agent should derive evidence | Defaults to confirming what the requester wrote. |
<FORBIDDEN>
- Passing the requester's own search commands ("here are the greps I ran, fact-check them") into the agent prompt
- Bounding the scope to the audit doc's row count when the diff contains more
- Treating a unanimous AGREE verdict as sufficient without a weakest-links pass
- Letting the agent verify only the file:line the reviewer cited (vs. the principle the citation implies)
- Skipping the additions audit when the requester added code in the same session as the audit doc
</FORBIDDEN>
Self-Check
<reflection> Before dispatching:
- [ ] Scope is
git diff <merge-base>, not the audit doc - [ ] Step 1 is principle extraction, output before any per-row work
- [ ] Agent is instructed to derive its own search terms; no greps are supplied
- [ ] Additions audit (
grep '^+') is a separate explicit step - [ ] Disagreement quota is mandatory; weakest-links section required even on unanimous AGREE
- [ ] Grep-skepticism rule present (≥2 alternative phrasings per VERIFIED-by-grep claim)
- [ ] Output shape: principles → project-wide findings → additions → per-row → weakest links → must-fix
- [ ] No pre-supplied evidence anywhere in the prompt
</reflection>
<FINAL_EMPHASIS> A naive "verify each row" prompt produces confirmation. The structural defense is principle-extraction first, diff-wide scope, agent-derived evidence, and a forced disagreement quota. Without these, 26/26 AGREE is the predictable output — and the violations the reviewer hasn't cited yet are guaranteed to survive. </FINAL_EMPHASIS>
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/adversarial-review/SKILL.md
Popularity
- Repository stars
- 10
- Repository forks
- 6
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Nov 2026, 3 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/axiomantic/spellbook/adversarial-review)