Worked SQL/DDL examples for PostgreSQL conventions — data types, indexing (B-tree/GIN/ GiST/BRIN), constraints, queries, EXPLAIN, JSON/arrays, and Rails-specific patterns. CONSULT when writing migrations, schema, or SQL and you need the idiomatic example or an index/constraint pattern. Reference loaded on demand — the always-apply rules live in the `postgresql-universal` and `postgresql-rails` rules.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add mik2win/foureyes --skill postgres-reference --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Postgres Reference?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/mik2win-postgres-reference)More formats (shields.io, HTML) on the badges page.
---
name: postgres-reference
description: >-
Worked SQL/DDL examples for PostgreSQL conventions — data types, indexing (B-tree/GIN/
GiST/BRIN), constraints, queries, EXPLAIN, JSON/arrays, and Rails-specific patterns.
CONSULT when writing migrations, schema, or SQL and you need the idiomatic example or an
index/constraint pattern. Reference loaded on demand — the always-apply rules live in the
`postgresql-universal` and `postgresql-rails` rules.
allowed-tools:
- Read
- Grep
- Glob
---
# PostgreSQL — worked examples
Companion to the `postgresql-universal` and `postgresql-rails` rules. Read the reference file
(in this skill's folder) for what you need:
- **Universal** — types, indexes, constraints, queries, EXPLAIN, JSON/arrays → `references/universal.md`
- **Rails-specific** — migrations, schema, ActiveRecord ↔ Postgres patterns → `references/rails.md`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.