agentleFS
zenghurzenghur/skills/verifier/SKILL.md

verifier

Skill1 starsChanged 7 months agoMITView on GitHub

Verify code changes do what they should — adversarial testing

  • Installs packages

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 11

    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
  1. Distinctive:

    Use this skill when:

    line 24
  2. Distinctive:

    When: Every verification task — non-negotiable baseline

    line 37
  3. Distinctive:

    CRITICAL: Every verification step MUST produce evidence that proves execution:

    line 113
  4. Distinctive:

    After completing all verification steps, you MUST re-verify your own work:

    line 130
  5. Distinctive:

    Do NOT skip steps

    line 152
  6. Distinctive:

    Do NOT add unrequested checks

    line 153
  7. Distinctive:

    Do NOT assume what to test — the plan tells you

    line 154
  8. Distinctive:

    Read project's CLAUDE.md / README for build/test commands

    line 159
  9. Very specific:

    Go (primary): Check for golangci-lint in PATH first, then in $(go env GOPATH)/bin and $(go env GOBIN) — if found in any location, use it …

    line 163
  10. Very specific:

    Mandatory: If golangci-lint is unavailable (which returns empty and go install also fails), verifier must FAIL — lint step cannot be skipped

    line 164
  11. Distinctive:

    All verification plan steps executed

    line 170
  12. Distinctive:

    Every output includes timestamp and evidence file

    line 172
  13. Distinctive:

    All checks have Command run blocks

    line 176

“Common” is measured: kept by at least 6 in 10 of the 6 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.

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

Verifier

Overview

This skill provides progressive verification standards for any codebase. Verification is adversarial — your job is to try to break the implementation, not confirm it works.

Standards are organized into 4 levels, from minimal core workflow to complete reference material.

When to Use This Skill

Use this skill when:

  • Verifying code changes work correctly
  • Running verification plans from orchestrators
  • Testing frontend apps, backend APIs, or CLI tools
  • Setting up CI/CD verification pipelines
  • Performing security/authentication testing

Progressive Disclosure Levels

Level 1: Minimal — Core Workflow

When: Every verification task — non-negotiable baseline

  • Verification role definition
  • Universal baseline (build → test → lint)
  • Verification plan input format
  • Output format (PASS/FAIL/PARTIAL)
  • Cleanup procedures
  • Rationalization recognition

Level 2: Common — Daily Scenarios

When: Normal verification tasks (frontend, backend, CLI, auth flows)

Extends L1 with:

  • Browser automation (Playwright/Chromium)
  • Frontend verification flow (dev server, critical path, subresources)
  • Backend/API verification (response shape, error handling)
  • CLI verification (edge cases, exit codes)
  • Auth flow verification (form, token, OAuth, cookie)
  • Infrastructure verification (Terraform, K8s, Docker)
  • Database migration verification

Level 3: Advanced — Adversarial & Visual

When: Deep verification, finding edge cases, visual regression

Extends L1+L2 with:

  • Adversarial probes (concurrency, boundary values, idempotency)
  • Spot-check re-verification (validate reported PASS)
  • Visual screenshot comparison (PixelMatch, ImageMagick)
  • PARTIAL vs UNCERTAIN rules
  • Self-update procedures

Level 4: Reference — Setup & CI/CD

When: Setting up verification infrastructure

Reference material:

  • Asciinema recording (CLI session capture)
  • Continuous verification hooks (pre-commit, pre-push)
  • CI/CD integration (GitHub Actions, GitLab CI)
  • Hook installation and configuration
  • Init-Verifiers project setup process

Quick Access

ScenarioStart With
Every verificationL1 Minimal
Frontend appL1 + L2 Common
Backend APIL1 + L2 Common
Auth flowsL2 Common (Auth section)
Finding edge casesL3 Advanced (Adversarial Probes)
Visual regressionL3 Advanced (Visual Screenshot)
CI/CD setupL4 Reference
CLI recordingL4 Reference (Asciinema)
New projectL4 Reference (Init-Verifiers)

Core Principles

Adversarial Mindset

Your job is not to confirm the implementation works — it's to try to break it.

The two failure patterns:

  1. Verification avoidance — reading code, narrating, writing "PASS" without running anything
  2. Seduced by the first 80% — seeing polished UI or passing tests and declaring success

Your value is in the last 20%.

Evidence Chain (Anti-Cheating)

CRITICAL: Every verification step MUST produce evidence that proves execution:

RequirementWhy
Output to ./tmp/Evidence must be in project directory
Read back via Read toolProves file actually exists
Include timestampProves output is fresh, not reused
Evidence checklistMakes skipping steps visible
Cleanup after verificationNo artifacts left behind

Invalid evidence locations:

  • ❌ /tmp/ - not in project directory
  • ❌ No file - just inline output
  • ✅ ./tmp/verify-*.log - correct location

Mandatory Spot-Check Protocol

After completing all verification steps, you MUST re-verify your own work:

  1. Pick your most critical check (the one that proves the feature works)
  2. Re-run the exact command
  3. Compare outputs
  4. Report the comparison
### Spot-Check: Re-verification

**Command re-run:** curl -s http://localhost:3000/api/users > ./tmp/spotcheck.json

**Original output:** {"users": [{"id": 1}]}
**Re-run output:** {"users": [{"id": 1}]}
**Match:** ✅

If mismatch → Report FAIL immediately.

Follow the Plan Exactly

You receive a Verification Plan and execute it EXACTLY as written:

  • Do NOT skip steps
  • Do NOT add unrequested checks
  • Do NOT assume what to test — the plan tells you
  • Report results for EACH step

Universal Baseline (Always Required)

  1. Read project's CLAUDE.md / README for build/test commands
  2. Run the build — broken build = automatic FAIL
  3. Run the test suite — failing tests = automatic FAIL
  4. Run linters/type-checkers:
    • Go (primary): Check for golangci-lint in PATH first, then in $(go env GOPATH)/bin and $(go env GOBIN) — if found in any location, use it directly; if not found anywhere, install via go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest. Run golangci-lint run ./... — must pass, no violations allowed.
    • Mandatory: If golangci-lint is unavailable (which returns empty and go install also fails), verifier must FAIL — lint step cannot be skipped
    • Other languages: eslint, tsc, mypy, etc.
  5. Check for regressions

PASS Requirements

  • All verification plan steps executed
  • Evidence checklist completed (all ✅)
  • Every output includes timestamp and evidence file
  • Auth flows verified (if app requires login)
  • Subresources checked (not just HTML 200)
  • At least one adversarial probe with output
  • All checks have Command run blocks
  • Spot-check re-verification passed

FAIL Requirements

  • Exact error output
  • Reproduction steps
  • Expected vs Actual comparison

File Structure

verifier/
├── SKILL.md              # This file (main entry + layered index)
└── levels/
    ├── L1_minimal.md    # Core workflow (always required)
    ├── L2_common.md     # Daily verification scenarios
    ├── L3_advanced.md   # Adversarial probes & visual testing
    └── L4_reference.md  # CI/CD hooks & project setup

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.