Guides PostgreSQL database work including table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search strategies, and safe schema migrations.
Ships in pg. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill provides comprehensive PostgreSQL expertise through specialized references. Load the appropriate reference based on the task.
pg_catalog. Use to understand an existing database before designing changes or writing queries.references/backfill-strategies.md (opens in a new tab)references/complete-example.md (opens in a new tab)references/design-postgis-tables.md (opens in a new tab)references/design-postgres-tables.md (opens in a new tab)references/find-hypertable-candidates.md (opens in a new tab)references/migrate-postgres-tables-to-hypertables.md (opens in a new tab)references/pgvector-semantic-search.md (opens in a new tab)references/postgres-database-migration.md (opens in a new tab)references/postgres-hybrid-text-search.md (opens in a new tab)references/schema-exploration/guide.md (opens in a new tab)references/schema-exploration/references/data-values.md (opens in a new tab)references/schema-exploration/references/extensions.md (opens in a new tab)references/schema-exploration/references/foreign-tables.md (opens in a new tab)references/schema-exploration/references/overview.md (opens in a new tab)references/schema-exploration/references/partitioning-and-inheritance.md (opens in a new tab)references/schema-exploration/references/psql.md (opens in a new tab)references/schema-exploration/references/query-authoring.md (opens in a new tab)references/schema-exploration/references/routines.md (opens in a new tab)references/schema-exploration/references/security.md (opens in a new tab)references/schema-exploration/references/tables.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
postgresql, schema-design, pgvector, postgis, timescaledb, database-migration
11 skills in this plugin
/design-postgis-tablesComprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications/design-postgres-tablesUse this skill for general PostgreSQL table design.
**Trigger when user asks to:**
- Design PostgreSQL tables, schemas, or data models when creating new tables and when modifying existing ones.
- Choose data types, constraints, or indexes for PostgreSQL
- Create user tables, order tables, reference tables, or JSONB schemas
- Understand PostgreSQL best practices for normalization, constraints, or indexing
- Design update-heavy, upsert-heavy, or OLTP-style tables
**Keywords:** PostgreSQL schema, table design, data types, PRIMARY KEY, FOREIGN KEY, indexes, B-tree, GIN, JSONB, constraints, normalization, identity columns, partitioning, row-level security
Comprehensive reference covering data types, indexing strategies, constraints, JSONB patterns, partitioning, and PostgreSQL-specific best practices.
/find-hypertable-candidatesUse this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables.
**Trigger when user asks to:**
- Analyze database tables for hypertable conversion potential
- Identify time-series or event tables in an existing schema
- Evaluate if a table would benefit from Timescale/TimescaleDB
- Audit PostgreSQL tables for migration to Timescale/TimescaleDB/TigerData
- Score or rank tables for hypertable candidacy
**Keywords:** hypertable candidate, table analysis, migration assessment, Timescale, TimescaleDB, time-series detection, insert-heavy tables, event logs, audit tables
Provides SQL queries to analyze table statistics, index patterns, and query patterns. Includes scoring criteria (8+ points = good candidate) and pattern recognition for IoT, events, transactions, and sequential data.
/pg:postgresfrom pg
npx claudepluginhub timescale/pg-aiguide --plugin pg2 plugins in one repository ship this exact skill · first indexed Oct 6, 2026
Other plugins' skills for the same job