AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Verification That Can Fail

skill-yuxiang-ma-agent-skills-verification-that-can-fail · by Yuxiang-Ma

This skill should be used whenever you are about to trust a green check — a passing test suite, a regression harness, a comparison script, an eval — and especially before claiming work is done. Use it when the user asks "is this actually working?", "validate our results", or when a verification passes on the first try.

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-yuxiang-ma-agent-skills-verification-that-can-fail

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution Used
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-yuxiang-ma-agent-skills-verification-that-can-fail)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
24d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Verification That Can Fail? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Verification That Can Fail

A check you have never seen fail is not evidence. Most bad verifications do not report failure — they report success, on a criterion that could not have distinguished the outcomes you care about.

Across one long refactor, defects in the verification outnumbered defects in the code under test by roughly six to one. Every one surfaced as green.

Core rules

  1. Confirm the criterion can discriminate. Before believing a passing

comparison, ask what a failure would have looked like and whether the statistic could express it. Comparing kept-row sets was meaningless where the join key was non-unique: 166,104 rows collapsed to 31,096 keys, so matching the key set was equally consistent with emitting either count. Check uniqueness, cardinality, or variance of the quantity you compare.

  1. Watch for thresholds that are trivially satisfiable. "Difference ≤ the

observed maximum" clears almost anything when the spread is wide. Report where a result falls in the reference distribution — below its floor, inside it, above its ceiling — so a marginal pass cannot read as a strong one.

  1. Red-green every regression test. Write it, watch it pass, then

reintroduce the exact defect and watch it fail, then restore. A test added after a fix has never demonstrated it can detect anything.

  1. Mutation-test the suite on the logic that matters. Inject real defects

into the load-bearing functions — invert a comparison, drop a column from a schema, replace a masked mean with an unmasked one, "correct" a deliberately odd expression — and confirm the suite goes red for each. Uncaught mutations name the exact coverage you lack.

  1. Guard the guard. Any check built on parsing (a regex over a doc, a

glob over a directory, a scrape of a report) must first assert it matched something. When the format changes, the parser silently matches nothing and every dependent assertion passes vacuously.

  1. Evidence must postdate the code it validates. After changing a shared

function, previously-recorded results no longer apply, however behaviour-preserving the change looked. Two sources' "exact match" evidence predated an optimisation of the filter they depend on; a bit-identity unit test on random arrays existed, but it is not an end-to-end result on real data. Check the ordering mechanically (git log on the dependency versus when the result was produced), not by memory.

  1. A failing exit code is not a failing test. A run that died of a full

disk, an OOM, or a lost output file tells you nothing about the thing under test. Read the actual output before diagnosing; treating an environment failure as a product failure sends you hunting a bug that does not exist while the real problem stays unfixed.

  1. Name what a pass actually establishes. Not every verification is the

same strength. Distinguish exact row-level equality from set equality on a non-unique key, and both from "consistent with an unrecoverable random seed". An unqualified PASS spanning a mixture of these voids whatever grading scheme you built.

Tests that look like coverage but are not

  • A test named for a case its fixture never produces. One asserting

"difference falls inside the spread" was built with numbers that put it below the floor — green forever, and it never exercised its own name. When a test passes immediately, verify the fixture reaches the intended regime before moving on.

  • An empty parametrisation. Removing the last entry from the list driving

@parametrize leaves a test that skips silently and still reads as a test.

  • A unit test standing in for an integration path. Six tests covering a

function's pure logic passed while the CLI wrapping it could not complete a single real invocation, because the registry it needed was populated only in a subprocess.

  • A verifier that shares code with the thing it verifies. It will agree

with a shared bug. Re-check with an independent implementation.

Before claiming completion

Run the command, read the output, count the failures — in this message, not from memory of an earlier run. Then state the claim with the evidence attached. "Should pass", "the agent reported success", and "it passed earlier" are not verification, and the delta between them and a fresh run is exactly where this skill earns its cost.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.