/odin-testing:test-migration-coverage-gatefrom ODIN Testing
Ensures no test is deleted until every assertion is covered by a replacement, verified by an independent reviewer. Use when migrating test coverage between harnesses or suites.
Ships in ODIN Testing. 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.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | About to delete a test on the claim that a new harness, suite, or scenario already covers it. |
| Authority | Reversible local: deletes only VCS-tracked test files and edits only the migration's named VCS-tracked files (the replacement test to cover assertions, live references to deleted paths, and historical annotations); rollback is version control recovery. No remote, VCS-history, credential, paid, published, or deployed mutation. Shows the exact set before deletion. |
| Side effect | Deletes only those test files whose every assertion was matched, extends the replacement test when needed, updates live references to deleted paths and annotates historical documents, and leaves the rest in place; each deletion carries its coverage receipt in the commit message. |
| Done | For every deleted test, a per-assertion table validated by an independent reviewer maps each original assertion to a specific check in the replacement; unmatched assertions resulted in either an extended replacement or a kept test; and a tree-wide scrub shows no dangling references to deleted paths, with historical documents annotated rather than rewritten. |
expect, assert, check, should, verify, or equivalent call that exercises observable behavior. Record the assertion type, the subject under test, and the expected outcome or predicate for each. Done when: every assertion in the original test is recorded with type, subject, and expected outcome.| Failure class | Behavior |
|---|---|
| Replacement missing or unparseable | Stop immediately; do not delete the original test. Report that the replacement cannot be verified. |
| Assertions unextractable from original | Stop immediately; do not delete. Report the parsing failure and request manual review. |
| Unmatched assertions after extension attempt | Keep the original test file in place. Report which assertions remain uncovered. |
| Independent reviewer disputes a mapping | Return to step 4. Re-examine the disputed assertion and extend the replacement or keep the original. Do not commit until the reviewer confirms. |
| Dangling references remain after scrub | Stop before committing the deletion. Report every unresolved reference with its file and line. |
| Commit fails | Restore the deleted file from version control. Report the commit failure. |
Per-assertion coverage table mapping each original assertion to its replacement check, the independent reviewer confirmation, a commit message receipt embedded in the deletion commit, the list of updated or annotated references across the project tree, and the commit SHA confirming the deletion.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-testing25 skills in this plugin
/behavior-validatorUse when asked to validate a web app, CLI, API, or generated artifact against a source-blind behavior contract. Not for source or remote-system changes./browser-qaUse when the user runs /browser-qa for report-only QA results without entering a fix loop. Not for remote, credential, publish, deploy, or irreversible changes./control-cliUse when asked to reproduce, profile, or verify CLI/TUI behavior. Produces a deterministic transcript or profile proof with session cleanup. Not for CLI design advice, use cli-for-agents./control-uiUse when asked to verify or reproduce browser or Electron UI behavior with before-and-after evidence and no leftover processes. Not for remote, credential, publish, deploy, or irreversible changes./evaluation-leakage-auditUse when reviewing an evaluation, benchmark, or scoring harness for leakage, or a validation result that looks self-confirming. Modes: leakage, self-audit. Not for one claim: use verify-both-ways./exhaustiveUse when asked to prove coverage, find missing cases, or enumerate state, decision, requirement, or behavior space. Not for round-based or single-property tests: use askme, property-test-authoring.Other plugins' skills for the same job