
Description
postgres-best-practices is an agent skill from Neon that gives a coding agent guidelines for working with PostgreSQL. It covers schema design, indexing strategies, query optimisation, migrations and common pitfalls. The guidance targets PostgreSQL 14 through 18, with features that need a newer version marked by tags such as PG15+ or PG18+, and examples that depend on the environment note the privileges, extensions or multi-node setup they require. The skill also includes the release and end-of-life dates for each supported version and reminds the agent that each major version gets five years of support and that the latest minor release should always be used. It suits developers who want an agent to write and review Postgres schemas and queries with current, version-aware advice. Install with npx skills add https://github.com/neondatabase/postgres-skills --skill postgres-best-practices.…
Highlights
- Schema design and indexing guidance
- Query optimisation and migrations
- Covers PostgreSQL 14 to 18 with version tags
- Notes required privileges and extensions
- Lists support and end-of-life dates
Ratings & Reviews
No ratings yet
Be the first to rate postgres-best-practices.
People also visit

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

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

postgres-drizzle
Write or review PostgreSQL schemas, queries, migrations, and Drizzle ORM code
postgres-best-practices FAQ
What does this skill make the agent do?
It gives the agent best-practice guidance for PostgreSQL schemas, indexes, queries and migrations, including common mistakes to avoid.
Which PostgreSQL versions are covered?
PostgreSQL 14 through 18. Version-specific features are tagged, for example PG15+ or PG18+.
Is it only for Neon?
The skill is published by Neon but its guidelines are about PostgreSQL in general.
How do I install it?
Run npx skills add https://github.com/neondatabase/postgres-skills --skill postgres-best-practices.
What did the security audits find?
The skills.sh page lists: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best postgres-best-practices alternatives?
Popular alternatives to postgres-best-practices include postgresql-best-practices, postgres-patterns and postgres. See all postgres-best-practices alternatives








