agentleFS
felichitafelichita/nanace/.agents/skills/adversarial-validation/SKILL.md

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.

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
  1. Very specific:

    Use the repository risk tiers and review shape.

    line 8
  2. Distinctive:

    Read only the references required by the diff:

    line 13
  3. Distinctive:

    Do not read all references as a precaution.

    line 25
  4. Distinctive:

    Run the review shape required by the repository risk tier.

    line 35
  5. Distinctive:

    After a non-trivial edit, rerun only lenses affected by that edit against the new exact diff.

    line 42
  6. Distinctive:

    Do not turn a null verdict into a long checklist.

    line 45

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

LensWhen to read
CorrectnessEvery non-exempt adversarial review
SimplicityMechanical/standard changes and production growth
Test coverageBehavior or test changes
SecurityAuthn/authz, RBAC, RLS, tenancy, secrets, parsing, MCP, sync
Consistency/concurrencyPostgreSQL/Qdrant write ordering, transactions, locks, async shared state
CompatibilityAPI shape, migrations, Qdrant payload/collections, embedding model, JWT claims
PerformanceEmbedding, 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

  1. Freeze the exact final diff/head (or the design under review) and list the selected lenses.
  2. Run the review shape required by the repository risk tier.
  3. For each selected lens, either report a concrete finding or a null verdict naming the attacks performed.
  4. 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.
  5. Fix or rebut supported findings with code-path, test, or invariant evidence.
  6. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.