Adversarial Reviewer
Adversarial code review that breaks the self-review monoculture.
Before & after
Same prompt, same agent — the only difference is the skill.
I can review your recent changes and look for issues. I'd check things like code quality, design patterns, performance considerations, and whether the logic is sound. Let me know what files you want me to look at, and I can give you some feedback. I'll try to be thorough, though I might not catch everything. Is there anything specific you're concerned about?
ADVERSARIAL REVIEW: Recent Code Changes
REVIEWER 1: Hostile Performance Critic
"Your database query in line 23 fetches all user comments before filtering by date. At scale, this is a classic N+1 trap. You're doing 1 query per user per page load. With 100K users, you've built yourself a denial-of-service vulnerability. Add a WHERE clause on the database side, not in JavaScript."
"Verdict: BLOCKER. Rewrite before merge."
REVIEWER 2: Security Hardliner
"API endpoint /api/comments/{id} returns entire comment object including user_id without authorization check (line 45). What stops me from incrementing the ID in the URL to read everyone's comments? Even if users are 'anonymous', this leaks correlation data."
"Also: You're not validating the id parameter is numeric. Regex bypass possible."
"Verdict: CRITICAL SECURITY ISSUE. Reject this PR."
REVIEWER 3: Test Coverage Examiner
"You modified authentication logic (auth.ts lines 12-34) but added zero new tests. The existing test file hasn't been touched. How do I know this doesn't break token refresh on mobile? Or handle clock skew?"
"Coverage dropped from 87% to 79%. This PR removes guardrails without explanation."
"Verdict: REJECT. Require test coverage above baseline before resubmitting."
REVIEWER 4: API Contract Guardian
"You changed the response schema for POST /api/comments. Old: {id, text, author}. New: {id, text, author, createdAt, metadata}. This breaks any client expecting the old shape. Where's the migration plan? Will old clients break silently?"
"No deprecation period, no changelog entry, no backward-compatible flag."
"Verdict: BLOCKERS. Add version header or dual-response support."
SUMMARY
4 Blockers: Database query design, unauthorized API access, missing tests, schema breaking change
3 Nice-to-haves: Logging verbosity, variable naming clarity, comment documentation
Confidence in your review: Low (self-review likely agrees with everything you wrote)About this skill
name: adversarial-reviewer description: Use when Adversarial code review that breaks the self-review monoculture.
Adversarial Reviewer
Adversarial code review that breaks the self-review monoculture. Use when you want a genuinely critical review of recent changes, before merging a PR, or when you suspect Claude is being too agreeable about code quality. Forces perspective shifts through hostile reviewer personas that catch blind spots the author's mental model shares with the reviewer.
What you get
- Public GitHub repo (alirezarezvani/claude-skills)
- the adversarial-reviewer skill folder with SKILL.md. Part of a 337-skill / 30-agent / 70-command install.
Customize your output
- Fork the repo and adapt the skill's instructions and references to your workflow.
Example output
Activates automatically when your request matches Adversarial Reviewer; chains with the other skills, agents, and commands in the collection.
Best for
Creators, builders, and teams using Claude Code.
SKILL.md preview
---
name: adversarial-reviewer
description: Use when a code change needs a genuinely critical review from a hostile perspective rather than a self-review that shares the author's blind spots.
version: 1.0.0
category: Development / Engineering
author: AgentVolt
license: proprietary
tags:
- development
- engineering
---
# Adversarial Reviewer
Reviews recent code changes through deliberately hostile reviewer personas to catch blind spots a same-mindset self-review would miss.
## When to use
… (sign up to view the full skill)More development skills
View all Development skills →Generate
Scaffold code, tests, and boilerplate from a short spec.
Performance Profiler
Systematic performance profiling for Node.js, Python, and Go applications.
Threat Detection
Use when hunting for threats in an environment, analyzing IOCs, or detecting behavioral anomalies in telemetry.
Agent Harness
Turns a domain folder of skills into a bounded agentic loop: compile a goal into a task plan, execute with the domain's tools, verify every task, retry within a budget.