/harness-craft:calibrated-verificationfrom harness-craft
Every verification script, test, scanner, or matcher must ship with a calibration pair — a known positive it provably catches and a negative control it provably passes — and must print its denominator (scanned N / matched M / dropped K). "All clean" from an uncalibrated checker is indistinguishable from a broken checker. USE WHEN writing or running any detector-shaped artifact: a doc-vs-source matcher, an audit script, a migration verifier, a scrubber, a grep-based sweep — and ESPECIALLY before asserting a negative ("no matches", "no references", "all clean", "0 findings") from its output. SKIP when the tool's output is directly the deliverable (not a judgment about presence/absence).
Ships in harness-craft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A separate skill, not a section in skill-tdd: skill-tdd fires when you
author a SKILL.md; this rule must fire when you author or trust any
checker, which happens far more often and in different contexts. A rule
filed under the wrong trigger never loads. Per skill-tdd's own
structural-first gate this stays a skill (not a hook): "does this test seed
a known positive" is a judgment call with no machine-checkable predicate.
The machine-checkable half of #281 — negative claims in docs without a
denominator — IS a hook: harness-core/hooks/negative_claim_advisor.sh.
A CHECKER THAT HAS NEVER CAUGHT A PLANTED DEFECT HAS NEVER BEEN SEEN WORKING.
"ALL CLEAN" IS ALSO WHAT A BROKEN DETECTOR PRINTS.
tests/test_doc_listings_match_rom.py::test_calibration_detector_catches_known_positives.Prior art in this repo: gh #363 (a gate that raised before ever querying
had "never once run green" — check_psycopg_placeholders.sh header), and
plugins/harness-core/tests/test_negative_claim_advisor.sh (ADVISE cases +
SILENT controls + logged firings as the denominator).
| Excuse | Reality |
|---|---|
| "The checker is 10 lines, it can't be wrong" | The mask-width bug was one constant. Size caps neither blast radius nor plausibility. |
| "All clean — done" | All clean is the checker's failure mode too. Prove it can fail before believing it passed. |
| "N reviewers agreed with the result" | Reviewers of the same tool's output share its blind spot. Review is only independent when the instrument differs. |
| "I'll add the calibration case later" | Later = after the negative claim shipped. The claim is being made NOW. |
| "Printing counts is noise" | The denominator is the difference between "0 found" and "0 found in the half we could see". |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/atomized-briefingWrite an implementation plan / worker briefing as atomized 2-5 minute
steps with exact file paths, explicit Consumes/Produces interfaces, and
zero placeholders — so a context-free executor (formation worker, spawned
subagent, or future you) can run it without re-deriving intent.
USE WHEN briefing a formation worker, dispatching subagents over a
multi-task plan, or writing any plan another session will execute.
SKIP for single-task work you will execute yourself in this session.
/root-cause-debuggingFour-phase debugging protocol with one Iron Law: no fix without root-cause
investigation first. Includes the 3-failed-fixes circuit breaker that
escalates from "try another patch" to "question the architecture".
USE WHEN hitting any bug, test failure, or unexpected behavior — and
ESPECIALLY under time pressure, when a "quick fix" seems obvious, or when
previous fixes didn't stick.
SKIP for none — simple bugs have root causes too.
/skill-tddAuthor or edit an agent skill using the TDD loop: run a baseline pressure
scenario WITHOUT the skill (RED), write the minimal skill that fixes the
observed failure (GREEN), then close the loopholes agents actually used
(REFACTOR).
USE WHEN creating a new SKILL.md, editing an existing one, or when a
deployed skill is being ignored / rationalized around by agents.
SKIP when the rule is mechanically enforceable — write a hook, not a skill
(see Structural-first gate below).
npx claudepluginhub hrmtz/claude-harness --plugin harness-craft