Routine Useless Test Pruner

Autonomous maintenance routine that finds tests that cannot fail — no real assertions, tautologies that assert a mock returns what it was told, mock-everything tests that never touch the unit — proves it mechanically by breaking the covered behavior and watching the test stay green, deletes them, and ships via /ship. Use only when the user explicitly invokes /routine-useless-test-pruner or asks to prune useless/worthless tests. SKIP for tests that fail intermittently (routine-flaky-test-fixer), tests of code being deleted (they travel with their code), and slow-but-valid tests. The core trigger is "delete tests that can't fail".

bex-co 23cdfe9 3.1 KB Updated

File contents

bex-co/beancount-io/tree/main/.agents/skills/routine-useless-test-pruner commit 23cdfe979b

Frequently asked questions

npx skillmds@latest add bex-co/routine-useless-test-pruner