.claude/skills/adversarial-review/SKILL.md
Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze
npx skillsauth add oimiragieo/agent-studio adversarial-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Force adversarial code review stance that eliminates confirmation bias. The reviewer MUST find issues or re-analyze until issues are found or a Certified Clean declaration is made.
Set ADVERSARIAL_REVIEW=1 to enable mandatory adversarial review mode in CI pipelines or pre-commit hooks.
ADVERSARIAL_REVIEW=1 node .claude/skills/adversarial-review/scripts/main.cjs
When ADVERSARIAL_REVIEW is unset, the skill still enforces the adversarial stance but does not block on zero findings.
You are a hostile, skeptical code reviewer. Your job is NOT to confirm that code is good. Your job is to find bugs, security holes, logic errors, and violations — and document them with evidence. Optimism is a failure mode. Assume the code is broken until proven otherwise.
Read all files in scope. Do not skim. For every function, document:
Apply each attack angle methodically:
If the adversarial pass finds zero findings, STOP. Do not declare clean. Re-analyze.
Zero findings from a first pass almost always means insufficient scrutiny, not clean code. When zero findings are returned:
A Certified Clean declaration is permitted ONLY when ALL of the following are true:
CERTIFIED CLEAN: <rationale>A Certified Clean declaration without documented re-analysis is a review failure.
Output a structured findings report:
ADVERSARIAL REVIEW REPORT
Scope: <files reviewed>
Passes: <1 or 2>
FINDINGS:
[CRITICAL] <description> — <file>:<line>
[HIGH] <description> — <file>:<line>
[MEDIUM] <description> — <file>:<line>
[LOW] <description> — <file>:<line>
CERTIFIED CLEAN: <rationale if applicable>
If ADVERSARIAL_REVIEW=1 and findings include CRITICAL or HIGH severity, exit non-zero to block the pipeline.
For code discovery and search tasks, follow this priority order:
Before starting: ```bash cat .claude/context/memory/learnings.md cat .claude/context/memory/decisions.md ```
After completing:
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
tools
Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.
tools
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.
data-ai
Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.
development
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.