On this page
supabase production checklist ai built app
Supabase Production Checklist for AI-Built Apps
Supabase makes AI-built apps fast to ship, but RLS, migrations, and auth callbacks need a deliberate pass before production.
Why Supabase apps fail after the demo works
Coding agents add `@supabase/supabase-js`, auth helpers, and tables quickly. The UI can look finished while RLS is open, migrations are missing, or the service role leaks into client bundles.
- Auth UI works locally but callback URLs are wrong for production.
- Tables exist without RLS or with policies that are too permissive.
- Migrations live only in the dashboard, not in the repo.
- Service role keys appear in client-side code or public env vars.
Supabase checklist before launch
Work through data and identity before marketing or payments scale.
- Auth: provider, redirect URLs, session refresh, protected routes, and sign-out behavior.
- Schema: migrations checked in, documented setup, and preview vs production projects separated.
- RLS: policies on every table that holds user or tenant data; test with non-admin accounts.
- Keys: anon key in client only; service role strictly on server or edge functions.
- Storage and functions: bucket policies and edge secrets reviewed if used.
- Env: `NEXT_PUBLIC_*` and server env vars listed in README for each environment.
Coding-agent prompt for Supabase
Scope Supabase work to one risk area per session.
Audit Supabase usage in this repo for production readiness. Check auth config, migrations, RLS policies, client vs service role usage, and required env vars. Do not edit yet. Return gaps with file paths and one safe fix to try first.How VibeRaven helps
For AI-built apps on Vercel + Supabase, VibeRaven reads the migrations and client code and flags tables without RLS, policies with using (true), and a service role key in client code. It is advice, not a gate, and a repository check, not a live database or security test. See also the dedicated Supabase checklist guide.
Related guides
FAQ
Should I enable RLS on every Supabase table?
Enable RLS on tables that store user-specific or sensitive data. Document any intentional exceptions and how they are protected.
Can VibeRaven read my Supabase dashboard?
No. It reads repo evidence. You still verify policies and keys in the Supabase dashboard.
Where is the shorter Supabase checklist page?
Use the Supabase AI app production checklist at /supabase-ai-app-production-checklist for a quick launch pass.