neon-postgres

Configure and manage Neon Serverless Postgres integrations across development, testing, and production.

78|38|Updated Oct 20, 2022
One-click install
npx skills add https://github.com/neondatabase/examples --skill neon-postgres-neondatabase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neon-postgres
Source: https://github.com/neondatabase/examples/tree/main/bots/discord-bot-http/.agents/skills/neon-postgres
Command: npx skills add https://github.com/neondatabase/examples --skill neon-postgres-neondatabase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the friction of setting up, configuring, and optimizing Neon Serverless Postgres integrations, removing the need to sift through scattered documentation to find accurate, up-to-date best practices for your specific use case.

Core Features & Use Cases

  • End-to-End Setup Guidance: Walks users through first-time Neon project creation, DATABASE_URL configuration, and driver selection tailored to any runtime (edge, serverless, long-running).
  • Advanced Feature Support: Covers branching for preview environments, autoscaling, scale-to-zero, read replicas, connection pooling, and Neon Auth for user authentication.
  • Use Case: A developer building a serverless Next.js app on Vercel can use this skill to correctly configure a pooled Drizzle connection, set up Neon Auth for user logins, and create isolated preview branches for CI in minutes.

Quick Start

Ask the skill to help you set up a new Neon project, configure your DATABASE_URL, and select the correct Postgres driver for your Vercel serverless function.

Frequently Asked Questions about neon-postgres

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Neon Serverless Postgres for a serverless application?

Setting up Neon Serverless Postgres involves initial project creation, configuring the DATABASE_URL, and selecting the correct Postgres driver tailored to your runtime, ensuring optimal connectivity for edge and serverless environments.

What is database branching in Neon and how does it work for preview environments?

Database branching in Neon allows you to create isolated copies of your database for preview environments. It works by enabling developers to spin up test branches for CI without affecting production data, simplifying testing workflows.

Can I use Neon Postgres with edge runtimes and connection pooling?

Yes, Neon Postgres supports edge runtimes and connection pooling. The skill provides driver selection guidance specifically tailored for edge and serverless runtimes to maintain best-practice Postgres connectivity.

How do I configure autoscaling and scale-to-zero for a serverless Postgres database?

Configuring autoscaling and scale-to-zero for a serverless Postgres database is handled through Neon's advanced feature support, allowing your database resources to automatically adjust based on demand and scale down when inactive.

Does Neon Auth work for user authentication in a Next.js serverless app?

Yes, Neon Auth works for user authentication in serverless applications. The skill covers integrating Neon Auth to manage user logins seamlessly alongside your Postgres database setup in frameworks like Next.js.

What is the best way to manage Neon Postgres infrastructure as code?

The best way to manage Neon Postgres infrastructure as code is by using neon.ts configuration, or programmatically controlling resources via the CLI, MCP server, and official SDKs to ensure best-practice deployments.