Agent Skills: test-sloc-cut
Shrink a test suite without losing a single asserted fact or covered branch — the fact-matrix method: read every test into a matrix of the propositions it pins, measure per-test branch coverage and a covering set, and delete only on the intersection of both oracles; relocate a fact to a cheaper layer only after a mutant proves the new assertion catches it. Use when asked to trim, dedupe, consolidate, simplify, shrink, or reduce tests or test SLOC, when a suite has grown by accretion (the same value asserted in a pure test, a DB test and an end-to-end test; tests whose bodies differ by one argument), when deciding whether to delete, fold, parametrize, or share a helper across tests, when a reviewer calls a test file bloated or redundant, or before cutting any test on 'coverage is unchanged' alone. Python/pytest with pytest-cov. Ships the tokenizer line counter, the per-test coverage and covering-set script, the fact-matrix checker, the mutant check, and the four-agent investigation briefs.
Install this agent skill to your local
Skill Files
The files that make up test-sloc-cut.
Loading file tree…
More agent skills
- banach-spacesProblem-solving strategies for banach spaces in functional analysis
- knowledge-baseManage your personal knowledge base of curated resources, bookmarks, and excerpts. Triggers include "knowledge base", "kb", "add to knowledge", "add tabs to", "what do I have on", "what do we know about", "find resources about". Use with safari-tabs skill for bulk ingestion from Safari windows. Location is ~/knowledge/.
- reactHow to work effectively with React, always use when developing frontend components
- hono-routing|
- axiom-audit-textkitUse when the user mentions TextKit review, text layout issues, Writing Tools integration, or UITextView/NSTextView code review.
- discord-user-postPost an approved message as the logged-in Discord user through the Discord desktop app. Use for release announcements or other direct user-authored Discord posts; not for OpenClaw channel sends, bots, webhooks, relays, agent sessions, or archive search.