AI AGENT ADDONS

Postgres Patterns

affaan-m/ecc
Databases
817installs

Working with PostgreSQL databases can be tricky. This quick reference helps you write better SQL queries and design faster schemas. It covers indexing, row level security, and other best practices from Supabase. Use it when you need to tune performance or set up connection pooling.

Developers who write migrations or troubleshoot slow queries will find this guide useful. It includes cheat sheets for index types, data types, and common patterns like UPSERT and cursor pagination. It also shows how to detect anti-patterns like unindexed foreign keys.

Following these patterns keeps your database secure and efficient. The guide is built on real world experience from the Supabase team. It is a handy tool for anyone building applications with PostgreSQL.

Add Postgres Patterns skill to your workflow

Global

mkdir -p ~/.claude/skills/postgres-patterns

Project

mkdir -p .claude/skills/postgres-patterns

Source Repository

Stars
222,953
Forks
34,145
Watchers
222,953
License
MIT
Last Push
25 days ago
Created
6 months ago