agentleFS
StormixStormix/transcripts-mcp/.agents/skills/adversarial-review/SKILL.md

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

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

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
  1. Distinctive:

    If the target is genuinely ambiguous — two plausible readings that would produce different reviews — ask once, then proceed.

    line 23
  2. Distinctive:

    No partial reads. A review of half an artifact produces findings the other half already answers, and those are worse than no findings.

    line 27
  3. Distinctive:

    Documents: read the whole file, plus anything it links to that carries load (a referenced ADR, a linked ticket, a schema it depends on).

    line 29
  4. Very specific:

    Read references/lenses.md (next to this skill) and load only the section matching the artifact type:

    line 37
  5. Distinctive:

    Run the review inline by default.

    line 52
  6. Distinctive:

    Every candidate finding faces this gate.

    line 75
  7. Distinctive:

    No concrete failure scenario can be stated — specific inputs or state leading to a specific wrong outcome.

    line 78
  8. Distinctive:

    If nothing survives Step 6, say that plainly — list the lenses walked and what was verified.

    line 122

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

ArgumentTarget
(none)The current conversation — the plan, claims, and decisions reached so far
this chat, our discussion, what we decidedSame as above
A file or glob pathThat document, plan, ADR, PRD, or source file
A git ref, the changes, this branch, a PR URLThe diff against the merge-base
A URLFetch it and review the fetched content
Pasted text in the promptThat 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:

ArtifactSection
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:

VerdictMeans
CONFIRMEDThe failure scenario was traced against the actual code or artifact text
PLAUSIBLEThe 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'tWhy
"Consider adding error handling"No failure scenario, no location — unactionable
Reporting style, naming, or formattingThat's a different skill's job
Assigning severity by gut feelSeverity comes from the failure scenario's blast radius
Trusting the artifact's account of the codeThe gap between them is the most common real finding
Reviewing an artifact half-readProduces findings the unread half answers
Softening a structural finding into a suggestionIf the approach is wrong, say the approach is wrong

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.