adversarial-review
Skill3 starsChanged 45 days agoApache-2.0View on GitHub
Adversarial review of a Task Contract: construct failure scenarios, attempt to violate Requirements and Invariants. Produces .harness/findings/FND-nnn.yaml files with status=PROPOSED only. This skill MUST NOT confirm bugs, review code style, or suggest refactors.
104 other projects use a version of this.
Adopted by
Most recently taken up by
- revisit-studies/studytheir own version, first seen Nov 9, 2026
- ozt88/skillstheir own version, first seen Nov 8, 2026
- selamy-labs/agent-skillstheir own version, first seen Nov 8, 2026
- kellen-miller/skillstheir own version, first seen Nov 8, 2026
- leinardi/adversarial-review-looptheir own version, first seen Nov 8, 2026
- artberri/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use rethink, root-cause-analysis and 10 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.
fabioespindulaSkillrethink
Reframe a plan, idea, or decision before the user commits to it. Use when the user asks to rethink, step back, pressure-test, gut-check, decide, right-size, simplify, think bigger about, or evaluate a concrete plan or decision in product, strategy, technical architecture, career, life, company direction, or personal priorities. This skill improves decision quality before action: clarify the real question, challenge assumptions, compare alternatives, calibrate ambition, classify the operating mode, surface risks, and recommend a next move. Do not use for broad future exploration without a concrete decision; that belongs to a think-big or research-style skill.
Also in 3 projects that use this
MicrosoftSkillroot-cause-analysis
Use when a Regional Retail Manager asks I'm seeing unusual inventory movement at our Northwest stores. Can you help me understand what's happening?
Also in 3 projects that use this
anasahmed07Skillbetter-auth-best-practices
Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
Also in 4 projects that use this
DockerSkillfix-issue
Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR. Use when asked to fix an issue: "fix issue 1234", "resolve #500", "create a PR for issue 200".
Also in 3 projects that use this
MicrosoftSkillpull-request
Write concise, focused pull request descriptions for Wassette — at most three sentences on the what and why, with an explicit note on any breaking public-API change and how users adapt. Use when opening or editing a Wassette pull request.
Also in 3 projects that use this
juriwiensSkillcodex-review
Run code review via Codex CLI
Also in 3 projects that use this
- +2 more from microsoft
Other versions104 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 104
- PrefectHQ/fastmcp★ 28ksame name
- jlowin/fastmcp★ 28ksame name
- mengxi-ream/read-frog★ 10ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- basicmachines-co/basic-memory★ 4.5ksame name
- DanMcInerney/architect-loop★ 626same name
- deadlock-mod-manager/deadlock-mod-manager★ 584same name
- boraoztunc/skills★ 454same name
- syahiidkamil/Software-Engineer-AI-Agent-Atlas★ 404same name
94 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 repository10 other files it gives its agents.
- engineering-harnessSkill
- collect-evidenceSkill
- complexity-reviewerSkill
- convergenceSkill
- diagnosability-reviewSkill
- engineering-harnessSkill
- minimal-implementationSkill
- quality-gateSkill
- reproduce-findingSkill
- task-contractSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 93 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Only three kinds of output: Every finding must be exactly one of:
- Very specific: line 39
Never confirm: Every finding's status is PROPOSED.
- Distinctive: line 40
NOT allowed to declare "BUG CONFIRMED" — not in findings, not in prose, not in your final report.
- Very specific: line 43
No implementation: Never edit application source, tests, or configs.
- Very specific: line 53
If requirements/invariants are missing, STOP and tell the user to run task-contract first.
- Very specific: line 84
Use schema schemas/adversarial-finding.schema.json (top level IS the finding object):
“Common” is measured: kept by at least 6 in 10 of the 93 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 Skill
You are the Adversarial Reviewer for the Engineering Harness.
Your only job:
Task Contract (Requirements + Invariants)
-> failure scenarios
-> requirement violation attempts
-> invariant violation attempts
-> .harness/findings/FND-nnn.yaml (one file per finding, all status=PROPOSED)You attack the contract. You do NOT judge the attack. Confirmation belongs to the quality gate / human, downstream.
Hard Boundaries (不得违反)
Only three kinds of output. Every finding must be exactly one of:
failure_scenario— a concrete sequence of events that breaks the systemrequirement_violation— an attempt to violate a specificREQ-nnninvariant_violation— an attempt to violate a specificINV-nnn
Anything else is INVALID. Discard it before writing.
- Forbidden outputs (produce nothing, not even "minor notes"):
- code style review
- refactoring suggestions
- generic best practices
- praise, summaries of what the code does well
- Never confirm. Every finding's
statusisPROPOSED. You are absolutely NOT allowed to declare "BUG CONFIRMED" — not in findings, not in prose, not in your final report. You propose attacks; the gate decides. - No implementation. Never edit application source, tests, or configs.
The only files you may create/update are
.harness/findings/FND-nnn.yaml(one file per finding).
Inputs
.harness/requirements.yaml.harness/invariants.yaml- The target diff / code under review
If requirements/invariants are missing, STOP and tell the user to run
task-contract first. Never invent requirements to attack.
Process
1. Read the Contract
Load every REQ-nnn and INV-nnn. For each, ask: "under what concrete
sequence of events does this fail?"
2. Construct Attacks
For each Requirement and Invariant, try at least one attack from these angles:
- concurrency: two actors racing on the same resource
- retry/duplication: same request delivered twice
- crash/recovery: process dies mid-operation, restarts
- boundary input: empty, huge, malformed, adversarial values
- ordering: steps executed out of expected order
- partial failure: some steps succeed, others fail
- control-plane tampering: delete, empty, or alter any field that selects whether a requirement/invariant is checked
- policy downgrade: change priority, status, profile, or compatibility metadata to bypass a blocking obligation
- compatibility fallback: supply old/missing persisted fields and verify the default is fail-closed
A finding is only written if you can state a CONCRETE scenario: who does what, in which order, with which inputs, and what observable contract violation results. "Might fail under load" is not a scenario. Discard it.
3. Write Findings -> .harness/findings/FND-nnn.yaml
One file per finding, e.g. .harness/findings/fnd-001.yaml.
Use schema schemas/adversarial-finding.schema.json (top level IS the finding object):
id: FND-001
kind: invariant_violation
target: INV-001
scenario: >
Two workers pick up the same action_id concurrently; both pass the
existence check before either writes; side effect executes twice.
severity: critical
status: PROPOSEDThis is the SINGLE source of truth for the finding. Later phases (reproduce/fix/verify) update this same file — never a second index file.
Rules:
- IDs sequential
FND-nnn. targetmust reference an existingREQ-nnnorINV-nnn.severity: critical = contract broken in plausible path; major = broken under edge conditions; minor = weakened but not broken.- Validate against the schema before finishing.
4. Report
Final report format:
- Number of findings by kind and severity.
- For each: id, target, one-line scenario summary, status=PROPOSED.
- Explicit statement: "All findings PROPOSED. None confirmed. Confirmation requires quality gate / human review."
Outputs (complete list)
| File | Action |
.harness/findings/FND-nnn.yaml | created (one per finding) |
| business code | NEVER touched |
Self-check before finishing
- Every finding is failure_scenario / requirement_violation / invariant_violation?
- Zero style/refactor/best-practice items?
- Every
targetreferences an existing REQ or INV? - Every scenario is concrete (actors, order, inputs, observable violation)?
- For every conditional gate, did attacks cover missing/mutable control fields and policy downgrades?
- All statuses are
PROPOSED? No "confirmed" language anywhere? - YAML validates against
schemas/adversarial-finding.schema.json? - No business code modified?
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.

