agentleFS
selamy-labsselamy-labs/agent-skills/skills/adversarial-review/SKILL.md

adversarial-review

Skill0 starsChanged 6 days agoMITView on GitHub

Use before claiming a high-stakes artifact done, verified, or merged. Have an independent grader adversarially review it — prompted to refute and find reasons not to ship, not to bless — and iterate to an explicit ship-or-revise verdict.

104 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • fabioespindulaSkill

    rethink

    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

  • MicrosoftSkill

    root-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

  • anasahmed07Skill

    better-auth-best-practices

    Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

    Also in 4 projects that use this

  • DockerSkill

    fix-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

  • MicrosoftSkill

    pull-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

  • juriwiensSkill

    codex-review

    Run code review via Codex CLI

    Also in 3 projects that use this

  • +2 more from microsoft

The file

Files
SKILL.md

Adversarial Review

The author is the worst judge of their own work — they review it with the same assumptions that produced it. Before you call a high-stakes artifact done, verified, or merged, hand it to an independent grader whose job is to refute it: find the reason it should not ship. What survives a genuine attempt to break it is far more trustworthy than what you blessed yourself.

Refute, don't bless

The grader's task is adversarial: "Here is a diff/artifact claimed ready. Find the strongest reasons NOT to ship it — bugs, missed cases, unsafe assumptions, unmet requirements. Default to REVISE if uncertain." A prompt that asks "does this look good?" gets a rubber stamp; a prompt that asks "why is this wrong?" gets the defects. Uncertainty is a REVISE, not a SHIP — a weak "seems fine" guards nothing.

Independence is the whole point

A grader that shares the author's context inherits the author's blind spots. Maximize independence:

  • Different context/model than the one that produced the artifact — not the author re-reading their own work.
  • Clean-room where possible: review the diff against an untouched checkout of the base, so the grader judges what actually changed, not the author's narrative about it.
  • Anti-reward-hack: the grader is graded on finding real defects, not on agreeing. It does not get to clear the artifact by restating its intent.

Explicit verdict, then iterate

The output is a decision, not a vibe: SHIP or REVISE, with the specific defects that drove it. REVISE → fix the named defects → re-review. Loop until a clean SHIP. Record the verdict with the artifact so "it was reviewed" is a fact, not a memory.

Scale to the stakes

Adversarial review costs an extra cycle; spend it where being wrong is expensive: live-money or financial changes, security/auth/permission edits, fleet-wide or irreversible infrastructure, data migrations, anything you cannot easily roll back. A typo fix does not need a tribunal. Match the rigor to the blast radius.

Make it standing, not ad-hoc

A review you remember to run is a review you will skip under pressure. Wire it to the boundary where the claim is made — before a done-mark, before opening the PR — with a hook or checklist gate, so the adversarial review is part of the definition of done rather than an optional courtesy. For higher assurance, use several independent graders with distinct lenses (correctness, security, does it actually reproduce) and require a majority to clear.

Where it fits

Adversarial review answers "is this actually right and safe to ship?" It pairs with two siblings: verify the real artifact (does the thing exist and behave in the closest-to-production form?) and process-aware done (never mark done on a proxy). Run the adversarial review, verify the real artifact it points at, then — and only then — claim done.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.