Adversarial code review
Tries to break a code change and reports only findings that survive a second check, so real bugs get fixed.
Claude's review
8/10 adversarial review with refutation pass, invariant discovery and honest coverage reporting, optional workflow file missing
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Adversarially review a code change — assume it's broken, try to break it, and only report findings that survive an independent refutation pass. Use when the user wants a deep, skeptical review of a diff, PR, or branch ("adversarial review", "try to break this", "find what's wrong before I ship", "review this like a skeptic", "what will break in production"). Scales from a single inline pass to a multi-agent fan-out (one skeptic per domain → adversarial verify → synthesis). Distinct from a normal code review: it leads with concrete failure scenarios over style, distrusts the tests, and is honest about what it could not verify.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: adversarial-review
description: Adversarially review a code change — assume it's broken, try to break it, and only report findings that survive an independent refutation pass. Use when the user wants a deep, skeptical review of a diff, PR, or branch ("adversarial review", "try to break this", "find what's wrong before I ship", "review this like a skeptic", "what will break in production"). Scales from a single inline pass to a multi-agent fan-out (one skeptic per domain → adversarial verify → synthesis). Distinct from a normal code review: it leads with concrete failure scenarios over style, distrusts the tests, and is honest about what it could not verify.
---
# Adversarial Review
A normal review confirms a change looks right. An **adversarial** review assumes it is
broken and tries to prove it — then refuses to trust its own findings until each one
survives an independent attempt to refute it. The output is not "looks good" or a list
of nitpicks; it is a ranked set of *concrete failure scenarios that withstood scrutiny*,
plus an honest account of what could not be checked.
Use this when the cost of a missed bug is high: before shipping, on a large or
half-finished diff, on a new code path with no test history, or any time the user says
"try to break this."
## The stance (this is the whole skill)
Adopt these as hard rules for the duration of the review:
1. **Assume it's broken until proven otherwise.** A review that finds nothing is a
*failed* review unless you can show you tried hard to break it. Your job is to find
the input that crashes it, the sequence that corrupts data, the change that silently
regresses a fixed bug.
2. **Distrust the tests.** Passing tests prove the *tested paths* work — not that the
change is correct. Ask what *isn't* tested. Look for assertions that would still pass
if the code were wrong, or tests weakened to make the diff go green.
3. **Distrust comments and commit messages.** Review what the code *does*, not what it
claims. If a comment says "killed on exit," verify the kill actually fires.
4. **Every finding is a failure scenario, not an opinion.** "This could be cleaner" is
not a finding. "This panics on a 0-byte file because `extractMeta` unwraps the page
count" is. Each finding needs: concrete inputs/sequence → observed bad outcome, and a
`file:line`.
5. **Lead with correctness.** Data loss, crashes, regressions, security, race conditions
first. Quality/clarity findings are a separate, lower section.
6. **Be honest about coverage.** Never imply you checked more than you did. End every
review with what you could *not* verify (paths you couldn't reproduce, anything that
needs the app running, cited lines you couldn't confirm).
...From boraoztunc's repository, MIT licence.
Related skills
-
Checked
Kotlin Toolchain CLI
Builds, tests and packages Kotlin projects with the new JetBrains Kotlin Toolchain CLI, formerly called Amper.
7/101 credit -
Checked
Rust best practices
Writes and reviews idiomatic, maintainable Rust code and runs a checklist before handing it back to you.
7/101 credit -
Checked
Port code to Rust
Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.
9/101 credit -
Checked
Rust code review
Reviews Rust code for idiom, errors, safety and API design, with a ranked report and a fix for every finding.
8/101 credit -
Checked
Java Debugging Guide
Finds the cause of Java bugs and failing tests, and attaches a debugger safely in Maven, Gradle, Spring or Docker.
7/101 credit -
Checked
Multi axis code review
Reviews a diff for correctness, design, tests and security with severity labels, so only solid code merges.
8/101 credit