Sets up the full Neon JS SDK with unified auth and PostgREST-style database queries. Configures auth client, data client, and type generation. Use when building apps that need both authentication and database access in one SDK.
/plugin marketplace add neondatabase/ai-rules/plugin install neon-plugin@neonThis skill is limited to using the following tools:
guides/setup.mdtemplates/full-client.tsSet up the unified Neon JS SDK for authentication and database queries in one package.
Package: @neondatabase/neon-js (full SDK with auth + data API)
Need auth only? Use the neon-auth skill instead for @neondatabase/auth with a smaller bundle.
When generating TypeScript/JavaScript code, follow these rules:
Complete reference: See Code Generation Rules for:
Key points:
tsconfig.json for path aliases before generating importsBetterAuthReactAdapter MUST be imported from auth/react/adapters subpath()Each guide is a complete, self-contained walkthrough with numbered phases:
guides/setup.md - Complete setup guide for Next.js with auth + data APII'll automatically detect your context (package manager, framework, existing setup) and select the appropriate guide based on your request.
For troubleshooting, see the Troubleshooting Guide in references.
Tell me what you're building - I'll handle the rest:
Primary Resource: See neon-js.mdc for comprehensive guidelines including:
Auth Details: See neon-auth.mdc for:
Framework-Specific Setup (choose your framework):
Framework-Specific UI (choose your framework):
Data API & Shared References:
templates/full-client.ts - Unified auth + data client configurationI will:
Ready to get started? Just describe what you're building!