adversarial-review
Skill2 starsChanged 4 days agoMITView on GitHub
Use when plans, implementation diffs, docs, migrations, tests, or other work products need an independent critique before execution, finalization, or acceptance; especially for complex, high-risk, security-sensitive, production, data, billing, auth, or architecture changes.
104 other projects use a version of this.
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
- leinardi/adversarial-review-looptheir own version, first seen Nov 8, 2026
- artberri/skillstheir own version, first seen Nov 8, 2026
- ericwang200608-beep/LANYANT-Skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use rethink, root-cause-analysis and 10 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 · 0
None found.
Wrote their own version · 104
- 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
- deadlock-mod-manager/deadlock-mod-manager★ 584same name
- boraoztunc/skills★ 454same name
- syahiidkamil/Software-Engineer-AI-Agent-Atlas★ 404same name
94 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 repository4 other files it gives its agents.
- dispatch-ticketsSkill
- explain-implementationSkill
- frontend-designSkill
- grill-plan-buildSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 93 edited versions we read keep these.
9
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 14
Run one fresh reviewer against a compact artifact packet for the boundary the caller selected.
- Distinctive: line 22
When invoked standalone without parent workers, the current agent owns boundary selection, evidence verification, bounded fixes, …
- Distinctive: line 42
Use a suitable reviewer from a different provider when either a native or external mechanism is available.
- Distinctive: line 44
Use a fresh isolated session from the same provider only after recording that no suitable different-provider mechanism exists or that an …
- Distinctive: line 49
Use the current authoring session only as a last resort.
- Distinctive: line 51
Do not launch a same-provider reviewer before completing and recording the cross-provider inventory.
- Distinctive: line 62
Start with the selected worktree, work item, diff, validation evidence, known risks, and explicit compatibility requirements.
- Very specific: line 84
If there is no work item, store it under .agent/adversarial/ or return it inline when the repository has no suitable artifact directory.
- Distinctive: line 98
Use this prompt for the selected reviewer, followed by the launch packet and the Findings Contract status block:
- Distinctive: line 170
Treat every finding as a claim.
“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
Core Contract
Run one fresh reviewer against a compact artifact packet for the boundary the caller selected. Use a reviewer from a different provider than the author whenever a suitable native or external mechanism is available. Cross-provider review is the default requirement, not a soft preference. Keep the reviewer read-only: the main agent verifies each claim against repository or runtime evidence, directs implementers to fix valid findings, integrates the changes, and accepts the result.
When invoked standalone without parent workers, the current agent owns boundary selection, evidence verification, bounded fixes, integration, and acceptance; the independent reviewer remains read-only. Before plan approval, honor an explicitly requested plan review. If the caller has not selected a review, use a planning packet only when architecture, security, data, migration, or other consequential design risk warrants critique; UI scope alone does not require one. One completed review is the default for a selected boundary. A focused follow-up is allowed only when concrete changed evidence introduces new risk or invalidates the prior conclusion; review that changed surface and new evidence instead of repeating the full review. Do not spawn nested reviewers by default. Critical risk may increase capability or reasoning effort, but does not by itself add reviewers.
Reviewer Selection
- Determine the author provider when exposed by the runtime.
- Discover native provider-aware subagents, then read
references/provider-reviewers.mdand inventory its installed external adapters before selecting a fallback. Absence from the native subagent picker does not establish that another provider is unavailable. - Use a suitable reviewer from a different provider when either a native or external mechanism is available.
- Use a fresh isolated session from the same provider only after recording that no suitable different-provider mechanism exists or that an available mechanism failed its bounded availability check or review invocation.
- Otherwise use another fresh reviewer available in the current provider and record reduced independence.
- Use the current authoring session only as a last resort.
Do not launch a same-provider reviewer before completing and recording the cross-provider inventory. If one is launched prematurely, stop it before it returns a completed status and continue with the cross-provider path; an interrupted launch does not consume the selected review event.
Record unavailable evidence or provider capacity. Missing cross-provider capacity is not automatically blocking for standard or elevated work; the caller decides whether critical work requires a waiver.
Scope And Inputs
Start with the selected worktree, work item, diff, validation evidence, known risks, and explicit compatibility requirements. Expand to adjacent repositories, web, browser, or MCP evidence only when a concrete claim requires it, and record the expansion. Keep the review read-only.
Give the reviewer a compact launch packet:
- goal, constraints, non-goals, and success criteria
- paths to produced artifacts
- relevant diffs, commits, or
git status --short - validation commands and results
- known open questions, skipped checks, and residual risks
- explicit compatibility requirements, if any
- for implementation review, the planning artifacts and prior review findings
Store output near the work item when possible:
.agent/work/<slug>/adversarial/plan-review.md
.agent/work/<slug>/adversarial/implementation-review.mdIf there is no work item, store it under .agent/adversarial/ or return it
inline when the repository has no suitable artifact directory.
Compatibility Policy
Backwards compatibility is not a default virtue. Do not ask reviewers to preserve old names, legacy output shapes, aliases, shims, dual paths, migration scaffolding, or deprecation wrappers unless the review packet names an explicit public contract, production data constraint, rollout requirement, or user instruction. Flag unnecessary compatibility scaffolding as code noise when it makes the result worse.
Prompt Shape
Use this prompt for the selected reviewer, followed by the launch packet and the Findings Contract status block:
Look at this again with fresh eyes.
You are an adversarial reviewer. You are not the author, and the author may have
conflicting goals when reviewing their own work. Your job is to find serious
problems in the attached plan, diff, docs, tests, validation evidence, or
rollout notes.
Review the work yourself. Do not spawn subagents.
Do not summarize the work. Challenge it.
Call out missing evidence, unchecked assumptions, over-broad scope, untested
behavior, unsafe migrations, security gaps, rollback gaps, and places where the
implementation may satisfy the text but not the intent. Verify suspected issues
against the available evidence. Do not invent issues or report nits to inflate
the count.
Report only issues that could change the plan, implementation, validation, or
release decision. For each issue include severity, artifact or path, evidence,
why it matters, and the suggested fix or next check.
Apply the explicit compatibility requirements in the launch packet. Do not
treat missing legacy shims or migration wrappers as defects without a stated
requirement; flag unnecessary compatibility scaffolding when it worsens the work.
This is a read-only review. Do not modify files, write new files, apply patches,
change external systems, push branches, create PRs, or run commands that mutate
state. Use Bash only for inspection commands. Expand beyond the supplied packet
only when a concrete claim requires adjacent repository, web, browser, or MCP
evidence, and record that expansion.
End with the exact status block supplied below.Findings Contract
Report only issues that could change the plan, implementation, validation, or release decision. Include severity, artifact/path, evidence, impact, and the next fix or check. Do not reward issue count and do not report nits merely to produce findings.
End with:
---ADVERSARIAL_REVIEW_STATUS---
AUTHOR_PROVIDER: <provider | unknown>
REVIEWER_PROVIDER: <provider | unknown>
REVIEWER_MODEL: <model | unknown>
INDEPENDENCE: cross_provider | fresh_same_provider | fresh_unknown | current_session
ISSUES_FOUND: <number>
CRITICAL_COUNT: <number>
HIGH_COUNT: <number>
MEDIUM_COUNT: <number>
LOW_COUNT: <number>
CONFIDENCE: HIGH | MEDIUM | LOW
BLOCKING: true | false
SUMMARY: <one line>
---END_ADVERSARIAL_REVIEW_STATUS---The review prompt must prohibit file mutations, external-system changes, pushes, pull requests, and state-changing commands. It must limit Bash to inspection commands. Confirm the saved review contains the exact status delimiter before accepting it. Keep available streaming output with the review when possible as an audit trail.
Handling Findings
Treat every finding as a claim. The main agent verifies it, directs implementers to fix valid bounded issues, updates planning artifacts when intent or risk changes, rejects unsupported compatibility requests, integrates the verified changes, reruns relevant validation, and records the disposition. Request a focused follow-up only under the changed-evidence rule in Core Contract; do not repeat a full review merely because findings were critical or the implementer made a fix.
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.

