This skill enhances Claude Code with specialized knowledge for PostgreSQL database management and optimization. It offers comprehensive guidance on query performance through strategic indexing (B-tree, GIN, BRIN), data type selection, and advanced SQL patterns like Row Level Security (RLS), UPSERT operations, and cursor-based pagination. Based on industry best practices, it helps developers build scalable and secure database architectures while proactively identifying anti-patterns such as unindexed foreign keys and table bloat.
主要功能
01Performance-tuned configuration templates for connection pooling and memory
02Best practice guides for PostgreSQL-specific data types
03151 GitHub stars
04Comprehensive indexing cheatsheet for various query patterns
05Anti-pattern detection for slow queries and database maintenance
06Implementation patterns for Row Level Security (RLS) and security hardening
使用场景
01Troubleshooting and optimizing slow SQL queries using advanced indexing strategies
02Designing high-performance database schemas for new production applications
03Implementing secure multi-tenant architectures using Row Level Security policies