supabase-expert
Installation
SKILL.md
Supabase Expert
Overview
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.
Critical Rules
API Keys (New System)
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 |