test-audit

Installation
SKILL.md

Test Audit

Two modes share one value bar. Authoring gates every new or changed test at write time. Audit sweeps existing tests, read-only until each candidate has recorded evidence. Both apply the junk patterns and retention bar below. See Test quality for tiers, naming, and flake-resistance rules this skill assumes.

Authoring gate

Before adding any test, answer all four questions. A missing answer means don't add it yet. Apply the same questions to review suggestions that add tests or assertions, and push back when they protect nothing:

  1. What behavior does it protect?
  2. What credible regression makes it fail?
  3. Why doesn't existing coverage already catch that failure?
  4. Does it need a test-only production seam that only exposes internals (an export, flag, or wrapper)? If so, move the test to the real boundary. A controlled clock, or a budget or config value production also reads, is fine.
Installs
2
Repository
supabase/cli
GitHub Stars
2.4K
First Seen
11 days ago