agentleFS
phatnguyen03022001phatnguyen03022001/agent-skills/verification/SKILL.md

verification

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Use when a change needs a testing and evidence strategy, regression proof, acceptance checks, contract tests, invariant tests, or confidence before completion or release.

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use evidence-driven-writing, experiment-results-planning 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.
  • Norman-burySkill

    evidence-driven-writing

    Use when writing or revising Introduction, Related Work, background, literature synthesis, or any section where references must drive claims

    Also in 3 projects that use this

  • Norman-burySkill

    experiment-results-planning

    Use when designing experiments, result tables, mock planning data, evaluation protocols, or results sections before real data are final

    Also in 3 projects that use this

  • +10 more from Norman-bury

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 1

    Distinctive

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

    Before declaring contract satisfaction, require evidence for every criterion, record skipped/substituted checks, and surface residual …

    line 54
  2. Very specific:

    Use debugging to find the cause of a failing check.

    line 56

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

Design evidence that would fail when the required behavior is wrong.

Start from risk and acceptance

Map each acceptance criterion and important invariant to the cheapest reliable evidence. Choose test level by the failure being prevented, not by habit.

Useful methods include:

  • focused unit tests for local deterministic behavior;
  • regression tests that reproduce a bug before the fix where practical;
  • characterization tests before risky legacy changes;
  • integration tests for boundaries that mocks cannot prove;
  • contract tests for independently changing producers/consumers;
  • property-based or fuzz tests for broad invariants and input spaces;
  • end-to-end tests for critical user/system paths;
  • static analysis, schema validation, reproducible build checks, or runtime probes when they test the actual requirement.

TDD is useful when behavior can be expressed before implementation and feedback is fast. It is a method inside verification, not a ritual required for every configuration, migration, generated artifact, or exploratory task.

Bounded deterministic execution bundles

When several required checks are deterministic and independent, they may share one EXECUTION BUNDLE: one bounded runtime invocation containing multiple jobs and one compact attributable JOIN result. Parallelize only a subset proven to have no shared mutable state, no ordering dependency, no conflicting externally rate-limited dependency, no material resource contention, and independently attributable results. Otherwise serialize the affected jobs inside or outside the bundle. Publication/ref mutation, migrations, shared databases/ports/temp/cache writes, and final mutation gates are serial.

The JOIN must preserve per-job identity and result; one failed job cannot be hidden by aggregate success. Bundling changes synchronization cost, not the assurance predicate set.

Focused versus full suites

When a mandatory full suite semantically subsumes a focused suite, run the mandatory full suite directly on the happy path. Do not spend an extra synchronization boundary on focused-before-full ceremony. The focused suite becomes a diagnostic after failure unless it has distinct acceptance authority or proves a predicate the full suite does not cover. Separately authoritative focused checks remain mandatory.

Evidence quality

A check should have a clear failure meaning. Verify that new tests can fail for the defect they claim to detect; a permanently green test is decoration. Avoid assertions tied only to implementation details, mocks that prove their own setup, and broad suites used as a substitute for a targeted causal test.

For nondeterministic systems, control time/randomness/environment where possible and define tolerances or repeated measurement honestly.

Separate:

  • implementation checks run by the Executor;
  • integration/CI evidence;
  • acceptance evidence;
  • project-designated authoritative verification.

Passing Git or CI mechanics is not proof that the intended change exists.

Completion

Before declaring contract satisfaction, require evidence for every criterion, record skipped/substituted checks, and surface residual uncertainty. Failed mandatory checks block a clean result unless the Architect revises the contract.

Use debugging to find the cause of a failing check. Use reliability when verification must cover production recovery or fault behavior. Use security-review for security-specific negative tests and threat validation.

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.