Individual skill
postgres
Use this skill for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migrations. **Trigger when user asks to:** - Explore an existing PostgreSQL database to understand its objects and relationships - Design or modify PostgreSQL tables, schemas, or data models - Choose data types, constraints, indexes, or partitioning strategies - Work with pgvector embeddings, semantic search, or RAG - Set up full-text search, hybrid search, or BM25 ranking - Use PostGIS for spatial/geographic data - Set up TimescaleDB hypertables for time-series data - Migrate tables to hypertables or evaluate migration candidates - Plan or execute safe schema migrations with zero downtime **Keywords:** PostgreSQL, Postgres, SQL, schema, table design, indexes, constraints, pgvector, PostGIS, TimescaleDB, hypertable, semantic search, hybrid search, BM25, time-series, migration
skills/postgres/SKILL.md
Source commit c39008a2773f75d63037e8eecf937456204786ba
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,884
- Repository last updated
- Nov 9, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- ai-agents Repository topic
- ai-coding Repository topic
- claude-marketplace Repository topic
- claude-plugin Repository topic
- claude-skills Repository topic
- docs Repository topic
- documentation Repository topic
- mcp Repository topic
- mcp-server Repository topic
- data Derived category
- design Derived category
- data-databases Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 3,784 bytesreferences/backfill-strategies.mddoc · 2,389 bytesreferences/complete-example.mddoc · 2,091 bytesreferences/design-postgis-tables.mddoc · 16,924 bytesreferences/design-postgres-tables.mddoc · 16,881 bytesreferences/find-hypertable-candidates.mddoc · 10,525 bytesreferences/migrate-postgres-tables-to-hypertables.mddoc · 15,068 bytesreferences/pgvector-semantic-search.mddoc · 15,106 bytesreferences/postgres-database-migration.mddoc · 24,796 bytesreferences/postgres-hybrid-text-search.mddoc · 12,600 bytesreferences/schema-exploration/guide.mddoc · 4,382 bytesreferences/schema-exploration/references/data-values.mddoc · 5,874 bytesreferences/schema-exploration/references/extensions.mddoc · 1,875 bytesreferences/schema-exploration/references/foreign-tables.mddoc · 4,015 bytesreferences/schema-exploration/references/overview.mddoc · 6,026 bytesreferences/schema-exploration/references/partitioning-and-inheritance.mddoc · 6,844 bytesreferences/schema-exploration/references/psql.mddoc · 2,159 bytesreferences/schema-exploration/references/query-authoring.mddoc · 2,198 bytesreferences/schema-exploration/references/routines.mddoc · 2,921 bytesreferences/schema-exploration/references/security.mddoc · 2,530 bytesreferences/schema-exploration/references/tables.mddoc · 7,915 bytesreferences/schema-exploration/references/triggers.mddoc · 1,640 bytesreferences/schema-exploration/references/views.mddoc · 2,507 bytesreferences/setup-timescaledb-hypertables.mddoc · 18,850 bytesreferences/validation-queries.mddoc · 3,527 bytes
Read excerpt
# 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](references/schema-exploration/guide.md)** — 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](references/design-postgres-tables.md)** — Data types, constraints, indexes, JSONB patterns, partitioning, and PostgreSQL best practices. **Use for any general table/schema design task.**
- **[design-postgis-tables](references/design-postgis-tables.md)** — 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.**
### Search