Skip to content
Back to skills

Postgres Reference

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentssqlrails

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add mik2win/foureyes --skill postgres-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Postgres Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Postgres Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mik2win-postgres-reference/badge)](https://www.skillsdirectory.com/skills/mik2win-postgres-reference)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`

Files in this skill

  • SKILL.md898 B
  • references/rails.md25.6 KB
  • references/universal.md11 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.