postgres
Installation
SKILL.md
PostgreSQL
Official docs
| Topic | URL |
|---|---|
| Documentation | https://www.postgresql.org/docs/current/ |
| Neon MCP | https://neon.tech/docs/ai/neon-mcp-server |
| pgvector | https://github.com/pgvector/pgvector |
Agent rules
- Neon MCP first — when enabled, use MCP for schema checks and SQL; do not guess column names from memory.
- Idempotent migrations —
IF NOT EXISTS, backward-compatible adds before destructive changes. - Indexes — justify new indexes; note write amplification on hot tables.
- Transactions — multi-step writes in explicit transactions; avoid long-held locks.
- Secrets —
DATABASE_URLvia Doppler or env loader; never commit connection strings.