PostgreSQL query optimization, schema design, indexing strategies, and security best practices.
Install
npx skills add skillerdotdev/skills@postgres-patterns -y -g Cross-tool: Claude Code ~/.claude/skills/ · Qoder ~/.qoder/skills/ · TRAE ~/.trae/skills/
SourceTrigger this skill when writing PostgreSQL queries, designing table schemas, or troubleshooting slow queries.
EXPLAIN ANALYZE to inspect execution plans, watch for Seq Scan vs Index ScanSELECT *, query only needed columnsIN lists with JOIN or EXISTSWHERE id > last_id) instead of OFFSETBIGSERIAL or UUID v7 for primary keysTEXT for large strings, not VARCHAR(n)JSONB for JSON storage, supports GIN indexingTIMESTAMPTZ for timestamps, never store timezone-naive times