Skip to content
sickn33 avatar

Postgres Best Practices

Curated Postgres performance and schema rules across 8 prioritized categories for writing and reviewing queries.

CCM score
55 of 100
skills.sh installs
361
GitHub stars
50.5K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers query performance, connection management, RLS security, schema design, locking, data access, monitoring, and advanced features
  • Organizes rules by priority with query-, conn-, security-, schema-, lock-, data-, monitor-, and advanced- prefixes
  • Provides per-rule files with incorrect and correct SQL examples, EXPLAIN output where applicable, and Supabase-specific notes
  • Designed for reviewing queries, indexes, connection pooling, and Row-Level Security policies in Postgres databases

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill postgres-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Supabase Postgres Best Practices

Community-bundled Postgres guide attributed to Supabase; upstream maintenance and example performance numbers are not independently certified. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.

When to Use

Reference these guidelines when:

  • Writing SQL queries or designing schemas
  • Implementing indexes or query optimization
  • Reviewing database performance issues
  • Configuring connection pooling or scaling
  • Optimizing for Postgres-specific features
  • Working with Row-Level Security (RLS)

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Query PerformanceCRITICALquery-
2Connection ManagementCRITICALconn-
3Security & RLSCRITICALsecurity-
4Schema DesignHIGHschema-
5Concurrency & LockingMEDIUM-HIGHlock-
6Data Access PatternsMEDIUMdata-
7Monitoring & DiagnosticsLOW-MEDIUMmonitor-
8Advanced FeaturesLOWadvanced-

How to Use

Read individual rule files for detailed explanations and SQL examples:

Details

Repository
github.com/sickn33/agentic-awesome-skills
Categories
Databases, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the postgres-best-practices skill do?

postgres-best-practices gives the agent Supabase's Postgres guidance across 8 rule categories, from query performance and connection management to security and RLS. The SKILL.md says it is used when writing, reviewing or optimizing Postgres queries, schema designs and database configurations.

How do I install the postgres-best-practices skill?

Run npx -y skills add sickn33/agentic-awesome-skills --skill postgres-best-practices -y in your project. After that, postgres-best-practices lets the agent read its rule files, such as rules/query-missing-indexes.md, when it reviews indexes and queries.

Which skills lead the Databases category next to postgres-best-practices?

On Claude Marketplaces, postgres-best-practices sits in the Databases category with supabase-postgres-best-practices, prisma-client-api, prisma-database-setup, prisma-cli and prisma-postgres. Its own focus is generic Postgres performance and schema guidance, which the postgres-best-practices SKILL.md describes.

Is postgres-best-practices from Supabase and is it verified?

postgres-best-practices is a community-bundled guide attributed to Supabase. Its SKILL.md notes that upstream maintenance and example performance numbers are not independently certified, so check results against your own environment.

More from sickn33/agentic-awesome-skills

All 682

Similar to Postgres Best Practices

More Databases