后端与数据库

neon-postgres

neondatabase/ag…t-skills

Guides and best practices for working with Lakebase Postgres on Neon: connections, pooled vs direct, schema migrations, branching, autoscaling, scale-to-zero, instant restore, read replicas, IP allow lists, logical replication, 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", "@neondatabase/neon-js", "neon inspect db", "semantic search", "vector search", "full-text search", "BM25", or "hybrid search".

  • 29.3万 次安装
  • 107 星标
  • 收录于

安装命令

npx skills add https://github.com/neondatabase/agent-skills --skill neon-postgres

要点

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

  • Covers getting started, local development setup, connection method selection (TCP, HTTP, WebSocket), and driver installation for any language or framework
  • Includes Neon-specific features: autoscaling, branching (instant copy-on-write clones), scale-to-zero, instant restore, and read replicas
  • Provides CLI tooling (neonctl), TypeScript/Python SDKs, and REST API documentation for programmatic resource management and CI/CD automation
  • Guides on Neon Auth integration, connection pooling for serverless environments, IP allow lists, and logical replication workflows

SKILL.md

FIRST: Use the parent neon skill for a Neon overview, getting started with Neon, Neon development best practices, and more.

If the neon skill is not installed, fetch it from https://neon.com/docs/ai/skills/neon/SKILL.md or install it with:

neon skills -s neon -y

Lakebase Postgres

Lakebase Postgres is the database at the core of Neon. It runs on the lakebase architecture — OLTP built directly on cloud object storage — which decouples storage from compute to offer autoscaling, branching, instant restore, and scale-to-zero. It's fully compatible with Postgres and works with any language, framework, or ORM that supports Postgres.

It is the same database whether you reach it through Neon or through Databricks; this skill covers the Neon access path.

Login, users, sessions, and @neondatabase/auth belong in neon-auth.

Live queries, reactive UIs, and realtime data belong in neon-realtime.

Setup Flow