Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Adversarial Code Reviewer

An adversarial review skill that forces Claude into three hostile reviewer personas so 'LGTM' is never an option.

Dev & CodingBeginner26,3303,706AI score 9/10Last updated: Aug 30, 2026

What it does

Breaks the self-review monoculture where the reviewer shares the author's mental model.

  • Three mandatory personas: Saboteur (tries to break it in production), New Hire (maintainability in 6 months), Security Auditor (OWASP-informed checklist)
  • Mandatory findings: each persona must surface at least one issue — no rubber stamps
  • Severity promotion: anything caught by 2+ personas moves up a level (NOTE→WARNING→CRITICAL)
  • Clear verdict: BLOCK / CONCERNS / CLEAN with merge guidance
  • Requires reading the full file and project conventions (CLAUDE.md, lint configs), not just changed lines

Who it's for

  • Solo devs and small teams merging PRs without a human reviewer
  • Anyone frustrated by AI that only praises the code it just wrote
  • Backend/fullstack engineers touching auth, payments, or data access
  • Post-marathon coding sessions when your own judgment is fatigued

Examples

  1. /adversarial-review — reviews staged/unstaged changes; falls back to the last commit if both are empty.
  2. /adversarial-review --diff main...HEAD — full branch review right before merging a PR, ending in a BLOCK/CONCERNS/CLEAN verdict.
  3. /adversarial-review --file src/auth.ts — reads an entire auth file hunting for IDOR, hardcoded secrets, and missing role checks.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/alirezarezvani/claude-skills/HEAD/.gemini/skills/adversarial-reviewer/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the .gemini/skills/adversarial-reviewer folder from the GitHub repo alirezarezvani/claude-skills into my ~/.claude/skills/adversarial-reviewer/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/alirezarezvani/claude-skills.git && mkdir -p ~/.claude/skills && cp -r claude-skills/.gemini/skills/adversarial-reviewer ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/alirezarezvani/claude-skills.git
  3. Create the skills folder if needed: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r claude-skills/.gemini/skills/adversarial-reviewer ~/.claude/skills/
  5. Restart Claude Code, open a git repository, then run /adversarial-review or ask "use the adversarial-reviewer skill on my current changes".
  6. No extra dependencies are needed, but you must run it inside a git repo so the skill can read diffs.