CodeQL, Semgrep and SARIF static-analysis toolkit from Trail of Bits: taint tracking, fast pattern scans and merged, deduplicated security findings for coding agents.
Neon PostgresSkill
Summary
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.
Features
- 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
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
Wire this Cloudflare Worker to Neon using the serverless driver, and create a branch so I can test the migration against production data first.
Description
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.
Related Skills
Microsoft's official Playwright skill — drives a real browser from the command line using accessibility snapshots and element refs, and plans, generates and heals Playwright tests.
Google's official agent skill for writing production Maps Platform code — grounded in freshly fetched docs, with a demo key path that needs no billing account.
Railway's official agent skill: create projects, provision databases and buckets, deploy, manage variables and domains, and read build failures back — from the CLI, API or MCP server.