This skill provides a comprehensive toolkit for PostgreSQL database development, focusing on performance optimization, schema design, and security. It offers quick-reference guides for index selection, data type choices, and common SQL patterns like UPSERTs and cursor pagination. Designed to help developers write efficient migrations and troubleshoot slow queries, it integrates advanced strategies such as Row Level Security (RLS) optimization and anti-pattern detection to ensure robust and scalable database architecture.
主な機能
01Anti-pattern detection for unindexed foreign keys and table bloat
02Optimized data type recommendations for IDs, currency, and time
03Row Level Security (RLS) performance optimization templates
04Advanced SQL patterns for UPSERT, cursor pagination, and job queues
05Comprehensive indexing guide for B-tree, GIN, and BRIN types
0643,117 GitHub stars
ユースケース
01Implementing secure multi-tenant access control using Row Level Security
02Identifying and fixing slow-running SQL queries in production environments
03Designing a performant database schema for a new high-traffic application