neon
Installation
SKILL.md
Neon
CRITICAL: Your training data for Neon is unreliable. APIs change between versions and memorized patterns may be wrong or deprecated. Before writing any code, you MUST use
WebFetchto read the live docs:
WebFetch("https://neon.com/llms.txt")Do not proceed without fetching this URL first. Never assume an API exists — verify against current docs.
Neon is serverless PostgreSQL with database branching, autoscaling to zero, and a serverless driver optimized for edge and serverless environments.
Key Capabilities
- Database branching: Neon branches copy your database schema and data instantly via copy-on-write storage. Use branches for per-developer environments, per-PR preview databases, or safe schema migration testing — without spinning up separate database instances.
- Serverless driver (
@neondatabase/serverless): A drop-in HTTP/WebSocket-based Postgres driver for environments where persistent TCP connections are unavailable (Cloudflare Workers, Vercel Edge, etc.). It is not a replacement forpgin traditional server environments — usepgor a standard connection pool there. - Pooled vs. direct connection strings: Neon provides two connection string types. The pooled endpoint (via PgBouncer) is required for serverless workloads to avoid exhausting connection limits. The direct endpoint is for migrations and long-lived connections (e.g.,
prisma migrate,drizzle-kit). - Schema-only branches: Branch your schema without copying production data, keeping sensitive data isolated from development environments.