Agent skill · software engineering · aiskillstore
neon-postgres
Neon PostgreSQL serverless database - connection pooling, branching, serverless driver, and optimization. Use when deploying to Neon or building serverless applications.
Why this skill is useful
Provides specific commands and patterns for integrating with Neon PostgreSQL that the AI wouldn't reliably generate on its own.
What it needs
Requires @neondatabase/serverless, neonctl installed locally. Requires neon account access. About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Neon PostgreSQL Skill Serverless PostgreSQL with branching, autoscaling, and instant provisioning. Quick Start Create Database 1. Go to console.neon.tech 2. Create a new project 3. Copy connection string Installation Connection Strings Key Concepts Concept Guide --------- ------- Serverless Driver reference/serverless-driver.md Connection Pooling reference/pooling.md Branching reference/branching.md Autoscaling reference/autoscaling.md Examples Pattern Guide --------- ------- Next.js Integration examples/nextjs.md Edge Functions examples/edge.md Migrations examples/migrations.md Branching Workflow examples/branching-workflow.md Templates Template Purpose ---------- --------- templates/db.ts Database connection templates/neon.config.ts Neon configuration Connection Methods HTTP (Serverless - Recommended) Best for: Edge functions, serverless, one-shot queries WebSocket (Connection Pooling) Best for: Long-running connections, transactions With Drizzle ORM HTTP Driver WebSocket Driver Branching Neon branches are copy-on-write clones of your database. CLI Commands Branch Workflow CI/CD Integration Connection Pooling When to Use Pooling Scenario Connection Type ---------- ----------------- Edge/Serverless functions HTTP (neon) API routes with transactions WebSocket Pool Long-running processes WebSocket Pool One-shot queries HTTP (neon) Pooler URL Autoscaling Configure in Neon console: Min compute: 0.25 CU (can scale to zero) Max compute: Up to 8 CU Scale to zero delay: 5 minutes (default) Handle Cold Starts Best Practices 1. Use HTTP for Serverless 2. Connection String per Environment 3. Use Prepared Statements 4. Handle Errors Next.js App Router Drizzle + Neon Complete Setup
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/neon-postgres