This skill provides a comprehensive toolkit for PostgreSQL management, offering expert guidance on query optimization, schema design, and security implementation. It helps developers avoid common pitfalls like unindexed foreign keys or table bloat by providing optimized patterns for indexing, data types, Row Level Security (RLS), and complex SQL operations like upserts and queue processing. Based on Supabase best practices, it is an essential companion for building performant, secure, and scalable database layers in modern applications.
主な機能
01Comprehensive indexing cheat sheet for B-tree, GIN, and BRIN types
02Automated anti-pattern detection for slow queries and unindexed keys
03Advanced SQL patterns for cursor pagination, upserts, and job queues
04Optimized data type recommendations for IDs, currency, and timestamps
05Performance-tuned Row Level Security (RLS) policy templates
065 GitHub stars
ユースケース
01Designing scalable schemas with correct indexing for JSONB and time-series data
02Implementing secure multi-tenant access control using RLS
03Optimizing slow SQL queries and designing efficient database migrations