agentleFS
sanand0sanand0/skills/verification-gate/SKILL.md

verification-gate

Skill1 starsChanged 21 days agoMITView on GitHub

Run this by default as the final step after any non-trivial workflow - analysis, code, data work, a plan, a factual answer, a deliverable - before presenting it, even when not explicitly asked to verify. Skip it for trivial lookups, chitchat, and pure-tone tasks where there is nothing to be wrong about.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test-strategy and frontend-design.

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.
  • jarosser06Skill

    test-strategy

    Plans pytest test strategies for Drift's 90%+ coverage requirement using coverage analysis, edge case identification, and test suite design. Use when determining what tests to write, analyzing coverage gaps, or planning test strategies.

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If it's unfalsifiable or trivial, skip.

    line 9
  2. Distinctive:

    If it's high stakes or irreversibile, go deep.

    line 10
  3. Distinctive:

    If the task never defined what does _not_ count, infer the 2-3 tempting false victories and confirm the answer is not one.

    line 15
  4. Distinctive:

    Check against a multiple yes/no with reason checklist, not a single score or comparison.

    line 18
  5. Distinctive:

    If possible, swap A/B order (or score both ways), don't reward length, use a different-family judge, hide biasing labels, etc.

    line 46
  6. Distinctive:

    Verify the critical units.

    line 62
  7. Distinctive:

    Prefer execution / source / recompute over "this looks right."

    line 64
  8. Distinctive:

    Check intermediate errors and whether the final report faithfully represents what actually ran.

    line 70
  9. Distinctive:

    If defensible analytical choices could change the conclusion, run stability-check.

    line 73

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

Verification is not re-reading to evaluate. It's getting an INDEPENDENT SIGNAL and changing only validated defects.

  1. Scope it. If it's unfalsifiable or trivial, skip. If it's high stakes or irreversibile, go deep. Focus on the few claims the conclusion mainly depends on.
  2. Reconstruct the spec - before checking the answer is right, check it answers the question. List the explicit asks, every stated constraint, and the implied success criteria. The most common failure is not being wrong but answering a nearby/easier question, or silently dropping a constraint. Flag any ask unmet or constraint dropped. If the task never defined what does not count, infer the 2-3 tempting false victories and confirm the answer is not one. If it is, say so and name the exact remaining gap instead of smoothing it over.
  3. Decompose into checkable units. Check against a multiple yes/no with reason checklist, not a single score or comparison. Split the output into atomic pieces: each number, factual claim, citation, code path, named entity (API / function / field / person), and critical logical step. Tag each VERIFIABLE (has ground truth) or JUDGMENT (defensible, not provable).
  4. Get an independent signal for every VERIFIABLE unit - re-derive, don't re-read.

    • Code / data: run it. Execute, hit edge cases, confirm it actually produces the claimed output. Recompute key numbers a second way.
    • Facts / citations: refetch the source and confirm it says what you claim - not merely that it exists. Half-remembered and fabricated citations are the default failure here.
    • Arithmetic / units / conversions: recompute independently; check dimensions.
    • Names / identifiers: confirm the API, function, field, or spelling exists as written.

    A second different route, or ground truth, counts. If all you can do is re-read and feel sure, it is unverified - mark it that way, don't launder it into "checked."

  5. Hunt the known failure modes - don't ask "is this good?", try to find specific defects.

    For example, actively look for an instance of each: overclaiming past the evidence; stale fact (changed since cutoff); off-by-one or unhandled edge case; reversed causality or direction; plausible-but-wrong specific (exact figure, date, name); internal contradiction; an ambiguity you resolved silently in your own favor; someone always wins over many noisy tries; a renamed hard part - an equal-difficulty subproblem labeled "routine", "the key", or "remaining work".

    This list is the floor: name the domain's own three most likely defects (judge position bias, leaked benchmark, unfair denominator, race condition, ...) and hunt those too.

  6. Question the judge. You (and any human/LLM judge) may prefer the first option, longer answers, own family's style, and whatever is labelled "reference/human/baseline", etc. If possible, swap A/B order (or score both ways), don't reward length, use a different-family judge, hide biasing labels, etc. (Sanity-check the judge on an obviously wrong answer first. If it passes that, the judge is broken.)
  7. Stress-test JUDGMENT units. You can't prove them - try to break them: the strongest counterargument, "what would have to be true," one disconfirming case. Down-rank anything that doesn't survive.
  8. Fix only identified defects - then re-verify the fix. Revise only where steps 1-5 named a concrete defect with evidence. Found no error > leave it exactly as is; editing on a hunch usually injects error. Every changed unit is a new unit - run it back through step 3.
  9. Report calibrated. State what you checked and how (executed / sourced / recomputed vs. merely reasoned), what survived, and what is still uncertain or unverified. Confidence tracks the weakest critical unit, not the average. A clean pass is a real result - say "checked X, Y, Z; holds" plainly. Never report "verified" for anything you only re-read.

Hard rules:

  • Re-derive, don't re-read. A second route or ground truth, or it stays unverified.
  • Change only what you can name a defect for. Found no error > change nothing.
  • Verify the critical units; confidence = weakest link, not the average.
  • Did it answer the question and keep every constraint? Check that before correctness.
  • Prefer execution / source / recompute over "this looks right."
  • "Unverified" is an honest, valid output. Don't manufacture problems to look thorough, and don't launder a hunch into a check.
  • Proportional and bounded: stop once the critical units are checked. Don't loop.

For agent-produced work, audit the execution trace, not just the final answer. Trace every critical result to an executed computation, source, tool output, or artifact. Check intermediate errors and whether the final report faithfully represents what actually ran.

Reproducibility verifies this pipeline; it does NOT establish that other reasonable pipelines reach the same conclusion. If defensible analytical choices could change the conclusion, run stability-check.

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.