What problem does it solve? PostgreSQL databases suffer from slow queries, bloated tables, connection exhaustion, and misconfigured replication, and diagnosing these issues requires deep operational knowledge scattered across many topics. ## Core Features & Use Cases - Query and Index Optimization: Identify unused, duplicate, and invalid indexes, fix N+1 patterns, and rewrite anti-patterns like OFFSET pagination into cursor-based queries. - Operations Guidance: Covers VACUUM/autovacuum tuning, XID wraparound prevention, WAL and checkpoint management, backup/PITR strategies, and replication failover. - PlanetScale Integration: Provides PgBouncer pooling configuration, pscale CLI commands, and query insights workflows for PlanetScale-hosted Postgres. - Use Case: When a table grows past 100GB and queries slow down, consult the partitioning and indexing references to plan range partitions, audit indexes, and verify improvements with EXPLAIN ANALYZE. ## Quick Start Ask the assistant to review your slow PostgreSQL query and suggest index and schema improvements using the postgres skill.