/hatch3r:hatch3r-testability-verifyfrom hatch3r
Verifies testability before commit/release by checking per-feature test mandates, coverage thresholds, mutation kill-rate, contract tests, property tests, determinism, and AI eval coverage.
Ships in hatch3r. 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.
This skill defines what "done" means for any feature shipping test code or a feature in a mandate-map class (parser, payment, RPC, state machine, UI, AI feature). Run before declaring a feature complete. The 8 gates below mix automated checks (machine-checkable on every PR) with one release-cadence gate (mutation kill rate at release-cut). Skipping any gate = the feature is not done. Passing unit tests and reviewer approval alone do not satisfy this bar — a feature in a mandate class without its mandated test shape ships untested risk.
Inputs the skill expects:
src/__tests__/, tests/, __tests__/, e2e/, test/, spec/.vitest.config.ts, jest.config.js, pyproject.toml, pom.xml, or .coveragerc.stryker.conf.json or pom.xml (when payment/auth/critical paths exist).pacts/, Schemathesis report) when service boundaries exist.evals/manifest.yaml, prompts/manifest.yaml) when LLM features ship.Outputs the skill produces: an 8-line verdict block written to the PR conversation, plus a JSON artifact at .audit-workspace/testability-verify-<sha>.json for downstream consumption by hatch3r-release.
Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Default path, not exception. Triggers for THIS skill: feature-surface class (parser vs payment vs RPC vs state machine vs UI vs AI), gate selection (coverage-threshold vs mandate-map vs AI-eval vs full), mock-justification budget (review all vs review new mocks only), mutation-test floor changes mid-cycle, and whether to block on Low-confidence findings.
Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.
This skill is the verification HARNESS — it declares HOW each testability gate is checked. The DISPATCHER that decides WHEN to run it is the CQ specialist agent:
agents/hatch3r-testability.md — invokes this skill as the closing testability gate (CQ5) on PRs modifying test code or features in a mandate-map class (a skill-invocation timing cue for the maintainer, not an agent-dispatch condition). The agent contributes the review trigger and Phase-4 dispatch; this skill contributes the 8-gate procedure.No duplication: the agent decides WHEN, this skill defines HOW.
rules/hatch3r-testing.md is present:
testdata/fuzz/;stryker.conf.json or pom.xml;pacts/ plus broker can-i-deploy gate;__snapshots__/.(integration-tests-without-mocks) / (total-integration-tests) ≥ 0.80.grep -rn "// MOCK:" <test-dir> plus framework-level helpers (vi.mock, jest.mock, unittest.mock.patch, mockito.when).// MOCK: <reason> comment + reviewer-acknowledged justification linked to a tracking issue.vitest.config.ts (or equivalent).vitest.config.ts / jest.config.js per-path threshold overrides) — not a fixed table.coverage/coverage-summary.json (Istanbul/v8) or coverage.xml (Cobertura).stryker run --incremental, read reports/mutation/mutation.json → metrics.mutationScore).mvn org.pitest:pitest-maven:mutationCoverage, read target/pit-reports/mutations.xml → mutationCoverage).critical-labelled paths per qaskills.sh 2026.fc.property(fc.<arb>, fn => { /* invariant */ })) or Hypothesis (@given(...)) test.// invariant: comment above the test.pact-broker can-i-deploy --pacticipant <svc> --version <sha> --to production).schemathesis run --checks all <openapi.yaml>) executed against staging.rules/hatch3r-contract-testing.md.gh run list --status failure --created ">=$(python3 -c 'from datetime import date, timedelta; print(date.today() - timedelta(days=30))')" --json conclusion,name,startedAt | jq '[.[] | select(.conclusion=="failure")] | length'.test.skip / test.todo / @pytest.mark.skip in perpetuity.All 8 gates pass = the feature is "done". Anything less = not done.
can-i-deploy exit 0.The orchestrator running this skill emits a single-line verdict per gate (GATE_N: PASS|FAIL <evidence-path>) and aggregates them. One FAIL on a required gate blocks the merge regardless of reviewer approval status.
Failure escalation per agents/hatch3r-testability.md status mapping: Gate 1 fail (mandate-map class missing) → CRITICAL; Gate 4 fail (AI eval coverage <100%) → CRITICAL; Gate 7 fail on auth/payment → CRITICAL; Gates 2/3/5/6/8 → FINDINGS at High or Medium.
gh pr merge on protected branches.rules/hatch3r-testing.md — per-feature test-class mandate map.rules/hatch3r-ai-evals.md — AI feature eval coverage.rules/hatch3r-contract-testing.md — Pact + Schemathesis boundaries.vitest.config.ts / jest.config.js) — global + per-file-class coverage thresholds.agents/shared/quality-charter.md §Testing depth — mock-justification budget.stryker-mutator.io/docs/qaskills.sh/blog/mutation-testing-stryker-guidemarktechpost.com/2026/04/18/a-coding-guide-for-property-based-testing-using-hypothesis-with-stateful-differential-and-metamorphic-test-design/docs.pact.io/schemathesis.readthedocs.io/www.anthropic.com/engineering/demystifying-evals-for-ai-agentssuprmind.ai/hub/ai-hallucination-rates-and-benchmarks/What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents: Invalid string: must start with "./", agents: Invalid string: must end with ".md", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
55 skills in this plugin
/hatch3r-a11y-auditRuns a WCAG AA accessibility audit with findings and fixes across 7 scan categories (keyboard, contrast, ARIA, reduced motion, screen reader, high contrast, automated axe). Use when auditing and remediating accessibility./hatch3r-adhoc-orchestrateScaffolds the ad-hoc Tier >= 2 orchestration protocol -- Per-Turn Pipeline-State Header, implementer delegation plan, End-of-Turn Delegation Attestation. Use for a multi-phase task with no registered command to avoid inline-implementation bypass mode./hatch3r-ai-featureEval-driven development workflow for shipping AI features — write eval before prompt, measure, iterate, ship with caching + cost telemetry + model fallback + hallucination SLIOther plugins' skills for the same job