adversarial-code-review
Skill1 starsChanged 5 months agoMITView on GitHub
Run a red-team review of a code change that actively looks for ways the patch can be wrong, unsafe, insufficiently tested, incompatible, or larger than necessary. This is not a polite rubber-stamp review: approval must be earned by evidence. Use before merge, before releasing risky changes, after an implementation agent claims completion, when tests pass but confidence is low, or when correctness, security/safety, compatibility, or minimal-diff discipline matters. Original task or spec, acceptance criteria, current diff, changed files, relevant surrounding…
13 other projects use a version of this.
Adopted by
Most recently taken up by
- jahongashtamc/hallwrighttheir own version, first seen Nov 1, 2026
- sharklandy/claude-code-starter-kittheir own version, first seen Oct 20, 2026
- CharithCD/claude-skillstheir own version, first seen Oct 20, 2026
- whz1106/whz-harnesstheir own version, first seen Oct 13, 2026
- chpomob/adversarial-code-reviewtheir own version, first seen Oct 13, 2026
- aws-solutions/konductortheir own version, first seen Sep 23, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- mlopscommunity/Coding-Agents-Conference-skills★ 38same name
- RisorseArtificiali/skills★ 13same name
- aws-solutions/konductor★ 11same name
- 0xrohan10/skills★ 2same name
- chpomob/adversarial-code-review★ 2same name
- whz1106/whz-harness★ 2same name
- abineetsingh/ClaudeSkills★ 1same name
- jahongashtamc/hallwright★ 1same name
- Carlososuna11/claude-skills★ 0same name
- CharithCD/claude-skills★ 0same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-orchestrationSkill
- architect-agentSkill
- implementer-agentSkill
- quality-councilSkill
- reviewer-agentSkill
- tester-agentSkill
- writer-critic-pairSkill
- authoring-skillsSkill
- api-endpoint-qualitySkill
- async-job-qualitySkill
- auth-qualitySkill
- db-migration-qualitySkill
- frontend-state-qualitySkill
- acceptance-criteriaSkill
- adaptive-flowSkill
- adaptive-prompt-selectionSkill
- architecture-decision-recordsSkill
- brainstormingSkill
- brownfield-spec-enhancementSkill
- bug-fix-lifecycleSkill
- checkpoint-validationSkill
- cicd-integrationSkill
- clarify-before-codeSkill
- claude-code-hooks-packSkill
- code-context-packSkill
- code-intelligence-reviewSkill
- context-policySkill
- context-rich-implementationSkill
- crash-proof-planningSkill
- critique-pass-protocolSkill
- dependency-aware-task-orderingSkill
- deprecation-migrationSkill
- disciplined-diagnosisSkill
- docs-authorSkill
- executing-plansSkill
- external-skillSkill
- finishing-a-development-branchSkill
- git-guardrailsSkill
- goal-driven-executionSkill
- grill-user-before-buildingSkill
- guard-bypass-protocolSkill
- improve-codebase-architectureSkill
- incremental-reviewSkill
- issue-slicingSkill
- lessons-learned-dbSkill
- loop-engineeringSkill
- model-aware-configSkill
- model-weakness-memorySkill
- multi-repo-learningSkill
- orchestration-workflowsSkill
- plan-driven-executionSkill
- plan-from-specSkill
- prd-from-contextSkill
- project-constitutionSkill
- prompt-architectureSkill
- prototype-before-commitmentSkill
- quality-engineSkill
- quality-execution-contractSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Run a red-team review of a code change that actively looks for ways the patch can be wrong, unsafe, insufficiently tested, incompatible, or …
- Distinctive: line 21
Use before merge, before releasing risky changes, after an implementation agent claims completion, when tests pass but confidence is low, …
- Distinctive: line 37
If no serious findings remain, state the residual risks and why they are acceptable.
- Distinctive: line 43
Critical: must-fix correctness, safety, data-loss, build-breaking, or release-blocking issues.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Adversarial Code Review
Purpose
Run a red-team review of a code change that actively looks for ways the patch can be wrong, unsafe, insufficiently tested, incompatible, or larger than necessary. This is not a polite rubber-stamp review: approval must be earned by evidence.
When to use
Use before merge, before releasing risky changes, after an implementation agent claims completion, when tests pass but confidence is low, or when correctness, security/safety, compatibility, or minimal-diff discipline matters.
Inputs
Original task or spec, acceptance criteria, current diff, changed files, relevant surrounding code, test and validation results, supported environments or compatibility constraints, known risks, and any non-goals or files out of scope.
Workflow
- Restate the intended behavior and scope boundaries in one or two sentences.
- Inspect the diff before trusting the implementation summary.
- Attack correctness: edge cases, state transitions, error paths, data shape assumptions, concurrency, idempotency, and regression risk.
- Attack security and safety: input handling, access control, privacy exposure, dependency or supply-chain risk, dangerous defaults, and misuse potential.
- Attack tests: missing coverage, weak assertions, untested failure modes, flaky checks, and validation that does not exercise the changed behavior.
- Attack compatibility: public API changes, migrations, configuration, platform assumptions, version skew, localization, accessibility, and backward compatibility.
- Attack scope: unrelated churn, broad rewrites, speculative abstractions, formatting noise, and changes that are not required by the task.
- Classify findings by severity and make each finding specific, reproducible, and tied to evidence.
- If no serious findings remain, state the residual risks and why they are acceptable.
Outputs
A red-team review report with these sections:
- Critical: must-fix correctness, safety, data-loss, build-breaking, or release-blocking issues.
- Important: high-value fixes for tests, compatibility, maintainability, or edge cases that should be addressed before merge unless explicitly deferred.
- Minor: small clarity, naming, or cleanup items that do not block acceptance.
- Verdict:
Request changes,Approve with reservations, orApprove, with verification evidence and residual risk.
Failure modes
- Rubber-stamping because the implementation looks plausible.
- Reviewing only style while missing correctness or safety risks.
- Accepting test output without checking whether tests cover the changed behavior.
- Treating a large diff as acceptable when a minimal diff would satisfy the task.
- Reporting vague concerns without actionable evidence.
- Blocking on personal preference instead of task risk.
Verification checklist
- Review challenged correctness, security/safety, tests, compatibility, and minimal diff.
- Findings are sorted by severity and tied to concrete evidence.
- The report avoids polite approval without scrutiny.
- The verdict explains remaining risk and required follow-up.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

