adversarial-review
Skill8 starsChanged 2 months agoMITView on GitHub
Adversarial review of any artifact — a plan, PRD, ADR, design doc, code diff, or the current conversation itself — from a hostile stance that tries to break it rather than improve it. Use when asked to "adversarially review", "red team this", "poke holes in", "attack this plan", "review our discussion", "what did we get wrong", "stress-test this", "steelman then break", "review this ADR/PRD/doc", or "find the flaws". Resolves the target, picks critique lenses per artifact type, self-refutes each candidate finding, and reports ranked findings with concrete failure scenarios. Read-only — never edits the artifact. Escalates to independent subagents (optionally on a different model) on request or for large targets.
104 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- revisit-studies/studytheir own version, first seen Nov 9, 2026
- ozt88/skillstheir own version, first seen Nov 8, 2026
- selamy-labs/agent-skillstheir own version, first seen Nov 8, 2026
- kellen-miller/skillstheir own version, first seen Nov 8, 2026
- leinardi/adversarial-review-looptheir own version, first seen Nov 8, 2026
- artberri/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use rethink, root-cause-analysis and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
fabioespindulaSkillrethink
Reframe a plan, idea, or decision before the user commits to it. Use when the user asks to rethink, step back, pressure-test, gut-check, decide, right-size, simplify, think bigger about, or evaluate a concrete plan or decision in product, strategy, technical architecture, career, life, company direction, or personal priorities. This skill improves decision quality before action: clarify the real question, challenge assumptions, compare alternatives, calibrate ambition, classify the operating mode, surface risks, and recommend a next move. Do not use for broad future exploration without a concrete decision; that belongs to a think-big or research-style skill.
Also in 3 projects that use this
MicrosoftSkillroot-cause-analysis
Use when a Regional Retail Manager asks I'm seeing unusual inventory movement at our Northwest stores. Can you help me understand what's happening?
Also in 3 projects that use this
anasahmed07Skillbetter-auth-best-practices
Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
Also in 4 projects that use this
DockerSkillfix-issue
Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR. Use when asked to fix an issue: "fix issue 1234", "resolve #500", "create a PR for issue 200".
Also in 3 projects that use this
MicrosoftSkillpull-request
Write concise, focused pull request descriptions for Wassette — at most three sentences on the what and why, with an explicit note on any breaking public-API change and how users adapt. Use when opening or editing a Wassette pull request.
Also in 3 projects that use this
juriwiensSkillcodex-review
Run code review via Codex CLI
Also in 3 projects that use this
- +2 more from microsoft
Other versions104 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- deadlock-mod-manager/deadlock-mod-manager★ 584100% same
Wrote their own version · 103
- PrefectHQ/fastmcp★ 28ksame name
- jlowin/fastmcp★ 28ksame name
- mengxi-ream/read-frog★ 10ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- basicmachines-co/basic-memory★ 4.5ksame name
- DanMcInerney/architect-loop★ 626same name
- boraoztunc/skills★ 454same name
- syahiidkamil/Software-Engineer-AI-Agent-Atlas★ 404same name
- microsoft/XBOX-Godot-Sample★ 240same name
93 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .deepsec/AGENTS.mdAGENTS.md
- .cursor/rules/010-workflow.mdcCursor rule
- .cursor/rules/020-codebase-structure.mdcCursor rule
- .cursor/rules/030-coding-style.mdcCursor rule
- .cursor/rules/031-never-use-any.mdcCursor rule
- .cursor/rules/032-import-rules.mdcCursor rule
- .cursor/rules/050-testing.mdcCursor rule
- .cursor/rules/070-comments-defensive-programming.mdcCursor rule
- .cursor/rules/080-ai-interaction.mdcCursor rule
- .cursor/rules/090-changesets.mdcCursor rule
- .cursor/rules/095-calldiff.mdcCursor rule
- .cursor/rules/990-cursor-rule-editing-workaround.mdcCursor rule
- .cursor/rules/999-mdc-format.mdcCursor rule
- agent-browserSkill
- calldiffSkill
- changesetSkill
- commitSkill
- deslopSkill
- fix-prSkill
- git-conventionsSkill
- humanizerSkill
- improve-codebase-architectureSkill
- logging-best-practicesSkill
- opensrcSkill
- rebaseSkill
- recomposing-commitsSkill
- security-reviewSkill
- show-meSkill
- simplifySkill
- thermo-nuclear-code-quality-reviewSkill
- wait-whatSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 93 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
If the target is genuinely ambiguous — two plausible readings that would produce different reviews — ask once, then proceed.
- Distinctive: line 27
No partial reads. A review of half an artifact produces findings the other half already answers, and those are worse than no findings.
- Distinctive: line 29
Documents: read the whole file, plus anything it links to that carries load (a referenced ADR, a linked ticket, a schema it depends on).
- Very specific: line 37
Read references/lenses.md (next to this skill) and load only the section matching the artifact type:
- Distinctive: line 52
Run the review inline by default.
- Distinctive: line 75
Every candidate finding faces this gate.
- Distinctive: line 78
No concrete failure scenario can be stated — specific inputs or state leading to a specific wrong outcome.
- Distinctive: line 122
If nothing survives Step 6, say that plainly — list the lenses walked and what was verified.
“Common” is measured: kept by at least 6 in 10 of the 93 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Adversarial Review
Attack an artifact until either a real defect surfaces or the artifact survives. Report what breaks it, not what would polish it.
The stance is the skill. A normal review asks "is this good?" — this one assumes the artifact is wrong and looks for the argument that proves it. Findings that cannot be stated as a concrete failure scenario are not findings.
Step 1: Resolve the target
| Argument | Target |
| (none) | The current conversation — the plan, claims, and decisions reached so far |
this chat, our discussion, what we decided | Same as above |
| A file or glob path | That document, plan, ADR, PRD, or source file |
A git ref, the changes, this branch, a PR URL | The diff against the merge-base |
| A URL | Fetch it and review the fetched content |
| Pasted text in the prompt | That text |
If the target is genuinely ambiguous — two plausible readings that would produce different reviews — ask once, then proceed. Otherwise pick the obvious reading and state it in one line before starting.
Step 2: Read the target completely
No partial reads. A review of half an artifact produces findings the other half already answers, and those are worse than no findings.
- Documents: read the whole file, plus anything it links to that carries load (a referenced ADR, a linked ticket, a schema it depends on).
- Diffs:
git diff $(git merge-base HEAD origin/HEAD)...HEAD. If output truncates, read each changed file individually until every changed line has been seen. List the files before proceeding. - Conversation: enumerate the load-bearing claims and decisions made so far, in writing, before critiquing any of them.
Then verify the artifact against reality. An artifact's description of the codebase is a claim, not evidence — grep and read the actual code before accepting any statement about how the system currently behaves.
Step 3: Pick the lenses
Read references/lenses.md (next to this skill) and load only the section matching the artifact type:
| Artifact | Section |
| Implementation plan, migration plan, rollout plan | ## Plans |
| ADR, RFC, technical proposal | ## Decision records |
| PRD, spec, requirements doc | ## Specs |
| Code, diff, PR | ## Code |
| The current conversation | ## Conversations |
| Anything else prose | ## Documents |
Load one section, not the whole file. If the target spans types (a plan containing code), load both.
Step 4: Decide inline or escalate
Run the review inline by default. Escalate to independent subagents when any of these holds:
- The user asked for it —
--deep, a named model, "use subagents", "second opinion", "different model", "thorough". - The target exceeds roughly 1500 lines or 15 changed files.
- The target is the current conversation and the user wants a model that did not participate in it.
- The inline pass surfaced a structural finding — one that invalidates the artifact's approach rather than a detail — and independent confirmation would change what the user does next.
To escalate, read references/escalation.md and follow it. Otherwise continue inline.
Reviewing the current conversation inline has a known blind spot: the reasoning that produced the plan is still in context, so its assumptions read as obvious rather than as assumptions. Compensate by attacking the premises hardest — and say in the output that the review was not independent.
Step 5: Attack
Work each lens in turn. Rules of engagement:
- Steelman first. State the artifact's strongest version in one sentence. Attack that, not a weaker paraphrase of it.
- Go for load-bearing claims. One broken premise beats ten valid nits. If the artifact rests on an assumption that is false, nothing downstream matters.
- Demand evidence for every factual claim. "The service already handles retries" → find the retry logic. If it isn't there, that's a finding.
- Hunt for what is absent. Missing rollback, unhandled failure mode, an integration nobody named, a migration with no backfill, a decision the doc silently skipped. Absences do not announce themselves — walk the lens checklist explicitly rather than reading and reacting.
- Take the artifact's own constraints seriously. A finding that violates a constraint the artifact states up front is out of scope, not insight.
Step 6: Self-refute before reporting
Every candidate finding faces this gate. Argue the opposing case as well as the artifact's own author would, then drop the finding if any of these is true:
- The artifact already handles it somewhere you had not yet read.
- No concrete failure scenario can be stated — specific inputs or state leading to a specific wrong outcome.
- It is a matter of taste, naming, or style with no failure attached.
- It restates a risk the artifact already names and accepts.
Surviving findings get a verdict:
| Verdict | Means |
CONFIRMED | The failure scenario was traced against the actual code or artifact text |
PLAUSIBLE | The reasoning holds but could not be fully verified — say what blocked verification |
Report a smaller set of confirmed findings over a longer padded list. Never pad to reach a count.
Step 7: Report
Ranked most severe first. Nothing is written to disk.
## Adversarial review: <target>
**Steelman:** <the artifact's strongest form, one sentence>
<if the review was not independent, one line saying so>
### 1. <finding, stated as the defect> — CONFIRMED
`path/to/file.ts:142` (or: section "Rollout", or: turn where the claim was made)
<One sentence: what is wrong.>
**Fails when:** <concrete inputs or state → concrete wrong outcome.>
**Evidence:** <what was read that establishes this — file:line, or the absent thing and where it was looked for.>
### 2. ...
### Checked and clean
- <lens or area>: <why it holds up>
### Could not verify
- <thing>: <what blocked it>If nothing survives Step 6, say that plainly — list the lenses walked and what was verified. An artifact surviving an honest attack is a real result. Do not manufacture findings to justify the review.
Anti-patterns
| Don't | Why |
| "Consider adding error handling" | No failure scenario, no location — unactionable |
| Reporting style, naming, or formatting | That's a different skill's job |
| Assigning severity by gut feel | Severity comes from the failure scenario's blast radius |
| Trusting the artifact's account of the code | The gap between them is the most common real finding |
| Reviewing an artifact half-read | Produces findings the unread half answers |
| Softening a structural finding into a suggestion | If the approach is wrong, say the approach is wrong |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

