neon-postgres

davila7/claude-code-templates · updated Apr 8, 2026

$npx skills add https://github.com/davila7/claude-code-templates --skill neon-postgres
0 commentsdiscussion
summary

Configure Prisma for Neon with connection pooling.

skill.md

Neon Postgres

Patterns

Prisma with Neon Connection

Configure Prisma for Neon with connection pooling.

Use two connection strings:

  • DATABASE_URL: Pooled connection for Prisma Client
  • DIRECT_URL: Direct connection for Prisma Migrate

The pooled connection uses PgBouncer for up to 10K connections. Direct connection required for migrations (DDL operations).

Drizzle with Neon Serverless Driver

Use Drizzle ORM with Neon's serverless HTTP driver for edge/serverless environments.

Two driver options:

  • neon-http: Single queries over HTTP (fastest for one-off queries)
  • neon-serverless: WebSocket for transactions and sessions

Connection Pooling with PgBouncer

Neon provides built-in connection pooling via PgBouncer.

Key limits:

  • Up to 10,000 concurrent connections to pooler
  • Connections still consume underlying Postgres connections
  • 7 connections reserved for Neon superuser

Use pooled endpoint for application, direct for migrations.

⚠️ Sharp Edges

Issue Severity Solution
Issue high See docs
Issue high See docs
Issue high See docs
Issue medium See docs
Issue medium See docs
Issue low See docs
Issue medium See docs
Issue high See docs

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.543 reviews
  • Ava Anderson· Dec 24, 2024

    Useful defaults in neon-postgres — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Amelia Ghosh· Dec 8, 2024

    neon-postgres is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Amelia Jain· Nov 27, 2024

    neon-postgres reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Neel Diallo· Nov 27, 2024

    neon-postgres fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Sofia Rao· Nov 15, 2024

    neon-postgres has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Dhruvi Jain· Oct 22, 2024

    Solid pick for teams standardizing on skills: neon-postgres is focused, and the summary matches what you get after install.

  • Neel Bansal· Oct 18, 2024

    Registry listing for neon-postgres matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Alexander Yang· Oct 18, 2024

    We added neon-postgres from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Sofia Robinson· Oct 6, 2024

    Solid pick for teams standardizing on skills: neon-postgres is focused, and the summary matches what you get after install.

  • Camila Sethi· Sep 25, 2024

    We added neon-postgres from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 43

1 / 5