adversarial-review
Skill2 starsChanged 4 months agoMITView on GitHub
Use when plans, implementation diffs, docs, migrations, tests, or other work products need an independent critique before execution, finalization, or acceptance; especially for complex, high-risk, security-sensitive, production, data, billing, auth, or architecture changes.
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, simplify 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
Hugging FaceSkillsimplify
Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.
Also in 4 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
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 repository3 other files it gives its agents.
- explain-implementationSkill
- frontend-designSkill
- grill-plan-buildSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
8
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 14
Run one fresh reviewer against a compact artifact packet for the boundary the caller selected.
- Distinctive: line 22
When invoked standalone without parent workers, the current agent owns boundary selection, evidence verification, bounded fixes, …
- Distinctive: line 42
Use a suitable reviewer from a different provider when either a native or external mechanism is available.
- Distinctive: line 44
Use a fresh isolated session from the same provider only after recording that no suitable different-provider mechanism exists or that an …
- Distinctive: line 49
Use the current authoring session only as a last resort.
- Distinctive: line 51
Do not launch a same-provider reviewer before completing and recording the cross-provider inventory.
- Distinctive: line 62
Start with the selected worktree, work item, diff, validation evidence, known risks, and explicit compatibility requirements.
- Very specific: line 84
If there is no work item, store it under .agent/adversarial/ or return it inline when the repository has no suitable artifact directory.
- Distinctive: line 130
Treat every finding as a claim.
“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
Core Contract
Run one fresh reviewer against a compact artifact packet for the boundary the caller selected. Use a reviewer from a different provider than the author whenever a suitable native or external mechanism is available. Cross-provider review is the default requirement, not a soft preference. Keep the reviewer read-only: the main agent verifies each claim against repository or runtime evidence, directs implementers to fix valid findings, integrates the changes, and accepts the result.
When invoked standalone without parent workers, the current agent owns boundary selection, evidence verification, bounded fixes, integration, and acceptance; the independent reviewer remains read-only. Before plan approval, honor an explicitly requested plan review. If the caller has not selected a review, use a planning packet only when architecture, security, data, migration, or other consequential design risk warrants critique; UI scope alone does not require one. One completed review is the default for a selected boundary. A focused follow-up is allowed only when concrete changed evidence introduces new risk or invalidates the prior conclusion; review that changed surface and new evidence instead of repeating the full review. Do not spawn nested reviewers by default. Critical risk may increase capability or reasoning effort, but does not by itself add reviewers.
Reviewer Selection
- Determine the author provider when exposed by the runtime.
- Discover native provider-aware subagents, then read
references/provider-reviewers.mdand inventory its installed external adapters before selecting a fallback. Absence from the native subagent picker does not establish that another provider is unavailable. - Use a suitable reviewer from a different provider when either a native or external mechanism is available.
- Use a fresh isolated session from the same provider only after recording that no suitable different-provider mechanism exists or that an available mechanism failed its bounded availability check or review invocation.
- Otherwise use another fresh reviewer available in the current provider and record reduced independence.
- Use the current authoring session only as a last resort.
Do not launch a same-provider reviewer before completing and recording the cross-provider inventory. If one is launched prematurely, stop it before it returns a completed status and continue with the cross-provider path; an interrupted launch does not consume the selected review event.
Record unavailable evidence or provider capacity. Missing cross-provider capacity is not automatically blocking for standard or elevated work; the caller decides whether critical work requires a waiver.
Scope And Inputs
Start with the selected worktree, work item, diff, validation evidence, known risks, and explicit compatibility requirements. Expand to adjacent repositories, web, browser, or MCP evidence only when a concrete claim requires it, and record the expansion. Keep the review read-only.
Give the reviewer a compact launch packet:
- goal, constraints, non-goals, and success criteria
- paths to produced artifacts
- relevant diffs, commits, or
git status --short - validation commands and results
- known open questions, skipped checks, and residual risks
- explicit compatibility requirements, if any
- for implementation review, the planning artifacts and prior review findings
Store output near the work item when possible:
.agent/work/<slug>/adversarial/plan-review.md
.agent/work/<slug>/adversarial/implementation-review.mdIf there is no work item, store it under .agent/adversarial/ or return it
inline when the repository has no suitable artifact directory.
Compatibility Policy
Backwards compatibility is not a default virtue. Do not ask reviewers to preserve old names, legacy output shapes, aliases, shims, dual paths, migration scaffolding, or deprecation wrappers unless the review packet names an explicit public contract, production data constraint, rollout requirement, or user instruction. Flag unnecessary compatibility scaffolding as code noise when it makes the result worse.
Findings Contract
Report only issues that could change the plan, implementation, validation, or release decision. Include severity, artifact/path, evidence, impact, and the next fix or check. Do not reward issue count and do not report nits merely to produce findings.
End with:
---ADVERSARIAL_REVIEW_STATUS---
AUTHOR_PROVIDER: <provider | unknown>
REVIEWER_PROVIDER: <provider | unknown>
REVIEWER_MODEL: <model | unknown>
INDEPENDENCE: cross_provider | fresh_same_provider | fresh_unknown | current_session
ISSUES_FOUND: <number>
CRITICAL_COUNT: <number>
HIGH_COUNT: <number>
MEDIUM_COUNT: <number>
LOW_COUNT: <number>
CONFIDENCE: HIGH | MEDIUM | LOW
BLOCKING: true | false
SUMMARY: <one line>
---END_ADVERSARIAL_REVIEW_STATUS---The review prompt must prohibit file mutations, external-system changes, pushes, pull requests, and state-changing commands. It must limit Bash to inspection commands. Confirm the saved review contains the exact status delimiter before accepting it. Keep available streaming output with the review when possible as an audit trail.
Handling Findings
Treat every finding as a claim. The main agent verifies it, directs implementers to fix valid bounded issues, updates planning artifacts when intent or risk changes, rejects unsupported compatibility requests, integrates the verified changes, reruns relevant validation, and records the disposition. Request a focused follow-up only under the changed-evidence rule in Core Contract; do not repeat a full review merely because findings were critical or the implementer made a fix.
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.

