What this skill teaches your AI coding agent
Adversarial Code Review eliminates conversational sycophancy from automated development loops. When models receive critical feedback, they often produce performative apologies and immediately rewrite functional code to placate the reviewer. This skill establishes an objective inspection gate: author agents must explicitly articulate trade-offs, potential risks, and test coverage, while reviewing agents probe concurrency limits, edge cases, and architectural cohesion. The receiving agent is strictly barred from reflexive agreement, requiring empirical verification of each critique against the codebase.
Adversarial Code Review is an open-source engineering skill licensed under MIT that enforces objective, fact-based code inspection without conversational sycophancy.
You need strict, reproducible guardrails enforcing software engineering discipline across agent interactions.
You are building quick disposable prototypes where architectural consistency and test verification are unnecessary.
Activation boundaries & prompt triggers
- 💬 "User prompts: "Rigorous adversarial code evaluation protocol banning performative apologie...""
- 💬 "User requests a pull request review, asks for feedback on a diff, or provides external code review comments to address."
- 💬 "When autonomous agent needs strict protocol guardrails"
- ⛔ Categorize all review comments strictly into Blocking, Non-Blocking, or Nitpick.
- ⛔ Verify technical claims against codebase reality before applying external suggestions.
- ⛔ Never perform blind or performative agreement with technically incorrect feedback.
Inject into Claude.ai, Claude Code, or Cursor
Choose your agent runtime to install the playbook directly into local configuration.
.cursor/rules/code-review-and-reception.mdc---description: Rigorous adversarial code evaluation protocol banning performative apologies and enforcing fact-based diff verification.globs: *alwaysApply: false---# Code Review & Feedback Reception ProtocolWhen submitting or processing code reviews:1. REVIEW REQUEST FORMAT: - Provide summary of changes, rationale, files touched, and explicit risks/trade-offs. - Highlight any areas where confidence is low or edge cases exist.2. NON-DEFENSIVE RECEPTION: - DO NOT apologize, thank excessively, or perform sycophantic agreement. - Evaluate every critique strictly against facts and codebase evidence. - If critique is valid: Implement root fix and confirm with tests. - If critique is invalid or contradictory to constraints: Objectively present technical counter-evidence without hostility.Interactive file tree manifest & playbook viewer
Click any file to audit instructions, verification scripts, and architectural references before installation.
SKILL.md---
name: code-review-and-reception
description: "Rigorous adversarial code evaluation protocol banning performative apologies and enforcing fact-based diff verification."
version: 1.0.0
license: MIT
compatibility: [claude-3-5-sonnet, cursor, windsurf, cline]
---
# Adversarial Code Review & Reception
Adversarial Code Review eliminates conversational sycophancy from automated development loops. When models receive critical feedback, they often produce performative apologies and immediately rewrite functional code to placate the reviewer. This skill establishes an objective inspection gate: author agents must explicitly articulate trade-offs, potential risks, and test coverage, while reviewing agents probe concurrency limits, edge cases, and architectural cohesion. The receiving agent is strictly barred from reflexive agreement, requiring empirical verification of each critique against the codebase.
## Core Guardrails
- ⛔ Categorize all review comments strictly into Blocking, Non-Blocking, or Nitpick.
- ⛔ Verify technical claims against codebase reality before applying external suggestions.
- ⛔ Never perform blind or performative agreement with technically incorrect feedback.
## Autonomous Activation Triggers
When user prompts:
- "User prompts: "Rigorous adversarial code evaluation protocol banning performative apologie...""
- "User requests a pull request review, asks for feedback on a diff, or provides external code review comments to address."
- "When autonomous agent needs strict protocol guardrails"
Verified behavioral proof of work
Identical prompt executed with and without this skill under autonomous coding loops.
Execute Adversarial Code Review & Reception under autonomous coding loops
2- // Baseline code3+ // Deterministic scoped patch complying with all protocol invariantsExecution safety and file access boundaries
Agent skills with executable scripts can run shell or Python utilities. Always audit scripts before execution.
- Scope: Bound to active workspace branch.
- Network Calls: Zero outbound network calls.
- AST Syntax Gate: Pre-flight verification blocks breaking mutations.
Operational triage & resolution runbook
Skill not triggering during user conversational prompt▼
Agent system prompt does not associate task keywords with the skill's trigger boundary.
Reference the skill name explicitly in your prompt (e.g., "Follow the rules in code-review-and-reception to perform this refactoring").
Conflicting rules with root project instructions▼
Global instructions (.cursorrules or CLAUDE.md) contradict the skill's invariants.
Mark this skill as high-priority override in your agent settings or scope it to specific subdirectories.
Context window saturation warning▼
Multiple skills loaded simultaneously without progressive disclosure.
Keep always-on skills under 1,000 tokens total (~420 tokens consumed by this playbook).
Skill vs. MCP Server vs. Plain System Prompt
| Primitive | Best Used When | Token Cost | Execution Risk |
|---|---|---|---|
| Agent Skill (`SKILL.md`) | Multi-step domain workflows & procedural guardrails | Low (~400 tokens) | Minimal (AST verified) |
| MCP Server | External system integrations (APIs, live databases) | Zero (until called) | Scoped by tool permissions |
| Plain System Prompt | Simple style guidelines & tone preferences | High (Always in context) | High drift risk |
Composable peers & official repository
Combine with Behavior-Preserving Refactoring Discipline for complementary agent steering across testing and refactoring.
Inspect SkillCombine with Subagent-Driven Development for complementary agent steering across testing and refactoring.
Inspect SkillCombine with Systematic Debugging Protocol for complementary agent steering across testing and refactoring.
Inspect Skill