Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides Supabase work across database tables, RLS policies, Auth, Storage, Edge Functions, and Next.js SSR integration.
55% 100%+45 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 12 of 22 without it.
3 of 3 safety checks passed
Not used yet
Comprehensive guidance for working with Supabase including database operations, authentication, storage, edge functions, and Next.js integration. Enforces security patterns, performance optimizations, and modern best practices.
Supabase now offers two key types with improved security:
| Key Type | Prefix | Safety | Use Case |
|---|---|---|---|
| Publishable | sb_publishable_... | Safe for client | Browser, mobile, CLI |
| Secret | sb_secret_... | Backend only | Servers, Edge Functions |
| Legacy anon | JWT-based | Safe for client | Being deprecated |
| Legacy service_role | JWT-based | Backend only | Being deprecated |
Key Rules:
See references/api-keys.md for migration guide and security practices.
NEVER USE (DEPRECATED):
get(), set(), remove()@supabase/auth-helpers-nextjsALWAYS USE:
@supabase/ssrgetAll() and setAll() ONLYgetUser() to refresh sessionsupabaseResponse objectImportant: As of Next.js 16+, use
proxy.tsinstead ofmiddleware.ts. See https://nextjs.org/docs/app/api-reference/file-conventions/proxy
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.