The skill requires loading before touching anything in Postgres: creating tables, modifying columns, choosing field types, migrations and declarative schemas, RLS policies and their tests, indexes, triggers, functions, pg_cron / pgmq queues and scheduled tasks, pgvector vector search, importing data, and troubleshooting issues such as slow queries, high CPU, timeouts, connection exhaustion, locks and table bloat, and data being visible to the wrong tenant. The rules are divided into eight categories—query performance, connection management, security and RLS, schema design, concurrency and locks, data access, monitoring and diagnostics, and advanced features—sorted by impact; each rule is a separate reference file containing the rationale, incorrect and correct SQL, optional EXPLAIN output, and Supabase-specific notes.
Why it matters Load before modifying a column or writing a query; rules are categorized into eight groups sorted from highest to lowest impact, each providing incorrect and correct SQL, applicable to any Postgres instance.
skills.sh installs 497292 (+1217 / 24h)
Security Audit: Not audited
- Not yet scanned
Rationale
- skills.sh installs 1217 in 24 hours, cumulative 497292 (indicating attention only); official Supabase repository, MIT license
- Reference documentation-style skill, reads individual rule files on demand, no account required
Usage
- Run npx skills add https://github.com/supabase/agent-skills --skill supabase-postgres-best-practices, then tell the agent "Check this migration file for issues with indexes and RLS policies"
Risks
- Not audited: not scanned on desktop, website does not display install commands
- The trigger description is very broad; almost any database-related task will load and read rule files, consuming extra context; some instructions apply only to Supabase