PostgreSQL Patterns & Best Practices
Optimizes PostgreSQL databases with production-ready patterns for schema design, indexing, and performance tuning.
This Claude Code skill provides an essential toolkit for developers working with PostgreSQL, offering immediate access to industry-standard patterns derived from Supabase best practices. It assists with choosing the correct data types, implementing efficient indexing strategies like GIN and BRIN, and optimizing complex queries with cursor pagination. Additionally, it helps secure your data using Row Level Security (RLS) policies and identifies common database anti-patterns such as unindexed foreign keys or table bloat. Whether you are building a new schema or troubleshooting a slow production database, this skill ensures your database layer remains scalable, secure, and highly performant.