Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By henkisdabrov1.0.9MITIn 1 marketplace
Removes tests that guard no behaviour, with a green suite before and after and a ledger of every deletion. Breaks the code once at a boundary to check doubtful tests before deleting them.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Test suites gather tests that look like coverage but guard nothing: they assert a deleted feature is gone, check what the type system already guarantees, recompute the expected value the way the code does, or repeat another test. This plugin finds and removes them in one cheap pass, and rewrites the ones that cover real behaviour.
It is the 80/20 pass. The evidence is the test, the code it names, and at most one deliberate break of the code for a test it is unsure of. No mutation campaign, no kill matrix, no new property or E2E suites - run those separately once the obvious waste is gone.
A test stays when it is anchored: it changes only when intended behaviour changes, and fails only when that behaviour regresses. Everything else falls into one of four categories:
| Category | Examples |
|---|---|
| The past | Asserts a removed feature is gone or a module left its old path; tests a spent one-off migration or backfill; a refactor's equivalence suite once the refactor has shipped; skipped, commented-out or .only-shadowed tests; test files the runner never picks up |
| Nothing | Tests the browser, framework or type system; mocks the unit under test and asserts the mock; only toBeDefined or not.toThrow on code that cannot fail that way; bounds too loose for any plausible bug to cross |
| The implementation | Tautological expected values; private state, call order or internal mocks; large snapshots updated wholesale |
| A copy | Another test guards the same behaviour - the one closest to what a caller sees is kept, once that partner is shown to catch the regression |
It also deletes production code, fixtures and helpers that the removed tests leave unused. Dead code that was already there is reported, not deleted.
It is Chesterton's fence with a test harness: rather than asking why a test was written, it breaks the code to see whether the test still guards anything - and where a fix commit added the test, the bug that commit fixed is the first break it tries.
> to >=, off by one), see whether the test fails, revert.Changes are left uncommitted so you review the diff before keeping it, unless you ask for a commit.
/plugin install prune-tests@wookstar-claude-plugins
On Claude Code 2.1.275 or later, in one step without adding the marketplace first: /plugin install prune-tests --marketplace henkisdabro/wookstar-claude-plugins
The skill runs only when you type it - deleting tests should be a deliberate act, so Claude never starts it on its own.
/prune-tests:prune-tests # whole suite (asks for a scope if it is large)
/prune-tests:prune-tests src/billing # one directory
Start on a clean working tree so the diff holds only the pruning.
The skill sets model: opus and effort: high for its turn; your session model returns on your next message. Judging whether a test is tautological or a copy is careful reading, and a wrong deletion costs more than the tokens saved by a smaller model. To run it on your session model instead, change model to inherit in the installed SKILL.md. CLAUDE_CODE_EFFORT_LEVEL, when set, overrides the effort.
The skill uses the vocabulary of Matt Pocock's /tdd skill - seam, tautological, implementation-coupled - and points to it for rewrites and to /codebase-design when a test has no seam to rewrite against. Neither is required.
Built on caldoai's /prune-tests - its three categories (the past, nothing, the implementation) and its examples. This version adds dead and skipped tests, copies, a green baseline and verify step, the break-it check and the ledger.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub henkisdabro/wookstar-claude-plugins --plugin prune-testsPlugins from other owners that cover similar ground