adversarial-review
Skill2 starsChanged 4 months agoMITView on GitHub
Use when the user asks for adversarial, independent, skeptical, panel, multi-agent, second-opinion, high-scrutiny, security-minded, or critical review of a PR, branch diff, uncommitted changes, changed files, plan, or specific paths.
63 other projects use a version of this.
Adopted by
Most recently taken up by
- Linchi1997yeh/craftsman-suitetheir own version, first seen Oct 5, 2026
- KarhouTam/agent-skillstheir own version, first seen Oct 5, 2026
- slowernet/dietpowerstheir own version, first seen Oct 4, 2026
- baekenough/oh-my-customcodetheir own version, first seen Oct 3, 2026
- NoRiceToday/skillstheir own version, first seen Oct 2, 2026
- microsoft/XBOX-Godot-Sampletheir own version, first seen Oct 1, 2026
Used with
Projects with it also use design-doc, status and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
maragudkSkilldesign-doc
For when you're asked to write a design doc or specification, especially after a brainstorm or feature design session.
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 6 projects that use this
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Also in 3 projects that use this
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 3 projects that use this
Other versions63 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 63
- basicmachines-co/basic-memory★ 4.1ksame name
- syahiidkamil/Software-Engineer-AI-Agent-Atlas★ 397same name
- boraoztunc/skills★ 388same name
- microsoft/XBOX-Godot-Sample★ 238same name
- sendbird/cc-plugin-codex★ 219same name
- Miguok/fable-harness★ 205same name
- songjiun10-collab/Senior-thinking-skills★ 82same name
- nubbymong/claude-command-center★ 56same name
- baekenough/oh-my-customcode★ 43same name
- timharris707/skills★ 40same name
53 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 repository8 other files it gives its agents.
- interface-reviewSkill
- outcome-first-workflowsSkill
- plan-changesSkill
- repo-automationsSkill
- simplifySkill
- systematic-debuggingSkill
- trace-codebaseSkill
- writing-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. 0 are common, 25 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
25
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this when ordinary review is not enough.
- Distinctive: line 21
Do not reuse the implementation chat as evidence.
- Distinctive: line 23
No issue quota. A clean review is valid if the probes were meaningful.
- Distinctive: line 24
Every finding needs a concrete failure path, target file or symbol, evidence, and suggested fix.
- Distinctive: line 28
Default to the hardening loop unless the user asks for report-only review.
- Distinctive: line 30
If your runtime supports subagents, use fresh readonly subagents for reviewer and validator passes.
- Distinctive: line 39
If the user gives a PR URL or number, review that PR with the local GitHub tooling available in the environment.
- Distinctive: line 41
If the user names files or directories, review those paths plus directly relevant callers.
- Distinctive: line 43
If the user gives a base or revision range, review that diff.
- Distinctive: line 44
If the current branch has a resolvable PR, review that PR.
- Distinctive: line 49
If the resolved diff is empty, stop and say there is nothing to review.
- Distinctive: line 59
Use one lane for a narrow requested dimension, two or three for moderate risk, and four or more only for broad PRs or explicit …
- Distinctive: line 61
Ask for clarification only when two plausible lane sets would produce materially different reviews.
- Distinctive: line 68
Create one lean packet and pass the same packet to every reviewer lane.
- Distinctive: line 83
Do not include implementation plans, parent-agent notes, or private reasoning unless the user explicitly asks to review against them.
- Distinctive: line 88
Use these as starting points.
- Distinctive: line 99
Add domain lanes when warranted: migration safety, performance, prompt injection, data correctness, accessibility, payments, privacy, or …
- Distinctive: line 134
If there are no findings, the reviewer still lists probes that survived.
- Distinctive: line 142
Run one fresh readonly validator pass per remaining cluster.
- Very specific: line 155
Use omit for disputed, unproven, or confirmed-but-trivial findings.
- Distinctive: line 175
Use this loop by default when edits are in scope.
- Distinctive: line 177
Run reviewer lanes, clustering, validation, and synthesis.
- Distinctive: line 178
If validated action items remain and the local worktree is editable, fix them.
- Distinctive: line 179
Run targeted checks for touched surfaces.
- Distinctive: line 186
Stop at a terminal state.
- Distinctive: line 233
If no findings survive, say so directly and include the probes that mattered.
“Common” is measured: kept by at least 6 in 10 of the 56 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
Adversarial Review
Use this when ordinary review is not enough. The workflow is independent criticism, root-cause clustering, attempted takedown of findings, synthesized action items, and reruns after fixes when edits are in scope.
The goal is not to generate more comments. The goal is to find the issues that survive skeptical validation.
Core Rules
- Reviewer and validator passes are readonly. Edit only after synthesis, and only to address validated action items.
- Do not reuse the implementation chat as evidence. Reviewers get the review packet, not the builder's defense of the code.
- No issue quota. A clean review is valid if the probes were meaningful.
- Every finding needs a concrete failure path, target file or symbol, evidence, and suggested fix.
- Vague concerns are not findings.
- The user gets a synthesized action list, not raw reviewer transcripts.
- Default to the hardening loop unless the user asks for report-only review.
If your runtime supports subagents, use fresh readonly subagents for reviewer and validator passes. If it does not, run the same lanes sequentially in fresh notes: reset assumptions between lanes, do not edit during lane work, and do not let one lane's findings bias another until clustering.
Scope Selection
Pick the narrowest concrete scope before launching reviewer lanes:
- If the user gives a PR URL or number, review that PR with the local GitHub tooling available in the environment.
- If the user names files or directories, review those paths plus directly relevant callers.
- If the user gives a base or revision range, review that diff.
- If the current branch has a resolvable PR, review that PR.
- Otherwise review the branch diff from the default branch using the merge base.
- Otherwise review staged, unstaged, and untracked changes.
If the resolved diff is empty, stop and say there is nothing to review.
Dimension Selection
Choose lanes from the user's requested dimensions, changed surfaces, and risk profile. Do not run the same fixed panel every time.
- Extract explicit dimensions and exclusions from the prompt.
- Infer additional dimensions only when materially relevant.
- Skip unrelated default lanes.
- Use one lane for a narrow requested dimension, two or three for moderate risk, and four or more only for broad PRs or explicit high-scrutiny requests.
- Ask for clarification only when two plausible lane sets would produce materially different reviews.
Record selected lanes and skipped obvious lanes in the final coverage section.
Review Packet
Create one lean packet and pass the same packet to every reviewer lane.
Include:
- user request, requested dimensions, exclusions, and selected scope;
- PR title/body or local change summary when available;
- issue/ticket links when available;
- diff command used and changed file list;
- full diff or focused patch for the selected scope;
- on reruns, the disposition ledger from prior rounds.
Reference project guidance by path instead of inlining it. Reviewers may read
AGENTS.md, local skill docs, package docs, and full files needed to prove or
kill a finding.
Do not include implementation plans, parent-agent notes, or private reasoning unless the user explicitly asks to review against them.
Lane Templates
Use these as starting points. Add or remove lanes based on the task.
| Lane | Focus question | Use for |
| Correctness Critic | How does this break in production? | Runtime behavior, data flow, state, cache, idempotency, regression risk. |
| Security Critic | What can a hostile user, integration, or prompt do with this? | Auth, authorization, injection, secret exposure, unsafe logs, trust boundaries. |
| Architecture Minimalist | Is this the smallest maintainable shape? | Abstractions, duplicated pathways, wrong-layer fixes, interface bloat. |
| Interface Critic | Does the public boundary make the caller's job clear? | APIs, schemas, hooks, component props, CLI flags, cross-package contracts. |
| Test And Ops Critic | What will make this hard to verify, deploy, roll back, or debug? | Missing failure-path tests, migrations, observability, version skew, flaky assumptions. |
| Product Or UX Critic | Does behavior match the expected user outcome? | Visible behavior, copy, loading/error states, accessibility, workflow fit. |
Add domain lanes when warranted: migration safety, performance, prompt injection, data correctness, accessibility, payments, privacy, or package publishing.
Reviewer Output Contract
Each reviewer returns Markdown with this shape:
## <Reviewer Lane>
Verdict: BLOCK | CONCERNS | CLEAN
### Findings
1. ID: <stable lane-local id>
Severity: CRITICAL | WARNING | NOTE
Confidence: HIGH | MEDIUM | LOW
Target: `<path>` / `<symbol or line if known>`
Problem: <one sentence>
Evidence: <specific code path and why existing guards do not cover it>
Failure path: <input/event/state that triggers the issue>
Suggested fix: <concrete remediation>
### Probes That Survived
- <meaningful checks that did not produce findings>Severity rubric:
CRITICAL: merge-blocking correctness, data loss, security, or broken existing contract.WARNING: should be fixed, but not merge-blocking.NOTE: informational; never becomes an action item on its own.
If there are no findings, the reviewer still lists probes that survived.
Clustering And Validation
Cluster first, then validate clusters. Never run one validator per raw finding.
- Cluster candidate findings by root cause, not by file or reviewer.
- Drop clusters made only of NOTE-severity or evidence-free findings.
- Run one fresh readonly validator pass per remaining cluster.
- The validator's job is to kill the finding, not defend it.
Validator output:
## Validation
1. Cluster: <finding ids>
Disposition: action-item | omit | needs-human
Evidence: <code evidence for or against the finding>Use omit for disputed, unproven, or confirmed-but-trivial findings. Keep a
disputed finding only when the disagreement itself changes what the user should
decide.
Synthesis
The parent agent synthesizes. Do not paste raw reviewer reports.
- Convert
action-itemclusters into action items. - Route
needs-humanclusters to a human-decision bucket. - Rank by merge-blocking impact, then user risk, then maintenance cost.
Verdict mapping describes the final diff after any fixes:
BLOCK: at least one validated CRITICAL finding remains unfixed.CONCERNS: validated non-blocking action items or human decisions remain.CLEAN: no validated findings remain.
Iterative Hardening Loop
Use this loop by default when edits are in scope.
- Run reviewer lanes, clustering, validation, and synthesis.
- If validated action items remain and the local worktree is editable, fix them.
- Run targeted checks for touched surfaces.
- Refresh the packet and append a disposition ledger:
- fixed, with fix location;
- omitted, with killing evidence;
- needs-human, with the decision needed.
- Rerun only lanes that produced a validated finding or whose surfaces the fix touched.
- Stop at a terminal state.
Terminal states:
clean: fresh review leaves no validated actionable findings.human-decision: remaining findings require product, architecture, rollout, or risk-tolerance decisions.broad-refactor-required: credible fix exceeds the requested scope; name the subsystem boundary and why a local fix would be misleading.report-only-requested: user explicitly requested readonly review.cycle-cap-reached: three full cycles ran and validated findings remain.
Final Report
Use this shape:
## Independent Critical Review
Verdict: BLOCK | CONCERNS | CLEAN
### Action Items
**Before merge**
- <owner action> in `<path>` / `<symbol>` because <validated risk>.
**Verification**
- <test, check, or manual verification needed>.
**Needs human decision**
- <decision and why code alone cannot answer it>.
### Findings
1. **CRITICAL | WARNING | NOTE** - `<path>` / `<symbol>`
<problem and failure path>
Evidence: <why this survived validation>
Suggested fix: <concrete remediation>
### Coverage
- Scope reviewed: <diff/path/PR>
- Lanes run: <lanes>
- Lanes intentionally skipped: <lanes and why>
- Validation: <commands or checks>If no findings survive, say so directly and include the probes that mattered.
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.

