neondatabase avatar

Postgres Best Practices

A solid reference for keeping your Postgres work clean and performant. Covers the fundamentals you actually need: schema design patterns, indexing strategies, query optimization techniques, and migration practices. The kind of skill that's most useful when you're about to make a decision you might regret later, like choosing between JSONB and a normalized table structure, or wondering why your query is crawling. It won't make you a database expert overnight, but it'll save you from common mistakes and give you a framework for thinking through database decisions systematically instead of guessing.

skills.sh installs
2K
GitHub stars
55
last updated
Aug 21, 2026

Install

$ npx -y skills add neondatabase/postgres-skills --skill postgres-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

Postgres Best Practices

Guidelines and best practices for working with Postgres, covering schema design, indexing, query optimization, and common pitfalls.

Supported Versions

This skill covers PostgreSQL 14 through 18. Version-specific features are tagged (e.g., [PG15+], [PG18+]); environment-dependent examples identify required privileges, extensions, or multi-node setup.

PostgreSQL provides 5 years of support per major version. Always run the latest minor release.

VersionInitial ReleaseEnd of Life
18September 2025November 2030
17September 2024November 2029
16September 2023November 2028
15October 2022November 2027
14September 2021November 2026

Source: postgresql.org/support/versioning

References

Sponsors

Details

Repository
github.com/neondatabase/postgres-skills
Categories
Backend & APIs, Documentation, Design & UI/UX, Databases
First seen
Jun 3, 2026
1payloadcms avatarcms-migrationpayloadcms/skillsUse when user wants to migrate content from another CMS (WordPress, Contentful, Strapi, Sanity, Webflow, etc.) to Payload CMS2Kskills.sh installs
2apollographql avatarskill-creatorapollographql/skillsGuide for creating effective skills for Apollo GraphQL and GraphQL development. Use this skill when: (1) users want to create a new skill, (2) users want to upd2Kskills.sh installs
3merit-systems avataragentcashmerit-systems/agentcash-skillsPay-per-call x402/MPP APIs (USDC on Base, Solana, Tempo). No API keys—wallet pays per request. If the task matches a SERVICES origin below, SKIP search and go s2Kskills.sh installs
4omer-metin avatartechnical-analysisomer-metin/skills-for-antigravityMaster of price action, chart patterns, and technical indicators - combining classical Wyckoff/Dow theory with modern quantitative validation for edge identific2Kskills.sh installs
5k-dense-ai avatarimaging-data-commonsk-dense-ai/scientific-agent-skillsQuery and download public cancer imaging data from NCI Imaging Data Commons. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data 2Kskills.sh installs
6mcollina avatarnodejs-coremcollina/skillsContributes to and debugs Node.js core, including nodejs/node commit and PR tone, contribution workflows, native crashes, V8 performance, node-gyp builds, N-API2Kskills.sh installs