Postgres Best Practices
Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use…
Install
Quick install
npx skills add https://github.com/neondatabase/postgres-skills/tree/HEAD/skills/postgres-best-practicesnpx skills add neondatabase/postgres-skills --skill postgres-best-practices --agent claude-codenpx skills add neondatabase/postgres-skills --skill postgres-best-practices --agent cursornpx skills add neondatabase/postgres-skills --skill postgres-best-practices --agent codexnpx skills add neondatabase/postgres-skills --skill postgres-best-practices --agent opencodenpx skills add neondatabase/postgres-skills --skill postgres-best-practices --agent github-copilotnpx skills add neondatabase/postgres-skills --skill postgres-best-practices --agent windsurfMore install options
Shorthand — useful for multi-skill repos:
npx skills add neondatabase/postgres-skills --skill postgres-best-practicesManual — clone the repo and drop the folder into your agent's skills directory:
git clone https://github.com/neondatabase/postgres-skills.gitcp -r postgres-skills/skills/postgres-best-practices ~/.claude/skills/postgres-best-practices
Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use…
postgres-best-practicesby neondatabase
Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use…npx skills add https://github.com/neondatabase/postgres-skills --skill postgres-best-practicesDownload ZIPGitHub
Postgres Best Practices
Guidelines and best practices for working with Postgres, covering schema design, indexing, query optimization, and common pitfalls.
References
AreaResourceWhen to UseSchema Designreferences/schema-design.mdDesigning tables, choosing data types, normalizing
More skills from neondatabase
claimable-postgresby neondatabaseInstant Postgres databases for local development, demos, prototyping, and test environments. No account required. Databases expire after 72 hours unless claimed to a Neon account.neon-postgres-branchesby neondatabaseThe outcome of this skill should be a created Neon branch (or a clear, actionable next step if creation cannot proceed). Choose the correct branch type, then execute branch creation via MCP or CLI.neon-postgres-egress-optimizerby neondatabaseGuide the user through diagnosing and fixing application-side query patterns that cause excessive data transfer (egress) from their Postgres database. Most high egress bills come from the application fetching more data than it uses.plugin-managerby neondatabaseManage plugin structure and configuration for this repository across both Cursor and Claude Code. Use when creating, updating, or reviewing plugin folders…skill-creatorby neondatabaseGuide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's…add-neon-docsby neondatabaseUse this skill when the user asks to add documentation, add docs, add references, or install documentation about Neon. Adds Neon best practices reference links…neon-authby neondatabaseSets up Neon Auth for your application. Configures authentication, creates auth routes, and generates UI components. Use when adding authentication to Next.js,…neon-drizzleby neondatabaseCreates a fully functional Drizzle ORM setup with a provisioned Neon database. Installs dependencies, provisions database credentials, configures connections,…---
Source: https://github.com/neondatabase/postgres-skills/tree/HEAD/skills/postgres-best-practices
Author: neondatabase
Discovered via: mcpservers.org
SKILL.md source
--- name: postgres-best-practices description: Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use… --- # postgres-best-practices Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use… # postgres-best-practicesby neondatabase Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use… `npx skills add https://github.com/neondatabase/postgres-skills --skill postgres-best-practices`Download ZIPGitHub ## Postgres Best Practices Guidelines and best practices for working with Postgres, covering schema design, indexing, query optimization, and common pitfalls. ## References AreaResourceWhen to UseSchema Design`references/schema-design.md`Designing tables, choosing data types, normalizing ## More skills from neondatabase claimable-postgresby neondatabaseInstant Postgres databases for local development, demos, prototyping, and test environments. No account required. Databases expire after 72 hours unless claimed to a Neon account.neon-postgres-branchesby neondatabaseThe outcome of this skill should be a created Neon branch (or a clear, actionable next step if creation cannot proceed). Choose the correct branch type, then execute branch creation via MCP or CLI.neon-postgres-egress-optimizerby neondatabaseGuide the user through diagnosing and fixing application-side query patterns that cause excessive data transfer (egress) from their Postgres database. Most high egress bills come from the application fetching more data than it uses.plugin-managerby neondatabaseManage plugin structure and configuration for this repository across both Cursor and Claude Code. Use when creating, updating, or reviewing plugin folders…skill-creatorby neondatabaseGuide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's…add-neon-docsby neondatabaseUse this skill when the user asks to add documentation, add docs, add references, or install documentation about Neon. Adds Neon best practices reference links…neon-authby neondatabaseSets up Neon Auth for your application. Configures authentication, creates auth routes, and generates UI components. Use when adding authentication to Next.js,…neon-drizzleby neondatabaseCreates a fully functional Drizzle ORM setup with a provisioned Neon database. Installs dependencies, provisions database credentials, configures connections,… --- **Source**: https://github.com/neondatabase/postgres-skills/tree/HEAD/skills/postgres-best-practices **Author**: neondatabase **Discovered via**: mcpservers.org
Related skills 6
azure-storage
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, stora...
azure-kusto
Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.
azure-aigateway
Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection, add Azure OpenAI backend, add AI Foundry model, test AI gateway, LLM policies, configure AI backend, token metrics, AI cost control, convert API to MCP, import OpenAPI to gateway.
azure-compute
Azure VM and VMSS router for recommendations, pricing, autoscale, orchestration, connectivity troubleshooting, capacity reservations, and Essential Machine Management. WHEN: Azure VM, VMSS, scale set, recommend, compare, server, website, burstable, lightweight, VM family, workload, GPU, learning, simulation, dev/test, backend, autoscale, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, connect, refused, Linux, black screen, reset password, reach VM, port 3389, NSG,...
azure-cloud-migrate
Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud Run migration, Fargate to ACA, ECS/Kubernetes/GKE/EKS to Container Apps, Spring Boot to Container Apps, cross-cloud migration.
azure-upgrade
Assess and upgrade Azure workloads between plans, tiers, or SKUs, or modernize Azure SDK dependencies in source code. WHEN: upgrade Consumption to Flex Consumption, upgrade Azure Functions plan, change hosting plan, function app SKU, migrate App Service to Container Apps, modernize legacy Azure Java SDKs (com.microsoft.azure to com.azure), migrate Azure Cache for Redis (ACR/ACRE) to Azure Managed Redis (AMR).