first-tests
/first-tests
Write the first tests that matter most for an AI-built app — user A can never read or change user B's data, and nobody gets paid features without paying. For Supabase apps, installs a push gate that reads the database's own catalog and fails on tables with RLS off, policies that let everyone through, views and functions that bypass RLS, then writes two-user tests. For Stripe apps, writes tests that forged webhooks are refused, a payment is fulfilled exactly once, the price comes from the server, and refunds and cancellations remove access. Every test is proven able to fail. Use when the user s
- Author
- Vibecheck-QA ↗
- Repository
- vibecheck ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Write the first tests that matter most for an AI-built app — user A can never read or change user B's data, and nobody gets paid features without paying. For Supabase apps, installs a push gate that reads the database's own catalog and fails on tables with RLS off, policies that let everyone through, views and functions that bypass RLS, then writes two-user tests. For Stripe apps, writes tests that forged webhooks are refused, a payment is fulfilled exactly once, the price comes from the server, and refunds and cancellations remove access. Every test is proven able to fail. Use when the user s
Original author description
Write the first tests that matter most for an AI-built app — user A can never read or change user B's data, and nobody gets paid features without paying. For Supabase apps, installs a push gate that reads the database's own catalog and fails on tables with RLS off, policies that let everyone through, views and functions that bypass RLS, then writes two-user tests. For Stripe apps, writes tests that forged webhooks are refused, a payment is fulfilled exactly once, the price comes from the server, and refunds and cancellations remove access. Every test is proven able to fail. Use when the user s
How it works
- 1. Read what exists
- 2. Run the packs that apply
- 3. Report
SKILL.md preview
---
name: first-tests
description: Write the first tests that matter most for an AI-built app — user A can never read or change user B's data, and nobody gets paid features without paying. For Supabase apps, installs a push gate that reads the database's own catalog and fails on tables with RLS off, policies that let everyone through, views and functions that bypass RLS, then writes two-user tests. For Stripe apps, writes tests that forged webhooks are refused, a payment is fulfilled exactly once, the price comes from the server, and refunds and cancellations remove access. Every test is proven able to fail. Use when the user says "first tests", "test my app", "is my data safe", "check RLS", "can users see each other's data", "test my payments", "check my Stripe webhook", "can someone get it free", or a repo on Supabase or Stripe has no tests.
---
# QA AI OS — first tests
The two promises an AI-built app breaks most often, and that cost the most when
broken: **data isolation** (user B never sees user A's data) and **money paths**
(nobody gets what they didn't pay for, and nobody pays twice). Each pack writes
behaviour tests in the repo's own runner and proves every test can fail. Ask
before every write.
## 1. Read what exists
- **Supabase?** `supabase/config.toml`, `supabase/migrations/`, `@supabase/supabase-js`
(or `supabase-py`, `supabase-flutter`).
- **Payments?** `stripe` in the dependencies, `STRIPE_` environment variables, a
webhook route (`constructEvent`, `/api/webhooks/stripe`). Another provider
(Lemon Squeezy, Paddle, Polar …): the money pack's promises still hold; say
it is written for Stripe and adapt the signing.
- The test runner the repo already uses (`vitest`, `jest`, `pytest`, …). None →
offer the smallest one for the stack; don't add a second runner.
Neither applies → say so and stop; these packs don't fit yet.
## 2. Run the packs that apply
Data isolation first when both apply: the money tests reuse its two-user setup.
- **Data isolation (Supabase):** follow `${CLAUDE_PLUGIN_ROOT}/skills/first-tests/data-isolation.md`.
- **Money paths (Stripe):** follow `${CLAUDE_PLUGIN_ROOT}/skills/first-tests/money-paths.md`.
## 3. Report
Plain English first: which promises are proven, what was allowed or agreed and
why, what isn't covered. Then the files written and the gates added.
Files in this package (3)
- SKILL.md 2 KB
- data-isolation.md 7 KB
- money-paths.md 10 KB
Versions
The database has no other skills named first-tests.
Database snapshot: 13.11.2026 · package version 2e4a40d9a501 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100supabase-rls-policies
Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user''s rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches… - 100supabase-rls-audit
Audit Supabase Row Level Security from the migrations in a repo. Finds public tables without RLS, tables with RLS and no policies, `using (true)` / `with check (true)` policies, update policies that let users change their own plan/role/credits columns, views that skip RLS, views… - 100supabase-rls-audit
Security audit of Supabase Row Level Security and database exposure for any app on Supabase (Flutter, Next.js, React, Expo, SvelteKit). Use when asked to check or review RLS policies, Supabase security, "can users see each other's data", migrations in supabase/migrations,… - 95memstack-security-rls-checker
Use this skill when the user says 'check RLS', 'audit RLS', 'RLS policies', 'row level security', 'Supabase security audit', or needs to verify table-level access control. Audits Supabase Row Level Security policies across all tables. Do NOT use for non-Supabase projects or… - 100vibe-preflight
Pre-launch security scan for Supabase + Stripe apps (Next.js, Vite, Expo; Lovable, Bolt, Cursor and Claude Code builds). Finds tables without Row Level Security, `using (true)` policies, user-editable plan/role columns, views and SECURITY DEFINER functions that skip RLS, exposed… - 100plan-rls-audit
Plan-only Supabase/Postgres RLS and access-control audit. Use when "is my Supabase secure", "anyone can read my data", "lock down my tables", "service_role key", or "security advisor". Route gates → audit-auth-flows.