adversarial-validation
Skill4 starsChanged 38 days agoApache-2.0View on GitHub
Review nanace diffs or designs for explicit adversarial requests, high-risk changes under the repository review policy, or substantial PR reviews. Skip ordinary questions, diagnosis, planning, status, routine low-risk implementation, and prose with no execution effect.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- issue-triageSkill
- pr-reviewSkill
- security-advisory-lessonsSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
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 8
Use the repository risk tiers and review shape.
- Distinctive: line 13
Read only the references required by the diff:
- Distinctive: line 25
Do not read all references as a precaution.
- Distinctive: line 35
Run the review shape required by the repository risk tier.
- Distinctive: line 42
After a non-trivial edit, rerun only lenses affected by that edit against the new exact diff.
- Distinctive: line 45
Do not turn a null verdict into a long checklist.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
nanace Adversarial Validation
Use the repository risk tiers and review shape. This skill routes a review to nanace-specific probes without loading unrelated domains.
Select Lenses
Read only the references required by the diff:
| Lens | When to read |
| Correctness | Every non-exempt adversarial review |
| Simplicity | Mechanical/standard changes and production growth |
| Test coverage | Behavior or test changes |
| Security | Authn/authz, RBAC, RLS, tenancy, secrets, parsing, MCP, sync |
| Consistency/concurrency | PostgreSQL/Qdrant write ordering, transactions, locks, async shared state |
| Compatibility | API shape, migrations, Qdrant payload/collections, embedding model, JWT claims |
| Performance | Embedding, search, request hot paths, queries, pool usage |
Do not read all references as a precaution. A path name alone is insufficient; the changed behavior must touch the lens's domain.
For a dedicated security audit, use security-advisory-lessons instead of
loading it automatically during every adversarial review.
Review Protocol
- Freeze the exact final diff/head (or the design under review) and list the selected lenses.
- Run the review shape required by the repository risk tier.
- For each selected lens, either report a concrete finding or a null verdict naming the attacks performed.
- Apply root
AGENTS.md's finding standard. Test each candidate against callers, existing coverage, and invariants before accepting it; an adversarial role does not have to produce a defect. - Fix or rebut supported findings with code-path, test, or invariant evidence.
- After a non-trivial edit, rerun only lenses affected by that edit against the new exact diff.
Do not turn a null verdict into a long checklist. Record concise evidence that the relevant failure classes were attacked, then stop under the root completion rule. Keep the required per-lens verdicts for high-risk PRs.
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.

