/odin-testing:tests-purge-unneededfrom ODIN Testing
Identifies and deletes legacy, slow, or duplicate tests that no longer provide value, using mutation testing to verify each deletion is safe.
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 | A legacy, slow, or duplicate test suite is being cleaned up, a post-refactor sweep is due, or the type system already covers an asserted contract. |
| Authority | Reversible local: deletes only VCS-tracked test files and makes temporary mutations for mutation proof only in enumerated VCS-tracked production files, all reverted before the next step or before reporting; rollback is version control recovery. No remote, VCS-history, credential, paid, published, or deployed mutation. Shows the exact set before deletion. |
| Side effect | Deletes proved-useless tracked tests in batches, keeps anything whose mutation fails, and runs the full suite after each batch. |
| Done | Each deleted test has one recorded mutation that survived before deletion, the full suite passes, and no protected boundary test was removed. |
| Failure class | Condition | Recovery |
|---|---|---|
| Framework not detected | Cannot identify test runner or language | Abort. Report: test framework not detected; manual identification required. |
| Bug articulation failed | Cannot name a concrete failure mode for a candidate | Keep the test. Report: candidate kept pending human review; failure mode unclear. |
| Static guarantee unclear | Language carve-out not resolvable (mixed codebase, untyped mode) | Keep the test. Report: language carve-out ambiguous; kept pending resolution. |
| Mutation caught | Injected bug triggered test failure | Revert mutation. Keep the test. Report: load-bearing; mutation proof failed. |
| Suite regressed | Full suite fails after batch deletion | Revert the batch via VCS. Report: regression detected; batch rolled back. |
Partial-result rule: if any batch succeeds, its deletions stand. Rolled-back batches do not invalidate successful ones.
Non-mutation rule: no production code mutation persists beyond the proof step. Every injected bug is reverted before the next batch or before reporting.
A deletion report listing deleted tests (file path, test name, surviving mutation, batch commit hash), kept tests (file path, test name, reason kept), and final suite pass/fail status, ordering: deleted, kept, suite status.
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