test-audit
Skill2.4k starsChanged 20 days agoMITView on GitHub
Load whenever a test is authored, changed, or reviewed. Gates new tests before they are added and audits existing suites for low-value, duplicated, or implementation-coupled coverage across the unit/integration/e2e/live tiers.
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 64 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Before adding any test, answer all four questions.
- Distinctive: line 49
test names that promise more than the test exercises
- Distinctive: line 55
Always keep the test that gives a public CLI behavior, config, persistence, security, platform, or published package contract its distinct …
“Common” is measured: kept by at least 6 in 10 of the 64 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
- What behavior does it protect?
- What credible regression makes it fail?
- Why doesn't existing coverage already catch that failure?
- 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.
Level rule
Each contract gets one primary test at the strongest boundary that can reach it: unit for pure
logic, integration for handlers and Effect layers, e2e for the subprocess boundary through
runSupabase(), live only when the command must reach the real platform or data plane. A second
level needs a distinct risk the first can't reach, not the same contract replayed. Command e2e
stays at one to three golden paths. Prefer a new row in an existing table-driven case over a
near-duplicate test.
Junk patterns
Reject a new test, or flag an existing one, that matches any of these:
- the same contract replayed at several tiers (unit, integration, e2e, live all asserting the same branch)
- mocks or Effect test layers that implement the behavior being asserted, rather than standing in for a real collaborator
- expected values produced by the helper under test instead of an independent source
- negative controls that pass for an unrelated reason, such as a different guard rejecting input before the path under test ever runs
- test names that promise more than the test exercises
- real-time waits on production timeouts or backoff, such as an
it.livecase sleeping through a retry schedule; use a controlled clock or an injected budget instead
Retention bar
Always keep the test that gives a public CLI behavior, config, persistence, security, platform, or published package contract its distinct proof. Being slow or static is never a reason to delete it; a copy at another tier asserting the same thing can still be consolidated.
Regression tests
A bug-fix test must be shown to fail on the pre-fix code for the intended reason, then pass after the fix. A regression test that never demonstrably failed proves the mock, not the fix.
Audit mode
Discovery stays read-only: no edits until every candidate has recorded evidence. Before touching anything, record for each candidate:
- what the test can actually detect
- the stronger proof that remains, or would remain, without it
- any test-only production seam its deletion would free
Then mark it in a short ledger, one evidence line per mark:
Rretain — names the contract and the regression it catchesFfix — keep the contract, repair a weak or vacuous assertionCconsolidate — names the owner absorbing it (a sibling table row, a stronger boundary suite)Ddelete — names the proof that remains, or that no contract exists
Report the ledger in the audit response, or in the campaign's tracking issue when there is one, never in a PR description. Prefer a few high-confidence candidates over a large speculative sweep.
Trending
Quiet since September.about the whole repository
Who's talking about supabase/cli
- prisma/orm“Installing extension pg_cron in shadow db migration fails”GitHub · Mar 5, 2023 · 11 reactions
- supabase/edge-runtime“Need a way to set flags for Deno”GitHub · Nov 8, 2023 · 9 reactions
- supabase/supabase“Not able to create user in local supabase ”GitHub · Feb 26, 2024 · 8 reactions
- supabase/edge-runtime“supabase functions serve runs out of memory and crashes with basic usage”GitHub · Oct 16, 2023 · 8 reactions
- supabase/auth“`supabase start` is crashing trying to pull gotrue:v2.184.1”GitHub · Jan 7, 2026 · 5 reactions
The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 41
Talked about on GitHub, Stack Overflow and Bluesky (41 times).
On GitHub · 32
- Mar 5, 2023Installing extension pg_cron in shadow db migration fails — prisma/orm11 reactions · 8 comments
- Nov 8, 2023Need a way to set flags for Deno — supabase/edge-runtime9 reactions · 5 comments
- Feb 26, 2024Not able to create user in local supabase — supabase/supabase8 reactions · 11 comments
- Oct 16, 2023supabase functions serve runs out of memory and crashes with basic usage — supabase/edge-runtime8 reactions · 8 comments
- Jan 7, 2026`supabase start` is crashing trying to pull gotrue:v2.184.1 — supabase/auth5 reactions · 8 comments
27 more on GitHub
- Apr 14, 2023security_invoker on views is ignored — djrobstep/schemainspect5 reactions · 1 comment
- Sep 12, 2026Make the iPix Supabase skill load reliably and document safer Edge deployments — amoai-tech/ipixai4 reactions · 3 comments
- Sep 12, 2026Fix local Supabase stack collisions in the main iPix checkout — amoai-tech/ipixai4 reactions · 5 comments
- Mar 10, 2025WARNING: invalid configuration parameter name "supautils.policy_grants", removing it — supabase/supautils4 reactions · 1 comment
- Nov 27, 2024deno run fail to execute npm binary file in 2.0 — denoland/deno4 reactions · 1 comment
- Nov 21, 2023In studio 20231114-1442e42, RLS and Database Roles are not being displayed. — supabase/supabase4 reactions · 9 comments
- Sep 19, 2026SAN-1284 · Make CI block unsafe Supabase permission changes — amoai-tech/mdeai3 reactions · 12 comments
- Sep 18, 2026SAN-1284A · Make new Supabase database functions private by default — amoai-tech/mdeai3 reactions · 6 comments
- Sep 18, 2026SAN-1306 · Fix broken outbox writes and remove dead Supabase cleanup dependencies — amoai-tech/mdeai3 reactions · 5 comments
- Sep 17, 2026SB-002 · Find What Production Has That a Fresh Database Cannot Rebuild — amoai-tech/mdeai3 reactions · 4 comments
- Sep 17, 2026SB-001 · Make Supabase Migrations Rebuild Reliably From Scratch — amoai-tech/mdeai3 reactions · 5 comments
- May 18, 2026Github Action using supabase/setup-cli fails on every run — supabase/setup-cli3 reactions · 3 comments
- Apr 8, 2026chore(deps): bump the minor-and-patch group across 1 directory with 13 updates — AI-Powered-Edtech/LMS3 reactions · 2 comments
- Nov 27, 2025docs: Add SELinux instructions to quickstart — supabase/supabase3 reactions · 8 comments
- Mar 18, 2023supabase serve uses "--no-npm" mode for Deno. Why? This breaks code that needs npm modules. — supabase/edge-runtime3 reactions · 14 comments
- Sep 29, 2026Make agents reuse existing code before writing new code, and make every PR explain itself — amoai-tech/mdeai2 reactions · 11 comments
- Sep 28, 2026Stop an unreviewed database migration from reaching production — amoai-tech/mdeai2 reactions · 15 comments
- Sep 27, 2026CI — restore Supabase CLI multi-registry image fallback — amoai-tech/ipixai2 reactions · 9 comments
- Sep 27, 2026IPI-1361 · SB-DRIFT-002 — Make Supabase migration history match production again — amoai-tech/ipixai2 reactions · 11 comments
- Sep 17, 2026SB-002 · Make Fresh Supabase Rebuilds Match Production Without Copying Known Breakage — amoai-tech/mdeai2 reactions · 5 comments
- Sep 17, 2026SB-010 · Give MDE Its Own Local Supabase Ports and Clean Reset — amoai-tech/mdeai2 reactions · 3 comments
- Sep 7, 2026IPI-1169 · SB-MIG-004 — Reconcile 3 migration-timestamp identities, restore Supabase Preview — amoai-tech/ipixai2 reactions · 6 comments
- Jul 26, 2026chore(deps): bump tar and supabase in /examples/slack-clone/nextjs-slack-clone-dotenvx — Dustin4444/supabase2 reactions · 7 comments
- Jul 20, 2026chore(deps): bump the remaining-npm group across 1 directory with 9 updates — tarkovtracker-org/TarkovTracker2 reactions · 7 comments
- Jun 4, 2026chore(deps): bump supabase from 2.101.0 to 2.105.0 — tarkovtracker-org/TarkovTracker2 reactions · 3 comments
- Apr 14, 2026Bump supabase from 2.84.5 to 2.90.1 — g1mliii/Anchored2 reactions · 1 comment
- Mar 31, 2026build(deps): bump supabase from 2.81.2 to 2.84.5 — POWERFULMOVES/PMOVES-DoX2 reactions · 2 comments
On Stack Overflow · 6
- May 30, 2022Unable to push local migrations to Supabase through CLI3 votes
- Oct 22, 2023How to install Supabase Cli on Mac? its throwing error1 vote
- Jun 20, 2023Supabase Edge Functions not recognizing import map passed in `npx supabase functions serve`1 vote
- Feb 23, 2024How to install Supabase Cli on Mac? its throwing error0 votes
- Nov 24, 2023Supabase CLI (local development) problems with RLS and enabling realtime0 votes
1 more on Stack Overflow
- Jan 10, 2023Websocket connection failed in Supabase local deployment-4 votes
On Bluesky · 3
- Mar 25, 2026github.com/supabase/cli GitHub - supabase/cli: Supabase CLI. Manage postgres migrations, run Supabase locally, deploy ed... — @technews4869.bsky.social1 likes and repost
- Mar 24, 2026Supabaseプロジェクトのローカル実行やマイグレーション管理を行うCLIツールらしい CI/CDや型生成にも使えるので便利そうかな yug1224 starred supabase/cli https://github.com/supabase/cli — @yug1224.com1 likes and repost
- Mar 24, 2026Turn your Supabase database into a full local development environment with migrations, type generation, and edge function deployment - all… — @arifsolmaz.bsky.social1 likes and repost
Other versions67 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 67
- moltbot/moltbot★ 393ksame name
- clawdbot/clawdbot★ 393ksame name
- steipete/warelay★ 392ksame name
- moltbot/clawdbot★ 392ksame name
- steipete/clawdis★ 392ksame name
- molt-bot/clawdbot★ 391ksame name
- openclaw/openclaw★ 391ksame name
- garrytan/gstack★ 138ksame name
- paperclipai/paperclip★ 107ksame name
- simstudioai/sim★ 30ksame name
57 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use how, cleanup and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jaydubya818Skillhow
Use for runtime, ownership, layering, code-walkthrough, and placement questions.
Also in 4 projects that use this
MicrosoftSkillcleanup
Also in 3 projects that use this
AnthropicSkilleli5
Explain a topic like I'm a 5 year old. Use when the user types /eli5 <topic> or asks for a dead-simple picture explainer of how something works.
Also in 3 projects that use this
dragonflydbSkillbenchmark
Benchmark Dragonfly (and compare against Valkey/Redis) on local or remote cloud instances, then produce a performance + memory report with charts and a raw-data appendix. Use this whenever the user runs /benchmark, or asks to benchmark / load-test / measure throughput, QPS, latency, or memory efficiency of Dragonfly or another Redis-compatible server, to compare Dragonfly vs Valkey or Redis, or to generate a benchmark report. Trigger it even when the user just describes the goal ("see how fast Dragonfly is on this box", "compare memory per key vs Valkey") without saying the word "benchmark".
Also in 3 projects that use this
SentrySkilldeslop
Strip AI-generated noise from the diff before pushing — extra comments a human wouldn't write, defensive try/catch in trusted code paths, casts to any, inline imports in Python, and other style inconsistencies with the surrounding file. Use this immediately before commit so the diff stays clean.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 6 projects that use this
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/cli/AGENTS.mdAGENTS.md
- apps/cli-e2e/AGENTS.mdAGENTS.md
- packages/config/AGENTS.mdAGENTS.md
- effectSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

