Guides and best practices for working with Neon Serverless Postgres. Covers getting started, local development with Neon, choosing a connection method, Neon features, authentication (@neondatabase/auth), PostgREST-style data API (@neondatabase/neon-js), Neon CLI, and Neon's Platform API/SDKs. Use for any Neon-related questions.
Add this skill
npx mdskills install sickn33/using-neonWell-organized reference guide with clear trigger conditions and curl-based doc retrieval
1---2name: using-neon3description: "Guides and best practices for working with Neon Serverless Postgres. Covers getting started, local development with Neon, choosing a connection method, Neon features, authentication (@neondatabase/auth), PostgREST-style data API (@neondatabase/neon-js), Neon CLI, and Neon's Platform API/SDKs. Use for any Neon-related questions."4source: "https://github.com/neondatabase/agent-skills/tree/main/skills/neon-postgres"5risk: safe6---78# Neon Serverless Postgres910Neon is a serverless Postgres platform that separates compute and storage 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.1112## When to Use This Skill1314Use this skill when:15- Working with Neon Serverless Postgres16- Setting up Neon databases17- Choosing connection methods for Neon18- Using Neon features like branching or autoscaling19- Working with Neon authentication or APIs20- Questions about Neon best practices2122## Neon Documentation2324Always reference the Neon documentation before making Neon-related claims. The documentation is the source of truth for all Neon-related information.2526Below you'll find a list of resources organized by area of concern. This is meant to support you find the right documentation pages to fetch and add a bit of additonal context.2728You can use the `curl` commands to fetch the documentation page as markdown:2930**Documentation:**3132```bash33# Get list of all Neon docs34curl https://neon.com/llms.txt3536# Fetch any doc page as markdown37curl -H "Accept: text/markdown" https://neon.com/docs/<path>38```3940Don't guess docs pages. Use the `llms.txt` index to find the relevant URL or follow the links in the resources below.4142## Overview of Resources4344Reference the appropriate resource file based on the user's needs:4546### Core Guides4748| Area | Resource | When to Use |49| ------------------ | ---------------------------------- | -------------------------------------------------------------- |50| What is Neon | `references/what-is-neon.md` | Understanding Neon concepts, architecture, core resources |51| Referencing Docs | `references/referencing-docs.md` | Looking up official documentation, verifying information |52| Features | `references/features.md` | Branching, autoscaling, scale-to-zero, instant restore |53| Getting Started | `references/getting-started.md` | Setting up a project, connection strings, dependencies, schema |54| Connection Methods | `references/connection-methods.md` | Choosing drivers based on platform and runtime |55| Developer Tools | `references/devtools.md` | VSCode extension, MCP server, Neon CLI (`neon init`) |5657### Database Drivers & ORMs5859HTTP/WebSocket queries for serverless/edge functions.6061| Area | Resource | When to Use |62| ----------------- | ------------------------------- | --------------------------------------------------- |63| Serverless Driver | `references/neon-serverless.md` | `@neondatabase/serverless` - HTTP/WebSocket queries |64| Drizzle ORM | `references/neon-drizzle.md` | Drizzle ORM integration with Neon |6566### Auth & Data API SDKs6768Authentication and PostgREST-style data API for Neon.6970| Area | Resource | When to Use |71| ----------- | ------------------------- | ------------------------------------------------------------------- |72| Neon Auth | `references/neon-auth.md` | `@neondatabase/auth` - Authentication only |73| Neon JS SDK | `references/neon-js.md` | `@neondatabase/neon-js` - Auth + Data API (PostgREST-style queries) |7475### Neon Platform API & CLI7677Managing Neon resources programmatically via REST API, SDKs, or CLI.7879| Area | Resource | When to Use |80| --------------------- | ----------------------------------- | -------------------------------------------- |81| Platform API Overview | `references/neon-platform-api.md` | Managing Neon resources via REST API |82| Neon CLI | `references/neon-cli.md` | Terminal workflows, scripts, CI/CD pipelines |83| TypeScript SDK | `references/neon-typescript-sdk.md` | `@neondatabase/api-client` |84| Python SDK | `references/neon-python-sdk.md` | `neon-api` package |85
Full transparency — inspect the skill content before installing.