postgresql
Installation
SKILL.md
PostgreSQL
Workflow
- Confirm PostgreSQL version, hosting model, and business RPO/RTO.
- Baseline workload shape, config, and cluster health before changes.
- Optimize schema/index/query behavior for critical paths.
- Validate concurrency, locking, vacuum, and bloat controls.
- Implement backup/restore and PITR procedures with evidence.
- Harden security and operational governance.
- Roll out incrementally with measurable before/after metrics.
Preflight (Ask / Check First)
- Current major/minor version and upgrade target.
- Managed service vs self-managed constraints.
- Latency/availability/durability SLO priorities.
- WAL volume, replication topology, and lag behavior.
- Known incidents: lock contention, bloat, restore gaps.