Description
Postgres Best Practices is an agent skill, maintained by Supabase, that gives a coding assistant a set of PostgreSQL optimization rules. The rules are organized by impact and cover query performance, connection management, row-level security, schema design and concurrency. Each rule includes SQL examples that show the wrong and the right approach, with EXPLAIN output and metrics where they matter. The skill is written for any Postgres setup, not only Supabase. It is useful when you want a missing index caught before a slow query reaches production, row-level security policies that avoid full table scans, connection pooling for high-concurrency workloads, or schema designs that use the right column types and partial indexes. Instead of piecing together advice from scattered blog posts, you get prioritized rules in one place. To install it, run the npx skills add command with the skill name, or paste the GitHub link into your coding assistant and ask it to install the skill.…
Highlights
- Prioritized Postgres optimization rules
- Query performance and missing indexes
- Row-level security without full table scans
- Connection pooling for high concurrency
- SQL examples with EXPLAIN output
Ratings & Reviews
No ratings yet
Be the first to rate supabase/postgres-best-practices.
People also visit

postgres-patterns
PostgreSQL database patterns for query optimization, schema design, indexing

supabase-postgres-best-practices
Postgres performance rules: queries, connections, RLS, schema, locking

postgresql-best-practices
PostgreSQL development best practices for schema design, query optimization
supabase/postgres-best-practices FAQ
What does this skill do?
It gives a coding assistant Postgres rules for query performance, connections, row-level security, schema design and concurrency.
Does it only work with Supabase?
No. The page says it is maintained by Supabase but applies to any Postgres setup.
How are the rules presented?
Each rule has SQL examples of the wrong and the right approach, with EXPLAIN output and metrics where relevant.
How do I install it?
Run npx skills add with the Supabase skills repository and --skill postgres-best-practices, or paste the GitHub link into your coding assistant and ask it to install the skill.
What are the best supabase/postgres-best-practices alternatives?
Popular alternatives to supabase/postgres-best-practices include postgres-patterns, supabase-postgres-best-practices and postgresql-best-practices. See all supabase/postgres-best-practices alternatives









