PostgreSQL development for Python with full-text search (tsvector, tsquery, BM25 via pg_search), vector similarity (pgvector with HNSW/IVFFlat), JSONB and array indexing, and production deployment.
- Full-text Search: tsvector, tsquery, GIN indexes, ts_rank
- BM25 Search: pg_search/ParadeDB integration
- Vector Similarity: pgvector with HNSW and IVFFlat indexes
- JSONB Indexing: GIN indexes, containment queries
- Python Drivers: psycopg2, psycopg3, asyncpg, SQLAlchemy
- Cloud Deployment: AWS RDS/Aurora, GCP Cloud SQL/AlloyDB, Azure
Use this skill when:
- Creating search features with PostgreSQL
- Storing and querying AI embeddings
- Optimizing PostgreSQL indexes
- Setting up Docker development environments
- Deploying to cloud providers (AWS, GCP, Azure)
The recommended way to install this skill across different AI coding agents is using the skilz universal installer.
pip install skilzThis skill supports Agent Skill Standard which means it supports 14 plus coding agents including Claude Code, OpenAI Codex, Cursor and Gemini.
You can use either -g or --git with HTTPS or SSH URLs:
# HTTPS URL
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skill
# SSH URL
skilz install --git git@github.com:SpillwaveSolutions/mastering-postgresql-agent-skill.gitInstall to user home (available in all projects):
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skillInstall to current project only:
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skill --projectInstall for OpenCode:
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skill --agent opencodeProject-level install:
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skill --project --agent opencodeProject-level install for Gemini:
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skill --agent geminiInstall for OpenAI Codex:
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skill --agent codexProject-level install:
skilz install -g https://github.com/SpillwaveSolutions/mastering-postgresql-agent-skill --project --agent codex# Claude to user home dir ~/.claude/skills
skilz install SpillwaveSolutions_mastering-postgresql-agent-skill/mastering-postgresql
# Claude skill in project folder ./claude/skills
skilz install SpillwaveSolutions_mastering-postgresql-agent-skill/mastering-postgresql --project
# OpenCode install to user home dir ~/.config/opencode/skills
skilz install SpillwaveSolutions_mastering-postgresql-agent-skill/mastering-postgresql --agent opencode
# OpenCode project level
skilz install SpillwaveSolutions_mastering-postgresql-agent-skill/mastering-postgresql --agent opencode --project
# OpenAI Codex install to user home dir ~/.codex/skills
skilz install SpillwaveSolutions_mastering-postgresql-agent-skill/mastering-postgresql --agent codex
# OpenAI Codex project level ./.codex/skills
skilz install SpillwaveSolutions_mastering-postgresql-agent-skill/mastering-postgresql --agent codex --project
# Gemini CLI (project level) -- only works with project level
skilz install SpillwaveSolutions_mastering-postgresql-agent-skill/mastering-postgresql --agent geminiSee this site skill Listing to see how to install this exact skill to 14+ different coding agents.
Skilz supports 14+ coding agents including Claude Code, OpenAI Codex, OpenCode, Cursor, Gemini CLI, GitHub Copilot CLI, Windsurf, Qwen Code, Aidr, and more.
For the full list of supported platforms, visit SkillzWave.ai/platforms or see the skilz-cli GitHub repository
mastering-postgresql/
├── SKILL.md # Main skill documentation
├── references/ # Detailed reference guides
│ ├── setup-and-docker.md
│ ├── search-fulltext.md
│ ├── search-vectors-json.md
│ ├── python-drivers.md
│ ├── python-queries.md
│ └── cloud-deployments.md
├── scripts/ # Utility scripts
│ ├── setup_extensions.py
│ ├── create_search_tables.py
│ ├── bulk_operations.py
│ ├── health_check.py
│ ├── vector_search.py
│ ├── db_utils.py
│ └── requirements.txt
└── assets/ # Configuration templates
├── docker-compose-pgvector.yml
├── docker-compose-paradedb.yml
├── postgresql.conf
└── schema-templates.sql
After installing the skill, start with the Quick Start section in mastering-postgresql/SKILL.md to:
- Start PostgreSQL with pgvector using Docker
- Enable required extensions
- Create searchable tables with vector columns
- Query from Python using asyncpg
MIT License
Largest Agentic Marketplace for AI Agent Skills and SpillWave: Leaders in AI Agent Development.