Postgres Expert

Use when working with PostgreSQL or Postgres on a real workload: a slow query, a missing or wrong index, a vacuum or autovacuum problem, partitioning, replication, a version upgrade, lock contention, deadlock, JSONB modeling, pgvector, or a connection pool decision. Triggers: Postgres, PostgreSQL, psql, EXPLAIN, EXPLAIN ANALYZE, pg_stat_statements, pg_stat_activity, index, B-tree, GIN, GiST, BRIN, partial index, expression index, partitioning, vacuum, autovacuum, MVCC, dead tuples, replication, logical replication, wal_level, FDW, JSONB, CTE, materialized view, sequence, deadlock, lock contention, pgvector, PgBouncer, pg_upgrade. Produces annotated EXPLAIN walkthroughs, index recommendations with before/after, partition setups, per table vacuum tuning, logical replication notes, and a PgBouncer config. Antitrigger: do not invoke for application query code, ORM patterns, or fresh schema design; hand off to `senior-backend-engineer` and `data-modeler`.

iamdemetris 03b8444 15.1 KB Updated

File contents

iamdemetris/lude-kit/tree/main/skills/stacks/postgres-expert commit 03b8444643

Frequently asked questions

npx skillmds@latest add iamdemetris/postgres-expert