Supabase recipes
A recipe is everything a flow needs in Supabase, ready to apply. backend_recipe returns:
- Tables and indexes as
migration.sql. - Row-level-security rules, owner-only or insert-only by default.
- Seed data and RLS tests.
- A typed
supabase-jsclient with small helper functions. - The exact setup steps, and which environment variables go where. The service key never goes in the browser.
- A
self_checklist. After applying the recipe, run Supabase's own security and performance advisors through the Supabase MCP.
Nothing is applied for you. No database credentials are asked for or held.
Inputs
Send flow (one of auth, waitlist, contact-newsletter, billing, dashboard-data) or kit (a kit id whose backend field names the recipe).
The five recipes
- auth: sign-in data for your users.
- waitlist: sign-ups, for the waitlist kit.
- contact-newsletter: contact messages and newsletter subscribers.
- billing: plan and subscription data.
- dashboard-data: the records a dashboard shows.
Each one follows the same default: the owner reads their own rows, and public forms can add rows but not read them.
Example prompt: "Get the waitlist recipe, apply it to my Supabase project, then run the security advisors and fix anything they flag."