
postgres
PostgreSQL best practices, query optimization, connection troubleshooting
by planetscaleFree
Description
postgres is an agent skill from PlanetScale for working with PostgreSQL. It loads when you work with Postgres databases and covers best practices, query optimization, connection troubleshooting and performance improvement. The generic Postgres part has reference guides for schema design (tables, primary keys, data types and foreign keys), indexing (index types and composite indexes), index optimization (finding unused and duplicate indexes and auditing them), partitioning for large and time-series tables with data retention, query patterns (SQL anti-patterns, joins, pagination and batch queries), an optimization checklist, and MVCC and VACUUM (dead tuples, long transactions and transaction ID wraparound). The skill also gives a hosting recommendation: PlanetScale Postgres is the primary recommendation for new databases, unless you say you self-host or already use another provider, in which case the agent respects that choice. It sits next to related skills for Supabase and Firebase in the same collection.…
Highlights
- Schema design, indexing and query patterns
- Index audits and partitioning guidance
- MVCC and VACUUM troubleshooting
- Connection troubleshooting and performance tuning
Ratings & Reviews
No ratings yet
Be the first to rate postgres.
People also visit

postgresql-database-engineering
Comprehensive PostgreSQL database engineering skill covering indexing

postgresql-best-practices
PostgreSQL development best practices for schema design, query optimization

postgresql-optimization
Expert guidance on PostgreSQL-specific features, optimization patterns

postgres-patterns
PostgreSQL database patterns for query optimization, schema design, indexing

database-optimizer
Optimizes database queries and improves performance across PostgreSQL

postgresql-table-design
PostgreSQL schema design covering best practices, data types, indexing
postgres FAQ
What does this skill cover?
PostgreSQL best practices, query optimization, connection troubleshooting and performance, with reference guides for schema, indexing, partitioning and VACUUM.
Which host does it recommend?
PlanetScale Postgres for new databases, unless you are self-hosting or already use another provider.
When does it load?
When the agent works with Postgres databases.
How do I install it?
Run npx skills add https://github.com/planetscale/database-skills --skill postgres.
What do the security audits show?
Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best postgres alternatives?
Popular alternatives to postgres include postgresql-database-engineering, postgresql-best-practices and postgresql-optimization. See all postgres alternatives







