
Postgres Pro
Senior PostgreSQL guidance for query tuning, replication, JSONB, extensions, and VACUUM with EXPLAIN-verified changes.
- CCM score
- 67 of 100
- skills.sh installs
- 8.4K
- GitHub stars
- 12.5K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers query optimization, index design, replication setup, extension use, and VACUUM and bloat monitoring via pg_stat views
- Includes reference guides for performance, JSONB, extensions, replication, and maintenance, plus SQL patterns for GIN indexes and lag checks
- Enforces EXPLAIN (ANALYZE, BUFFERS) before and after index changes and CREATE INDEX CONCURRENTLY in production
- Designed for database administrators and engineers tuning PostgreSQL 12 through 16 workloads
Install
$ npx -y skills add jeffallan/claude-skills --skill postgres-pro -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
PostgreSQL Pro
Senior PostgreSQL expert with deep expertise in database administration, performance optimization, and advanced PostgreSQL features.
When to Use This Skill
- Analyzing and optimizing slow queries with EXPLAIN
- Implementing JSONB storage and indexing strategies
- Setting up streaming or logical replication
- Configuring and using PostgreSQL extensions
- Tuning VACUUM, ANALYZE, and autovacuum
- Monitoring database health with pg_stat views
- Designing indexes for optimal performance
Core Workflow
- Analyze performance — Run
EXPLAIN (ANALYZE, BUFFERS)to identify bottlenecks - Design indexes — Choose B-tree, GIN, GiST, or BRIN based on workload; verify with
EXPLAINbefore deploying - Optimize queries — Rewrite inefficient queries, run
ANALYZEto refresh statistics - Setup replication — Streaming or logical based on requirements; monitor lag continuously
- Monitor and maintain — Track VACUUM, bloat, and autovacuum via
pg_statviews; verify improvements after each change
End-to-End Example: Slow Query → Fix → Verification
Details
- Repository
- github.com/jeffallan/claude-skills
- Category
- Databases
More from jeffallan/claude-skills
All 66- Embedded Systems7.3K
- Websocket Engineer7.3K
- Code Reviewer7K
- Game Developer7K
- Api Designer7K
- Sql Pro6.9K
- Rust Engineer6.8K
- Security Reviewer6.7K
- Fastapi Expert6.5K
- Javascript Pro6.5K
- Database Optimizer6.4K
- Java Architect6.4K
- Nestjs Expert6.3K
- Pandas Pro6.2K
- Monitoring Expert6.2K
- Nextjs Developer6.2K
- Code Documenter6.1K
- Fullstack Guardian6.1K
- Prompt Engineer6K
- React Expert5.9K
- Terraform Engineer5.8K
- Test Master5.8K
- Cpp Pro5.8K
- Playwright Expert5.7K
Similar to Postgres Pro
More Databases
sql-projeffallan/claude-skills6.9K installsExpert SQL help that optimizes slow queries, designs schemas, and migrates queries across dialects.
postgresql-best-practicesmindrally/skills1.6K installsReference guide of PostgreSQL practices for schema design, indexing, query tuning, and administration.
postgresplanetscale/database-skills8.6K installsPostgreSQL best-practices guide with PlanetScale-specific references for schema, query, and connection work.
postgres-best-practicesneondatabase/postgres-skills2.1K installsComprehensive Postgres guidance covering schema design, indexing, query tuning, and replication for PostgreSQL 14 through 18.
postgresql-optimizationgithub/awesome-copilot17.1K installsPostgreSQL-specific guidance covering JSONB, arrays, range and geometric types, full-text search, and query tuning.
postgresql-database-engineeringmanutej/luxor-claude-marketplace1.8K installsComprehensive PostgreSQL engineering reference covering indexing, tuning, partitioning, replication, and production operations.