AGENT SKILL

adversarial-review

A red-team review of a proposal before it is built or acted on. Use when the user asks for an adversarial, red-team or devil's-advocate review, or when a design, plan, change or analysis is about to be decided and nobody has tried to break it. Not for checking numbers or hunting bugs in a code diff.

License 许可
MIT
所属仓库
justnnc/skills
最近更新
2026-10-22
Stars
★ 0
Forks
0

01 前言 Front Matter

name
adversarial-review
license
MIT
description
A red-team review of a proposal before it is built or acted on. Use when the user asks for an adversarial, red-team or devil's-advocate review, or when a design, plan, change or analysis is about to be decided and nobody has tried to break it. Not for checking numbers or hunting bugs in a code diff.

03 SKILL.md 正文

Adversarial review

Invoke: /adversarial-review <what to review>. The session briefs one read-only background agent with the prompt below, checks its claims against the sources, and relays the verdict in the shape step 4 sets. It does not decide anything.

An adversarial review tries to break a proposal before anyone builds it. It is not a balanced review: it does not improve the proposal or soften its findings with praise. Its value is the objection nobody raised, so the brief tells the reviewer to attack, and the session weighs what comes back.

When

  • A design, plan or rule change is about to be decided, and the only voices so far have been for it.
  • An analysis is about to drive an action, and its weak points have not been stated.
  • The user asks for a red-team, devil's-advocate or adversarial review.

Not for a correctness review of numbers (use a domain reviewer) or a code-diff bug hunt (use code review).

Running it

  1. Gather before briefing. List the proposal in a few lines; its stated aims; the evidence offered for it (file paths); the constraints and rules it must respect (instruction files, design docs, decision records); and the open issues it touches. The brief carries these by path. The reviewer reads the sources itself.
  2. Brief one background agent with the template below. It is read-only, with a time limit and a word limit. A stronger or different model than the one that wrote the proposal may share fewer of the author's blind spots. Say in the brief whether the work is still in design. During design the review is short and runs nothing. With no subagents available, run the attack yourself in a fresh context with the same brief, and say so when relaying.
  3. Check every claim before relaying. Open each cited file and line. Mark what holds, what overreaches, and what is inference presented as fact. An adversarial reviewer overstates by design, so the session's job is to grade it.
  4. Relay in this shape, keeping its structure.
    Verdict: <proceed | proceed with changes | do not proceed> - <one line why>
    Objections that survive the check, worst first:
    1. <objection> - <fatal | fixable | tradeoff>, <likely | possible | remote> - <file:line>
       Checked: <holds | corrected: what changed | inference>
    Strongest alternative: <the alternative, or "none better">
    Check that would most change the verdict: <the one check>
    
    Done when every slot is filled, an empty one written as "none". Once the user decides, note each objection's disposition: accepted, rebutted with evidence, or deferred. Nothing is recorded while the design is still moving, unless the user says so.

Brief template

Fill the angle brackets and drop sections that do not apply.

You are an adversarial reviewer. Your job is to find what is wrong with a <design proposal | plan | change |
analysis> before anyone <builds it | acts on it>: the failure modes, unintended consequences, weak evidence, and simpler
alternatives that beat it. Do not improve the proposal or balance your critique with praise. Steelman the status quo
where it deserves it. Be specific: cite file paths with line numbers, and mark inference as inference. If the proposal
survives an attack, say so in one line and move on.

Context: <project, one line>. Briefed by <the session>. <Still in design: a short review.>
Read-only: no runs, no tests, no builds, no edits. About <N> minutes. Answer in under about <N> words.
<Project-specific prohibitions, e.g. names that must not appear.>

## The proposal under review
<What changes, in a few lines, with the file:line of what exists today.>
Aims: (a) <...> (b) <...>

## Evidence and constraints to weigh
- Rules it must respect: <instruction files and sections, design docs>.
- Open issues it touches: <ids and titles>.
- Evidence for it, and data that bears on it: <paths, with the key figures and whether they are reviewed>.
- Mechanisms it interacts with: <file:line>.

## Attack it on
0. Assumptions: list what must be true for it to work; mark each supported (cite) or unsupported; attack the
   load-bearing unsupported ones first.
1. Whether it achieves its aims at all, given the evidence. Is the thing it changes actually the binding constraint?
   Then assume it was built and failed within <horizon>: give the most plausible story of why.
2. Unintended consequences: every mechanism that reads what it changes, and every population or user it reaches.
3. Whether it breaks a stated rule or constraint, including hidden ones (a cap, an invented cost, a price set by hand).
4. Simpler or stronger alternatives to the same aims, including fixing the cause rather than the symptom.
5. Migration and reversibility: saved data, configuration, tests and baselines, users of the old behaviour.
6. Cost: build effort, runtime cost, maintenance.

## Final reply
A verdict in one line: proceed / proceed with changes / do not proceed. Then up to five objections, ranked, each
tagged fatal / fixable / tradeoff and likely / possible / remote, with evidence, file:line, and what result would
withdraw it. Fewer real objections beat padded ones; if nothing is fatal, say so. Then the strongest alternative. Then
the one cheapest check that would most change the verdict.

Pitfalls

  • A brief that argues for the proposal tends to get a review that nibbles at details. State the proposal neutrally and give the aims as aims, not as settled facts.
  • Evidence by summary only. Give paths, so the reviewer can find what the summary left out.
  • Relaying unchecked. Cited lines can be off by a few lines or describe an older revision, and "always" or "every" usually overreaches. Check before the user sees it.
  • Ritual dissent. Assigned dissent can defend the original view or invent nits. Ask for the reviewer's own best alternative and a withdrawal condition per objection, never a quota.
  • Treating the verdict as the decision. It is one input. A "do not proceed" with a cheap check attached usually means run the check, not drop the idea.

04 同仓库更多 Skills

justnnc
justnnc/skills

codex-worker

The OpenAI Codex CLI as a worker under Claude. Use when the user names Codex ("have Codex review this", "ask Codex", "run this on Codex", "hand this to Codex"), wants work done on Codex's quota instead of Claude tokens, or wants a review from another model family. Not for tasks that need this conversation's context, the user's running application, or tools only Claude has.

★ 0
justnnc
justnnc/skills

claude-worker

A headless Claude Code run started in another repository, so the work loads that repository's own instructions instead of the current session's. Use when work belongs to a different repository than the one this session is in ("do this in the other repo", "work on the docs repo from here"), when a subagent would carry the wrong project's rules, or when a run needs its own tool set or settings. Not for work in the current repository (use an ordinary subagent), anything that needs a conversation mid-run, or tasks that need this session's context.

★ 0
justnnc
justnnc/skills

spec-audit

A read-only audit of a project's specs against the work that just landed. Use when a batch, feature or set of changes has been merged or is about to be pushed, when the user asks whether a spec is up to date, accurate or drifted from the code, or before a design discussion leans on a spec's text. Not for writing a new spec or design document, reviewing a design document, reviewing code for bugs, or planning work that is not built yet.

★ 0
justnnc
justnnc/skills

skill-craft

A craft checklist for agent skills. Use when the user asks to write, improve, review, test or tighten a skill, a SKILL.md, an agent definition or a reusable brief, or asks why an agent skips, misreads or never triggers a skill. Not for the subject matter of a skill, only how it is written.

★ 0
justnnc
justnnc/skills

prove-by-running

Execution proof that a script or tool works. Use when about to trust a new or changed script, hook, migration or release tool, and always for anything that rewrites git history, publishes or pushes, deletes, or transforms data; also when the user asks "does this actually work", "test this script", "prove it" or "try it on a copy first". Not for reviewing code by reading it, for writing unit tests of a library, or for fixing the faults found.

★ 0
justnnc
justnnc/skills

parallel-refactor

A fan-out of one large mechanical code change across parallel subagents. Use when a refactor, rename, migration or API move touches hundreds of call sites across many files, when the user asks to split a change per file or component or hand it to several agents at once, or asks how big a change is and whether it is mechanical. Not for edits inside one file, a redesign whose target shape is not yet decided, or a change small enough to make serially.

★ 0