DuoMDuoM
DuoM: MCP servers, skills and rules for your agent, checked before installContact: studo.doum@gmail.comDocsFor makersReportTermsPrivacy
MCPSkillsStacksRulesDocs
Sign in
N+

Next.js + Neon PostgresStack

by DUOMReport

Next.js with serverless Postgres on Neon: the Neon MCP server, Neon Postgres and Neon Auth skills, and Next.js rules.

Databases7 itemsUpdated yesterdaystack/nextjs-neon

Install

Run in your project folder (DuoM CLI: risk check, then write; undo with npx duom@1 undo)
npx duom@1 add stack/nextjs-neon --client claude-code

Writes to each member's own place (where Claude Code reads it).

What is in it

  • GA
    General Agent Rules

    Baseline rules for any project: read before editing, small diffs, run the checks, never touch secrets.

    Rule
  • N(
    Next.js (App Router)

    Rules for Next.js App Router projects: server components first, data fetching, caching, routing and env vars.

    Rule
  • T
    TypeScript

    Strict TypeScript rules: no any, types at boundaries, narrow unknown input, and keep types close to use.

    Rule
  • Neon

    Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

    MCP
  • Context7

    Up-to-date docs for AI agents

    MCP
  • Neon Postgres

    Guides and best practices for working with Lakebase Postgres on Neon: connections, pooled vs direct, schema migrations, branching (including schema-only, reset-from-parent, and branch-per-PR workflows), autoscaling, scale-to-zero, instant restore, read replicas, IP allow lists, logical replication, egress optimization, and Lakebase Search. Use when the work is an existing DATABASE_URL, SQL, schema, inspect, or search. New backends, Auth, files, Functions, and LLM calls go to the parent `neon` skill. Live queries, reactive UIs, and realtime data go to `neon-realtime`. Also use for "@neondatabase/serverless", "@neon/neon-js", "neon inspect db", "neon postgres computes", "Neon branch", "schema-only branch", "reset branch", "branch per PR", high database bills, network transfer or egress, Free plan limits or a compute suspended over quota (SQLSTATE 53000, HTTP 402), SELECT * optimization, query overfetching, "semantic search", "vector search", "full-text search", "BM25", or "hybrid search"

    Skill
  • Neon Auth

    Add authentication to a new app. Use for "add auth", "add login", Neon Auth (Managed Better Auth), identity routing, sign-up, sign-in, password reset, email OTP, magic links, organizations, phone OTP, OAuth, OAuth server for MCP or third-party OAuth clients, passkeys, MFA, trusted domains, invalid domain, and @neon/auth. No existing identity: default to Managed Better Auth. Keep working Better Auth, Clerk, Supabase Auth, or another IdP. User asked to migrate from Supabase Auth: Managed Better Auth. A required plugin outside Managed support: self-managed Better Auth on a Neon Function or the existing app host. Also use for auth APIs in @neon/neon-js.

    Skill

Risk signals No signals

The signals of every member of this stack. Each member is checked on its own page.