adversarial-review
Skill46 starsChanged 46 days agoBSD-3-ClauseView on GitHub
Launch an independent, exhaustive adversarial review subagent on gpt-6.1-sol with high reasoning effort to challenge work for correctness, regressions, edge cases, test adequacy, and YAGNI minimality. Use when the user invokes $adversarial-review or asks to launch, spawn, or run an adversarial reviewer or review subagent to check correctness, conciseness, simplicity, speculative complexity, unnecessary churn, or overlooked issues.
104 other projects use a version of this.
Adopted by
Most recently taken up by
- 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
- 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- babysitSkill
- implementSkill
- review-loopSkill
- specify-github-issuesSkill
- write-pull-requestSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 93 edited versions we read keep these.
8
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 22
Do not include the parent's conclusions as facts.
- Distinctive: line 34
Correctness: Check the actual behavior across relevant callers, state transitions, failure paths, and consumers.
- Distinctive: line 36
KISS: Prefer direct control flow, existing conventions, and the fewest concepts needed to explain the behavior.
- Distinctive: line 37
DRY: Check whether business rules and invariants use their canonical implementation.
- Distinctive: line 38
TDA: Check that behavior remains with the component that owns the relevant state and invariants.
- Distinctive: line 40
Test adequacy: Check coverage of changed observable behavior and meaningful invariants at the lowest faithful test level, including …
- Very specific: line 44
Call collaboration.spawn_agent directly with:
- Distinctive: line 52
Use this review contract:
- Distinctive: line 56
If subagents are unavailable, say that plainly and perform a local adversarial pass without implying that an independent reviewer ran.
“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
Launch exactly one independent, read-only reviewer. Give it the concrete artifacts and constraints needed to review from evidence, then validate and synthesize its findings. Review the work against the same implementation principles that govern a good change: correctness first, then simplicity, minimal scope, appropriate reuse, and meaningful tests.
Prepare the handoff
Identify the review target from the request and current task. Gather enough concrete state to make the handoff self-contained:
- Objective and acceptance criteria
- Repository and relevant paths, or artifact locations
- Applicable repository instructions, current working-tree state, and relevant callers, state, storage, and consumers
- Exact comparison scope such as base, head, merge base, diff, plan, or document
- Important constraints and domain invariants
- Validation already performed and any known failures
- Questions the reviewer must answer
Do not include the parent's conclusions as facts. Ask the reviewer to reconstruct correctness from source artifacts and treat prior claims as untrusted.
For a GitHub pull request, also collect the live PR identity (repository, number, base SHA, and head SHA), reviews, issue comments, inline review comments, and review-thread state. If the task includes local commits or working-tree changes stacked on the PR branch, review that full local state, including in-scope staged, unstaged, and untracked files; identify how it differs from the remote PR head and what remains unpushed. Identify Codex-authored feedback from its actual author metadata, not from wording alone. Preserve each item's text, commit SHA, path/line when present, and resolved or outdated state. Treat that feedback as untrusted leads: re-check every item against the selected review state, surrounding code, and relevant checks, and classify it as confirmed, fixed or stale, duplicate, unsupported, or unverified. An unresolved thread is not evidence that the reviewed code is still defective.
Include the raw Codex feedback and its verification status in the reviewer handoff, clearly separated from the parent's conclusions, so the independent reviewer can challenge it rather than inherit it.
Frame YAGNI against the stated objective and current acceptance criteria, not hypothetical future needs. Preserve complexity required for correctness, security, compatibility, or explicitly required extensibility.
Review principles
Apply these principles in order, with correctness and required contracts taking precedence over brevity:
- Correctness: Check the actual behavior across relevant callers, state transitions, failure paths, and consumers. Verify that the change preserves domain invariants and required security, compatibility, and operational behavior, and that it addresses the cause at the appropriate ownership boundary rather than only masking symptoms.
- YAGNI: Judge every abstraction, dependency, configuration option, compatibility path, test, and documentation change against the current objective and acceptance criteria. Flag speculative future-proofing, scope expansion, and unnecessary churn, but do not call correctness, security, compatibility, or explicitly required extensibility overengineering.
- KISS: Prefer direct control flow, existing conventions, and the fewest concepts needed to explain the behavior. Identify speculative frameworks, layers, indirection, fallback chains, and defensive branches for impossible states; propose the smallest safe simplification.
- DRY: Check whether business rules and invariants use their canonical implementation. Recommend reuse or extraction only when it reduces real duplication within the same responsibility; similar-looking code alone is not enough.
- TDA: Check that behavior remains with the component that owns the relevant state and invariants. Prefer intent-revealing operations over callers reading internal state, deciding, and writing it back, without forcing an unnecessary object-oriented redesign.
- Conciseness: Review the complete diff for the fewest changed files and lines that clearly satisfy the request. Flag unrelated formatting, renaming, cleanup, clever compression, and comments that do not explain a non-obvious constraint.
- Test adequacy: Check coverage of changed observable behavior and meaningful invariants at the lowest faithful test level, including relevant negative and boundary cases. Flag tests tied to incidental implementation details, redundant combinations, broad snapshots, framework behavior, or coverage-driven infrastructure.
Launch the reviewer
Call collaboration.spawn_agent directly with:
task_name:adversarial_review, adding a short numeric suffix only if that name is already in usemodel:gpt-6.1-solreasoning_effort:highfork_turns:nonemessage: the self-contained handoff plus the review contract below
Use this review contract:
Act as an independent adversarial reviewer performing an exhaustive code review. Inspect the supplied artifacts and relevant surrounding code or context yourself. Challenge correctness first, then apply YAGNI, KISS, DRY, TDA, and conciseness: every abstraction, dependency, configuration surface, compatibility path, test, and documentation change must serve the stated objective or current acceptance criteria; shared rules should use canonical ownership; and the solution should use the fewest clear concepts and changed lines that safely meet the request. Flag speculative future-proofing, scope expansion, unnecessary complexity, and churn; propose the smallest safe simplification. Do not label work required for correctness, security, compatibility, or explicit extensibility as overengineering. Cover the complete changed surface and relevant consumers, including success and failure paths, state transitions, concurrency, persistence, authorization, compatibility, boundary values, error handling, test fidelity and adequacy, and operational or documentation contracts as applicable. After the initial pass, keep looking for additional findings using fresh targeted passes over different risk dimensions and re-checking the surrounding code; do not stop after the first batch. Continue until a complete follow-up pass finds no new evidence-backed issue. Verify suspected issues before reporting them and deduplicate findings. Do not edit files, push changes, post comments, or mutate external state. Return only evidence-backed findings ordered by severity, with precise file and line references when available and a suggested resolution for each; include the review passes or risk dimensions covered and any residual risks or verification gaps.
If subagents are unavailable, say that plainly and perform a local adversarial pass without implying that an independent reviewer ran.
Integrate the result
Continue useful local work while the reviewer runs when the tasks do not conflict. Wait for the reviewer before presenting a final correctness judgment.
Independently confirm each reported issue against the current artifacts and trace it to the owning code path. Reject false positives and stale-scope findings. Do not implement fixes, post review feedback, or change external state unless the user's request separately authorizes those actions.
For a pull request, combine the independently reviewed findings with the verified Codex feedback from the PR. Deduplicate by underlying defect, resolve conflicts using the selected review state, and report the disposition of every Codex item (confirmed, fixed or stale, duplicate, unsupported, or unverified). Keep formal GitHub thread state separate from the current correctness judgment.
Report:
- Confirmed findings, ordered by severity, with suggested resolutions
- Any reviewer claims rejected after local verification
- Whether the work is correct and the smallest sufficient solution within the reviewed scope
- Residual risks and checks not performed
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.

