/neocybereth-skills:prune-low-value-testsfrom neocybereth-skills
Audit and prune tests that reassert implementation, duplicate another test's contract, or provide little regression protection, then simplify production seams that existed only for those tests. Use for repository-wide or change-scoped test-value sweeps, implementation-coupled or brittle test cleanup, duplicate coverage removal, and post-test-cleanup production simplification.
Ships in neocybereth-skills. 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.
Make every retained test name a plausible bug it would reveal. Preserve observable behavior while reducing test and production complexity.
Complete this stage when every in-scope test has a stated contract or is explicitly marked as having no behavioral contract.
Retain a test when its failure would reveal at least one of:
Prefer the most stable public boundary that proves the behavior. Give each contract one primary test owner. Add another layer only for a distinct integration risk.
Treat these as strong pruning or consolidation signals:
Interpret signals in context. Copy, configuration, serialization shape, and interaction order can be intentional contracts. Retain them when the repository or product treats them as observable behavior.
For each pruning candidate, establish:
Resolve uncertainty in favor of retention and report the candidate for human judgment.
Keep assertions strong enough to detect the named regression. A green suite is evidence only when its tests still exercise the intended contracts.
Inspect production code touched by the pruned tests. Find seams whose remaining justification is test access rather than production design:
For each seam, identify its production reason. Remove or collapse seams with none when the result is clearer and preserves observable behavior. Retain seams that isolate real side effects, support production variation, enforce an architectural boundary, or provide another concrete production benefit.
Run focused verification after simplification, then run the broadest proportionate test, type-check, lint, and build commands available.
Capture recurrence-prevention guidance in the repository's canonical agent or testing instructions. Base additions on patterns actually found during the sweep.
AGENTS.md and CLAUDE.md can reach through the repository's existing convention, a shared file, or a concise pointer.Complete this stage when future Codex and Claude sessions can discover the same durable policy without duplicated instructions.
Report:
Finish only when every test in scope has passed the value bar, every affected test-only seam has been assessed, observable contracts remain protected, proportionate verification has run, and recurrence guidance is durable.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub neocybereth/skills --plugin neocybereth-skills42 skills in this plugin
/ce-babysit-prBabysits an open GitHub PR until merge-ready. Use when asked to watch a PR over time — not for one-shot comment resolution or one CI failure. GitHub (incl. Enterprise) only./ce-brainstormExplore vague or ambitious ideas into a right-sized requirements-only unified plan. Use when the user wants to brainstorm, scope what to build, or needs collaborative product framing before planning. Also use when they must scope work in territory they do not know, or ask for a blindspot pass. Not for executing already-specified work — implementation, debugging, or code review with no product scope left to decide. Not for a verdict on whether to adopt or switch to a named external technology, library, or platform; that is ce-pov./ce-