Neon Serverless Postgres
Ship on Neon serverless Postgres. Covers scale-to-zero compute, instant database branching for previews, connection pooling, the serverless driver over HTTP/WebSocket, and autoscaling for cost-efficient Postgres on edge and serverless runtimes.
This skill helps you build on Neon's serverless Postgres. It sets up scale-to-zero projects, creates database branches per pull request for isolated previews, configures pooled and direct connections, uses the Neon serverless driver from edge functions, and tunes autoscaling and cold-start behavior for cost-efficient, high-concurrency workloads.
When to use
Use when building on Neon — serverless Postgres, database branching for preview environments, connection pooling, the HTTP/WebSocket serverless driver, or autoscaling and scale-to-zero configuration.
Examples
Branch per PR
Isolated preview databases
Set up Neon database branching in CI so every pull request gets an isolated copy of production data, and tear it down when the PR closes
Edge serverless driver
Query from edge functions
Configure the Neon serverless driver to query Postgres over HTTP from a Vercel edge function with pooled connections