PostgreSQL Optimization & Design Patterns

•
6
•

Optimizes PostgreSQL database performance and schema design through production-ready patterns, indexing strategies, and security best practices.

This Claude Code skill provides a comprehensive toolkit for developers working with PostgreSQL, offering instant access to optimized query patterns, indexing cheat sheets, and efficient schema designs based on Supabase best practices. It empowers users to detect database anti-patterns, implement Row Level Security (RLS) correctly, and configure database settings for high performance. Whether you are troubleshooting slow queries, building a new backend, or setting up connection pooling, this skill ensures your database architecture is scalable, secure, and highly performant.

主な機能

01Advanced SQL patterns for UPSERT operations, cursor pagination, and queue processing
02Optimized Row Level Security (RLS) policy templates for robust data protection
03Best-practice data type recommendations for IDs, strings, and monetary values
046 GitHub stars
05Comprehensive index selection guide for B-tree, GIN, BRIN, and composite indexes
06Automated anti-pattern detection for unindexed foreign keys and table bloat

ユースケース

01Designing and implementing a scalable database schema for high-traffic applications
02Configuring secure Row Level Security (RLS) policies for multi-tenant environments
03Troubleshooting and optimizing slow-running SQL queries and database bottlenecks