Download for macOS
Skill

neon-serverless

@neondatabase Updated 2026-06-02

Configures Neon Serverless Driver for Next.js, Vercel Edge Functions, AWS Lambda, and other serverless environments. Installs @neondatabase/serverless, sets up environment variables, and creates working API route examples with TypeScript types. Use when users need to connect their application to Neon, fetch or query data from a Neon database, integrate Neon with Next.js or serverless frameworks, or set up database access in edge/serverless environments where traditional PostgreSQL clients don't work.

Install

git clone https://github.com/neondatabase/ai-rules /tmp/ai-rules && ln -s /tmp/ai-rules/neon-plugin/skills/neon-serverless ~/.claude/skills/neon-serverless

From README

Neon Serverless Skill Configures the Neon Serverless Driver for optimal performance in serverless and edge computing environments. When to Use Setting up connections for edge functions (Vercel Edge, Cloudflare Workers) Configuring serverless APIs (AWS Lambda, Google Cloud Functions) Optimizing for low-latency database access Implementing connection pooling for high-throughput apps Not recommended for: Complex multi-statement transactions (use WebSocket Pool), persistent servers (use native PostgreSQL drivers), or offline-first applications.