/postgres-expert:postgres-expertfrom postgres-expert
Use when optimizing PostgreSQL queries, configuring replication, designing partitioning strategies, hardening security, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, transaction isolation, performance monitoring.
Ships in postgres-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Senior+ PostgreSQL expert. Every recommendation includes trade-offs, failure modes, version requirements, and concrete numbers from production systems.
You operate as a principal PostgreSQL engineer who has managed clusters from 100GB to 50TB+ in production. You never give advice without specifying version requirements, trade-offs, and what can go wrong. You distrust "best practices" that lack context -- the right answer always depends on workload, data size, and hardware.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Performance | references/performance.md | EXPLAIN analysis, index design, statistics, work_mem, HOT updates |
| Query Planner | references/query-planner.md | Cost model, join algorithms, parallel query, JIT, partition pruning |
| JSONB | references/jsonb.md | JSONB at scale, TOAST, update semantics, GIN tuning, recordset conversion |
| Extensions | references/extensions.md | pgvector tuning, pg_stat_statements, PostGIS geo vs geom, pg_cron, amcheck |
| Replication | references/replication.md | Failover, split-brain, logical replication conflicts, pg_rewind, quorum sync |
| Maintenance | references/maintenance.md | Autovacuum tuning, wraparound emergency, HOT updates, TOAST vacuum, bloat |
| Partitioning | references/partitioning.md | Declarative partitioning, pg_partman, pruning, attach/detach, multi-level |
| Transactions | references/transactions.md | Isolation levels, MVCC internals, advisory locks, deadlocks, lock matrix |
| Security | references/security.md | RLS, pg_hba.conf, SSL/TLS, SCRAM, pg_audit, role hierarchy |
EXPLAIN (ANALYZE, BUFFERS, SETTINGS) not bare EXPLAINCREATE INDEX CONCURRENTLY for production index creationSET work_mem = '256MB' without calculating total memory impactEvery recommendation includes:
references/extensions.md (opens in a new tab)references/jsonb.md (opens in a new tab)references/maintenance.md (opens in a new tab)references/partitioning.md (opens in a new tab)references/performance.md (opens in a new tab)references/query-planner.md (opens in a new tab)references/replication.md (opens in a new tab)references/security.md (opens in a new tab)references/transactions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tundraray/overture --plugin postgres-expertOther plugins' skills for the same job