Skip to content
alirezarezvani avatar

Adversarial Reviewer

Adversarial code review through hostile personas that catch blind spots shared with the author's own mental model.

CCM score
64 of 100
skills.sh installs
906
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers review of staged or unstaged changes, a --diff <ref> range, or a single --file target
  • Runs three personas (Saboteur, New Hire, Security Auditor), each required to surface at least one finding
  • Promotes issues caught by two or more personas one severity level and ends with a BLOCK, CONCERNS, or CLEAN verdict
  • Designed for pre-merge reviews or when a self-review feels too agreeable

Install

$ npx -y skills add alirezarezvani/claude-skills --skill adversarial-reviewer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Adversarial Code Reviewer

Description

Adversarial code review skill that forces genuine perspective shifts through three hostile reviewer personas (Saboteur, New Hire, Security Auditor). Each persona MUST find at least one issue — no "LGTM" escapes. Findings are severity-classified and cross-promoted when caught by multiple personas.

Features

  • Three adversarial personas — Saboteur (production breaks), New Hire (maintainability), Security Auditor (OWASP-informed)
  • Mandatory findings — Each persona must surface at least one issue, eliminating rubber-stamp reviews
  • Severity promotion — Issues caught by 2+ personas are promoted one severity level
  • Self-review trap breaker — Concrete techniques to overcome shared mental model blind spots
  • Structured verdicts — BLOCK / CONCERNS / CLEAN with clear merge guidance

Usage

/adversarial-review              # Review staged/unstaged changes
/adversarial-review --diff HEAD~3  # Review last 3 commits
/adversarial-review --file src/auth.ts  # Review a specific file

Examples

Example: Reviewing a PR Before Merge

/adversarial-review --diff main...HEAD

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Code Review & Quality, Security
First seen
Jun 3, 2026

Questions

What does the adversarial-reviewer skill do?

The adversarial-reviewer skill runs a tough, critical review of a diff or PR before merge, using three hostile reviewer personas: Saboteur, New Hire and Security Auditor. Each persona must report at least one finding, so a self-review cannot pass as an easy approval.

How do I install the adversarial-reviewer skill?

Run npx -y skills add alirezarezvani/claude-skills --skill adversarial-reviewer -y in a project to install it. Once installed, adversarial-reviewer lets the agent check staged changes, a range of commits, or a single file for blind spots.

Does adversarial-reviewer need any tools, accounts or API keys?

The adversarial-reviewer skill is prompt-only and needs no external tools, accounts or API keys. It reads the git diff or the file you point it at, along with project conventions from files such as CLAUDE.md.

Where does adversarial-reviewer stand in the Code Review and Quality category?

Within Code Review and Quality, adversarial-reviewer sits alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Its distinct focus is hostile personas that catch blind spots an author and reviewer share.

More from alirezarezvani/claude-skills

All 259

Similar to Adversarial Reviewer

More Code Review & Quality