Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.
Neon Postgres Skill
Neon's official agent skill for serverless Postgres — connection strings and drivers, pooled vs direct connections, branching, autoscaling, scale-to-zero, read replicas and logical replication.
Install
Other ways to install
About
- Pooled vs direct connection guidance and DATABASE_URL conventions
- Driver selection: @neondatabase/serverless for edge vs pg for servers
- Database branching as copy-on-write clones for migrations and per-PR databases
- Autoscaling, scale-to-zero and cold-start behaviour
- Read replicas, instant restore and logical replication
- IP allow lists and connection pooling limits
Neon is Postgres with compute separated from storage, and almost every question a developer asks about it comes from that split. Which connection string do I use? Why did my first query take a second? What does a branch actually copy? This official skill from Neon answers those in the shape an agent needs while it is writing code.
Connections are the bulk of it: pooled versus direct endpoints and when each is correct, DATABASE_URL conventions, and driver choices — the serverless HTTP driver @neondatabase/serverless for edge and Workers runtimes versus a normal TCP pg connection for long-lived servers. Getting this wrong is the most common cause of connection exhaustion on serverless platforms, and the skill is explicit about it.
Branching is Neon's headline feature and the skill treats it as a workflow rather than a button. Branches are instant copy-on-write clones with their own endpoint, which makes it practical to run a schema migration against a real copy of production data instead of a dump-and-restore cycle, or to give each pull request its own database.
Elasticity — autoscaling and scale-to-zero — is covered along with the consequence you have to design around: a cold start on the first query after an idle period. Instant restore, read replicas, connection pooling limits, IP allow lists and logical replication round out the surface.
The skill is one of a set. It declares neon as its parent skill, which carries the platform overview and getting-started material, and it sits alongside claimable-postgres for provisioning and neon-postgres-egress-optimizer for reducing data-transfer cost. Neon works with any Postgres driver, ORM or framework, so the guidance applies whether you are on Drizzle, Prisma, SQLAlchemy or raw SQL.
Install: npx skills add https://github.com/neondatabase/agent-skills --skill neon-postgres, or /plugin install neon-postgres@neon in Claude Code. Apache-2.0 licensed.
Try it
Once installed, ask your agent something like:
Wire this Cloudflare Worker to Neon using the serverless driver, and create a branch so I can test the migration against production data first.
SKILL.md
The instructions your agent loads, as published by Neon.
Related Skills
See all Neon Postgres alternativesThe master skill in PlanetScale's official pack: runs a full read-only best-practices assessment of a database or org, then produces one evidence-backed report.
Supabase's official skill covering Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron and Queues — with a hard rule to verify against the live changelog before writing code.
Skill: Supabase Postgres Best Practices
by Supabase
Supabase's official Postgres skill — eight rule categories ranked by impact, each with wrong-vs-right SQL and EXPLAIN output, for schema, RLS, indexing and query work on Postgres anywhere.