PostgreSQL Patterns & Optimization

•
151
•

Provides production-grade PostgreSQL patterns for query optimization, schema design, indexing strategies, and security.

This Claude Code skill serves as a high-performance reference for PostgreSQL developers, offering standardized patterns for indexing, data modeling, and security based on Supabase best practices. It assists in writing efficient migrations, optimizing slow queries, and implementing advanced features like Row Level Security (RLS) and high-performance cursor pagination. By integrating this skill, users can ensure their database architecture is scalable, secure, and optimized for peak performance, following industry-standard patterns for modern web applications.

主な機能

01Comprehensive indexing reference for B-tree, GIN, and BRIN types
02Best practice recommendations for data types and schema configuration
03SQL anti-pattern detection for unindexed keys and table bloat
04151 GitHub stars
05Optimized Row Level Security (RLS) policy templates for security-first design
06Advanced query patterns for UPSERTs and high-performance queue processing

ユースケース

01Implementing efficient SQL migrations and complex indexing strategies
02Designing secure and scalable database schemas for production applications
03Optimizing database performance and troubleshooting slow SQL queries