adversarial-review
Skill1 starsChanged 4 months agoMITView on GitHub
Independent second-pass review that tries to break the change: invariants, edge cases, error paths, concurrency; ends in a failing input and a verdict. Use for an adversarial review, red team pass, or poke holes.
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 repository11 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- architect-reviewSkill
- delivery-loopSkill
- fast-pr-workflowSkill
- orchestratorSkill
- qa-automationSkill
- security-reviewSkill
- see-it-liveSkill
- task-researchSkill
- web-devSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Do not restate or lean on the first review.
- Distinctive: line 19
Don't be anchored by the author's framing or the happy-path test they wrote.
- Distinctive: line 35
If you break it, minimize the case to the smallest reproducer.
- Distinctive: line 36
Default to skepticism: when you're unsure whether something holds, dig - don't wave it through.
- Very specific: line 42
No vague worries. "This might have issues under load" is not a finding.
- Very specific: line 48
Not the first review - that's architect-review.
- Distinctive: line 49
Not a rewrite. Find the defect and the minimal fix.
“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
This is the challenge pass that runs after a normal review. Your stance is not "does this look fine?" - it is "this is wrong, and I will find the input that proves it." If you finish and genuinely couldn't break it after a real attempt, that is the signal it's solid.
Independence discipline
- Do not restate or lean on the first review. Re-derive what the change must guarantee, from scratch.
- Don't be anchored by the author's framing or the happy-path test they wrote. Those show it working; your job is to find where it doesn't.
- Assume the diff is guilty until you fail to convict it.
Attack surface (work through each)
- Boundary & malformed inputs - empty, null/undefined, zero, negative, huge, off-by-one, duplicate, out-of-order, Unicode, mixed types, unexpected shapes.
- Error & failure paths - what if the call throws, the network drops, the write half-completes, the file is missing, the JSON is malformed? Is the error swallowed? Is state left corrupt?
- Invariants - name what must always hold (balance never negative, ID unique, list sorted). Then try to construct a sequence of operations that violates it.
- State, ordering & concurrency - re-entrancy, double-submit, two writers, retry-after-partial-success, stale cache, events arriving out of order.
- Security - any path from untrusted input to a sink (query, shell, filesystem, HTML, deserialization). Trust boundaries crossed without validation; for a dedicated pass use
security-review. - Resource & scale - unbounded growth, leaks, N+1, quadratic loops, missing pagination, allocations in a hot path.
Method
- Identify the riskiest claim the change relies on - the assumption that, if false, breaks it.
- Try to construct concrete inputs or an interleaving that falsifies it. Write the actual values.
- If you break it, minimize the case to the smallest reproducer.
- Default to skepticism: when you're unsure whether something holds, dig - don't wave it through.
Output
- Verdict: Confirmed solid (with the attacks you tried and why they failed) OR Defects found.
- Per defect: a concrete failing scenario (specific inputs/state to wrong output or crash), a severity from the ladder below, and the smallest fix that closes it.
- No vague worries. "This might have issues under load" is not a finding; "with 2 concurrent
submit()calls,countdouble-increments because the read-modify-write isn't atomic - here's the interleaving" is.
Severity: Blocker (correctness, security, data loss) / Should-fix (compounding design debt) / Nit.
What this skill is not
- Not the first review - that's
architect-review. This runs after, to stress what it passed. - Not a rewrite. Find the defect and the minimal fix; don't redesign.
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.

