agentleFS
EzraAppleEzraApple/skills-init/skills/adversarial-review/SKILL.md

adversarial-review

Skill2 starsChanged 49 days agoMITView on GitHub

Review a PR, diff, or plan using reviewer and validator subagents in fresh context windows. Use for adversarial review, an independent second opinion, or a change-impact audit.

119 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 9 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

  • jaydubya818Skill

    babysit

    Use when an authorized pull request needs ongoing CI and review follow-through.

    Also in 3 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

    error-handling

    统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。

    Also in 3 projects that use this

  • juriwiensSkill

    codex-review

    Run code review via Codex CLI

    Also in 3 projects that use this

  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 106 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use fresh reviewer and validator subagents to find issues that survive an attempt to disprove them.

    line 8
  2. Distinctive:

    Look for violations of actual contracts: failure handling, ordering, permissions, compatibility, persistence, and recovery.

    line 22
  3. Distinctive:

    Read only the relevant additional lens:

    line 26
  4. Distinctive:

    Start each reviewer in a fresh context window without inherited conversation history.

    line 33
  5. Distinctive:

    If fresh subagents are unavailable, disclose that limitation.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 106 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

Use fresh reviewer and validator subagents to find issues that survive an attempt to disprove them. A clean review is useful; finding volume is not a measure of quality. The parent agent coordinates, checks evidence, and synthesizes the result.

Review requests are read-only. Apply fixes only when the user's request also authorizes them. A writable checkout does not supply that authorization.

Establish the change

Resolve the requested files, diff, or plan and its intended behavior. Inspect the base and current revision, including local changes when relevant. If the revision changes during review, identify which conclusions need checking again.

Trace changed behavior through representative callers and state transitions. Look for violations of actual contracts: failure handling, ordering, permissions, compatibility, persistence, and recovery. A concern needs a reachable trigger and a consequence, not just an unfamiliar pattern.

Read only the relevant additional lens:

  • For breakage beyond the diff, read change-impact.md.
  • For caller-facing API or component design, read interfaces.md.

Review in fresh contexts

Start each reviewer in a fresh context window without inherited conversation history. Give reviewers the same concise packet: the user request, scope, constraints, base and current revisions, diff or plan, and paths to relevant project guidance. Add each reviewer's risk focus. Exclude the builder's reasoning, prior conclusions, and other reviewers' findings.

Choose distinct risk lanes from the changed surfaces and requested scrutiny, such as correctness, security, interfaces, or operations. Keep reviewers read-only and independent until their passes finish. Require a concrete failure path, location, evidence, and focused correction for each finding.

If fresh subagents are unavailable, disclose that limitation. Sequential passes in one context do not provide the same independence.

Challenge findings independently

Cluster candidate findings by root cause. Give each material cluster to a fresh, read-only validator subagent with the scope, code, and claim to challenge. Do not reuse its reviewer or inherit the implementation conversation. The validator's job is to disprove the finding using caller preconditions, existing guards, pinned library behavior, tests, or a focused probe.

The parent checks the evidence and drops disproven concerns and style preferences whose benefit does not justify the churn. Agreement between agents is not proof.

Return the useful result

Lead with actionable findings, ordered by impact. Give each finding a location, trigger, consequence, supporting evidence, and a focused correction. Label material uncertainty. If none survive, say so and name the important coverage and gaps. When fixes are authorized, check the original behavior and use fresh subagents to re-review affected risks after the change. Stop when no actionable findings remain or the remaining work needs a user decision or exceeds scope.

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.