PostgreSQL Patterns

•
9
•

Optimizes PostgreSQL databases with best practices for schema design, query performance, and security.

This skill provides Claude with a specialized knowledge base for PostgreSQL development, focusing on high-performance patterns and robust security configurations based on Supabase best practices. It assists developers in selecting correct data types, implementing advanced indexing strategies like B-tree, GIN, and BRIN, and writing optimized Row Level Security (RLS) policies. Whether you are designing a new schema or troubleshooting slow queries, this skill provides the patterns needed for production-grade database management and monitoring.

主要功能

01High-performance query patterns for pagination, UPSERT, and queue processing
02Optimized Row Level Security (RLS) policy implementation patterns
03Anti-pattern detection for unindexed foreign keys and table bloat
049 GitHub stars
05Data type recommendations to optimize storage and query performance
06Advanced indexing guidance for B-tree, GIN, BRIN, and composite indexes

使用场景

01Designing scalable database schemas with correct data types and indexing
02Troubleshooting and fixing slow database queries in high-traffic applications
03Implementing secure multi-tenant architectures using Row Level Security