What problem does it solve? Supabase quickstarts and defaults expose security gaps: browser keys, RLS as the access control boundary, and migrations applied through dashboards or integrations rather than version-controlled CLI commands. This Skill enforces the architectural choices that prevent credential leaks, unauthorized data access, and schema drift between environments. ## Core Features & Use Cases - Deny-all RLS enforcement: Guarantees every table has RLS enabled with zero policies, blocking any key except the server-side secret key from direct table access. - Server-only credential management: One module holds the secret key with no session persistence; all other runtimes (Workers, jobs, scheduled tasks) get their own Postgres logins with function-level grants only. - CLI-driven schema management: Migrations are version-controlled files applied through the CLI against an explicitly stated database URL, never through the dashboard or GitHub integration, eliminating schema drift and silent failures. - Use Case: A SaaS application serving multiple tenants must prevent a leaked publishable key from reading any row. Apply deny-all RLS, tie tenant isolation to three authorization functions, and prove it with an automated catalog suite that runs in CI. ## Quick Start Before building the database layer, read the access model to decide whether your app server holds the secret key alone, then verify that development migrations apply through the CLI with an explicit connection string.