Skip to content

Comprehensive PostgreSQL skill covering table design, extensions, search, TimescaleDB, and safe migrations through specialized references.

CCM score
53 of 100
skills.sh installs
1.5K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers schema exploration, table design, pgvector and PostGIS, hybrid BM25 search, TimescaleDB hypertables, and zero-downtime migrations
  • Includes 9 reference guides, each scoped to one task such as design-postgres-tables, pgvector-semantic-search, or postgres-database-migration
  • Includes DDL lock guidance, timeout strategies, and fork-based testing for planning schema changes on production databases
  • Designed for developers who need PostgreSQL work routed to the right reference, from exploring an existing database to converting tables to hypertables

Install

$ npx -y skills add timescale/pg-aiguide --skill postgres -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PostgreSQL Expert Skills

This skill provides comprehensive PostgreSQL expertise through specialized references. Load the appropriate reference based on the task.

Available References

Existing Databases

  • schema-exploration — Read-only, question-driven exploration of schemas, tables, views, routines, triggers, RLS, and extensions using pg_catalog. Use to understand an existing database before designing changes or writing queries.

Table Design

  • design-postgres-tables — Data types, constraints, indexes, JSONB patterns, partitioning, and PostgreSQL best practices. Use for any general table/schema design task.
  • design-postgis-tables — PostGIS spatial table design: geometry vs geography types, SRIDs, spatial indexing, and location-based query patterns. Use when the task involves geographic or spatial data.

Details

Repository
github.com/timescale/pg-aiguide
Category
Databases
First seen
Jun 3, 2026

Questions

What is the postgres skill for?

The postgres skill covers PostgreSQL database work, including table design, indexing, data types, constraints, extensions such as pgvector, PostGIS and TimescaleDB, search, and safe schema migrations. It is meant for agents helping a developer design or modify Postgres schemas and data models.

How do I install the postgres skill?

Run npx -y skills add timescale/pg-aiguide --skill postgres -y in your project to install the postgres skill. Once installed, the agent can load its references for tasks such as pgvector semantic search or hypertable setup.

Does the postgres skill work with pgvector and PostGIS?

Yes, the postgres skill includes references for pgvector embeddings and semantic search, hybrid BM25 and vector search, and PostGIS spatial table design. It also covers TimescaleDB hypertables for time-series data.

Where does the postgres skill stand in the Databases category?

The postgres skill is listed in the Databases category on Claude Marketplaces, alongside supabase-postgres-best-practices and several Prisma skills. What sets it apart is its focus on the full range of Postgres extensions and migration planning in one skill.

More from timescale/pg-aiguide

All 8

Similar to Postgres

More Databases