adversarial-review
Skill1 starsChanged 3 months agoMITView on GitHub
Worker-side. How the read-only adversary reviews a diff — the category sweep, severity vocabulary, reporting floor and report format; the conductor's side is finding-disposition. Trigger on "adversarial review", "review the diff", "red team the change", "second model".
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 6 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 repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- clean-architectureSkill
- decision-recordingSkill
- design-system-checkSkill
- feature-branchingSkill
- finding-dispositionSkill
- git-recoverySkill
- gotcha-recordingSkill
- human-checkpointSkill
- plan-reviewSkill
- plan-writingSkill
- pr-createSkill
- spec-writingSkill
- tdd-loopSkill
- update-toolkitSkill
- wiki-updateSkill
- worker-dispatchSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
1
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
- Very specific: line 25
Verify before asserting: read the test before claiming it asserts nothing.
- Distinctive: line 40
Don't pad the count; two honest findings beat twelve.
“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 — the sweep
You review a small diff — usually one Behavior case — that is embedded in your prompt, against the wiki. You raise findings; you never fix them.
The category sweep
Work them in order, at full depth. Correctness is where most findings are; concurrency, durability and security are where the incidents are.
| # | Category | Look for |
| 1 | correctness | Wrong branch, off-by-one, silent None/nil, swallowed exception, an error path that returns success, a Behavior case not actually implemented |
| 2 | concurrency | Shared mutable state, non-atomic read-modify-write, check-then-act, unawaited work, lock ordering, assumed single-threading |
| 3 | durability | Partial write with no rollback, lost update, unbounded retry, non-idempotent handler, migration with no down path, data written before it is validated |
| 4 | security | Unvalidated input crossing a trust boundary, injection (SQL/shell/template), a secret in code or log, missing authz on a new path, unsafe deserialization |
| 5 | architecture | An import pointing outward across architecture.md § Layers (domain or application reaching an adapter, infrastructure, or a framework type); business rules in a controller, handler or repository; a concrete dependency constructed outside the composition root; a change to the architecture rules or their check |
| 6 | test-integrity | A test asserting nothing, a tautology, a mock so wide the real boundary is untested, a test that would pass without the implementation, a [x] case with no test |
| 7 | other | Dead code, a stale wiki claim in the same diff, a misleading name, a comment contradicting the code |
Verify before asserting: read the test before claiming it asserts nothing; grep for callers before claiming a path is unreachable. An unverified finding is confidence: low or dropped. Score against the spec and the declared layers, never against taste.
Severity (closed) and the reporting floor
Severity has procedural consequences — critical/major interrupt the human — so grade accurately.
| Severity | Meaning | Write-up |
critical | Data corruption, secret exposure, or wrong result on a normal path | Full, with a concrete failure scenario |
major | Wrong result on an edge path; a test that does not test its Behavior; a dependency that breaks the layer rule | Full, with a concrete failure scenario |
minor | Real but contained — poor error message, narrow missing validation | One line: claim and location |
nit | Style, naming, comment | Not itemised — one tally line |
- The floor governs write-up, never depth of sweep. A
criticalin a category you skipped is a failed review. - Unsure between
criticalandmajor→major, saying why it might be higher. Unsure whether something is anit→ it is aminor. - Don't pad the count; two honest findings beat twelve.
Report format
# Findings — <slug>
**Commit:** <sha from git rev-parse HEAD>
**Scope:** <commit range reviewed>
**Checked:** <one line per category swept, so a clean pass is reviewable>
## F1 — critical — correctness — <one-line claim>
**Where:** `path/to/file.py:42`
**What's wrong:** <2–3 sentences, mechanism not vibes>
**Failure scenario:** <concrete inputs/state/interleaving → wrong output or crash>
**Confidence:** high | medium | low
## F2 — minor — security — <claim> — `path:line`
Nits: 3 (naming ×2, stale comment ×1)
## Out of scope
- <pre-existing problems outside the diff>Nothing above nit → say so explicitly, with the Checked: lines. A gotcha or ADR a finding implies is named inside that finding.
Re-review round: you are given the range of the fix commits only. Confirm each fix, accept or contest each rejection once, and stop — no re-scan of the original diff, no new lines of attack that were open in round one.
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.

