Adversarial review

From shannonshell/shannon · View interactive version

Adversarial review is an AI agent skill from the GitHub repository shannonshell/shannon. Run an in-session adversarial review of Shannon work using a fresh-context reviewer. Use for experiment design gates, experiment result gates, risky Rust changes, Nushell/Reedline subtree upgrades, and workflow compliance.

How to use this skill

Skill file

Adversarial Review

Use this skill when work needs a skeptical, independent review before it is

trusted. The reviewer should try to reject the design or result on evidence, not

act as a rubber stamp.

When To Use

handling, signal handling, config loading, or terminal behavior.

Reviewer Contract

The reviewer is read-only. It may inspect files, diffs, logs, and test output.

It must not edit files, stage, commit, push, or run commands that mutate the

working tree.

The reviewer holds the work to:

What To Check

panics on user input, shell quoting bugs, race conditions, signal mishandling,

and regressions in nu/bash mode behavior.

surface was intentionally preserved and upstream code was not accidentally

half-merged.

or hidden refactors.

concrete pass/fail criteria.

design/result review is recorded, and plan/result commits are separate when

required.

and debugging easier rather than harder.

Prompt Template

Review this Shannon experiment with fresh context. Do not edit anything.

Focus:
- design review | result review | diff review

Artifacts:
- AGENTS.md
- issue README: issues/{NNNN}-{slug}/README.md
- experiment file: issues/{NNNN}-{slug}/NN-{slug}.md
- relevant diff: {git diff command or files}
- verification output: {commands/output if available}

Try to reject the work on evidence. Return:

VERDICT: APPROVED | CHANGES REQUIRED

Findings, most severe first:
[Required] file:line - problem. Evidence: ... Fix: ...
[Optional] file:line - improvement. Evidence: ... Fix: ...
[Nit] file:line - trivial cleanup. Fix: ...

Verdict Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.