supabase-postgres-best-practices
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
- Created
- 10 months ago
- Last commit
- 2 months ago
- Latest release
- v0.1.92 months ago
Security Findings
No Security Findings
No suspicious or malicious patterns were detected during scanning.
Versions
6- Scanned Oct 25, 2026, 01:17 PMNone known
- Scanned Oct 9, 2026, 02:50 PMNone known
- Scanned Aug 17, 2026, 02:54 PMNone known
- Scanned Aug 17, 2026, 02:54 PMNone known
- Scanned Apr 28, 2026, 04:52 PMUnknown
- Scanned Apr 7, 2026, 02:00 PMUnknown