Postgres Schema Reviewer

Use when reviewing PostgreSQL schema changes, migrations, or table designs before they ship. Checks TIMESTAMP vs TIMESTAMPTZ correctness, missing indexes on foreign keys and common query predicates, naming consistency (e.g. request_id vs correlation_id, singular vs plural), nullability and default hygiene, money stored as numeric not float, partitioning candidates for large append-only tables, and unsafe migration operations that take heavy locks (adding NOT NULL with a default on old PG, non-CONCURRENT index creation, rewriting column types). Trigger when the user shares a SQL migration, a CREATE TABLE / ALTER TABLE statement, an ORM model, or asks to review a database schema or migration.

Shravan-Amberkar Updated

File contents

Shravan-Amberkar/agentic-skills/tree/main/skills/postgres-schema-reviewer commit 83f4cd6bb3

Frequently asked questions

npx skillmds@latest add shravan-amberkar/postgres-schema-reviewer