010115-supabase-platform
Installation
SKILL.md
Supabase Platform
Overview
Supabase is an open-source Firebase alternative built on PostgreSQL. This skill covers RLS security, Edge Functions (Deno), Realtime (Broadcast + Postgres Changes), Storage, schema design conventions, and common anti-patterns.
Quick Reference
Core Concepts
| Area | Description |
|---|---|
| Database | PostgreSQL with UUID v4, snake_case, audit columns |
| RLS | Row Level Security — mandatory on all tables |
| Auth | auth.uid() in RLS policies, custom claims in JWT |
| Storage | Private buckets + signed URLs, RLS on storage.objects |
| Realtime | Broadcast (low-latency pub-sub) vs Postgres Changes (WAL-based) |
| Edge Functions | Deno runtime, Hono router, service role key |