What problem does it solve?
Standard code reviews often miss failure scenarios that only emerge from cross-component interactions, violated assumptions, or cascading errors, especially in large or high-risk code changes covering domains like authentication, payments, or data mutations. This Skill fills that gap by actively constructing concrete failure scenarios to break the implementation, rather than only checking against known quality patterns.
Core Features & Use Cases
- Adaptive Review Depth: Automatically calibrates review rigor based on diff size and risk signals, running lightweight assumption checks for small low-risk changes and deep multi-pass analysis for large high-risk diffs.
- Multi-Technique Failure Analysis: Hunts for assumption violations, cross-component composition failures, multi-step cascade chains, and legitimate-use abuse cases that no single-pattern reviewer catches.
- Use Case: Ideal for pre-PR review of high-stakes changes like payment processing updates, authentication flow overhauls, or external API integrations where emergent failure risks are most likely to be missed.
Quick Start
Use the adversarial-reviewer skill to review the attached code diff for the new payment processing module, focusing on cascade failure risks and assumption violations.