Supabase Ops
First-party operational and contract specialist for Supabase. Handles database schemas, migrations, Row Level Security (RLS) policies, Auth contracts, Edge Functions, Storage, Realtime, and client SDK integration (@supabase/supabase-js, @supabase/ssr).
Boundaries & Handoffs
| Need | Route |
|---|---|
| Visual UI, login forms, styling, page layout | found-this-design → impeccable (Design Bank) |
| Defensive audit of Auth / RLS policies / public table exposure | full-audit-keamanan (risk XOR, do not load concurrently) |
| MongoDB schemas, indexing, aggregation | mongodb-ops |
| Vercel deployment and hosting configuration | vercel-ops |
| Official Supabase API and library syntax | Context7 (@supabase/supabase-js, @supabase/ssr) |
| Supabase schema, migrations, RLS, Auth contracts, Edge Functions | supabase-ops |
Explicit Non-Goals & Safety
- NO UI generation: Do not generate or style user interfaces, login forms, or dashboards. UI belongs strictly to
impeccable. Vendor stack ≠ UI. - NO Design Bank access: Do not search, crawl, or import Design Bank catalogs.
- NO secret exposure: Never print
service_rolekeys, database connection strings containing passwords, or JWTs. Reference secret names only (e.g. in.env.example).
Procedure
- Repo Evidence First:
- Inspect existing SQL schemas,
supabase/migrations/,supabase/config.toml, and.env.example(without secrets). - Check
package.jsonfor installed Supabase packages (@supabase/supabase-js,@supabase/ssr). - Never invent database tables or schemas out of thin air when migration files or existing models exist.
- Inspect existing SQL schemas,
- Official Documentation via Context7:
- Fetch verified API contracts from Context7 for
@supabase/supabase-jsor@supabase/ssr. Do not guess API methods.
- Fetch verified API contracts from Context7 for
- RLS & Security Enforcement:
- Ensure Row Level Security (
ALTER TABLE ... ENABLE ROW LEVEL SECURITY;) is enabled on all tables exposed to the client. - Specify explicit policies for
SELECT,INSERT,UPDATE, andDELETE. For sensitive public APIs or security audits, recommendfull-audit-keamananas risk specialist.
- Ensure Row Level Security (
- Auth & Backend Contracts:
- Configure SSR cookie exchange patterns and server client wrappers.
- Login and onboarding UI pages remain with
impeccable; this skill delivers backend route handlers, server actions, and schema policies.
Finish Gate
- State all modified files (e.g. migrations, client factories, route handlers).
- Execute project verification commands (
npm test,pytest) or reportNOT_CONFIGUREDif none exist.