neon-plugin/skills/neon-drizzle/SKILL.md
Creates a fully functional Drizzle ORM setup with a provisioned Neon database. Installs dependencies, provisions database credentials, configures connections, generates schemas, and runs migrations. Results in working code that can immediately connect to and query the database. Use when creating new projects with Drizzle, adding ORM to existing applications, or modifying database schemas.
npx skillsauth add neondatabase/ai-rules neon-drizzleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive Drizzle ORM setup for Neon databases with guided workflows.
When generating TypeScript/JavaScript code:
Each guide is a complete, self-contained walkthrough with numbered phases:
guides/new-project.md - Full setup from scratch (see: Table of Contents)guides/existing-project.md - Add Drizzle to running apps (see: Table of Contents)guides/schema-only.md - Schema creation and modification (see: Table of Contents)guides/troubleshooting.md - Debug common issues (organized by error type)I'll automatically detect your context (package manager, framework, deployment target) and select the appropriate guide based on your request.
Tell me what you're building - I'll handle the rest:
For deeper technical details (loaded on-demand):
references/adapters.md - HTTP vs WebSocket decision guidereferences/migrations.md - Migration patterns and troubleshootingreferences/query-patterns.md - Example queries and best practicestemplates/schema-example.ts - Multi-table schema with relationstemplates/drizzle-config.ts - Configuration examplesscripts/generate-schema.ts - Automated migration generationscripts/run-migration.ts - Programmatic migration runnerI will:
Ready to get started? Just describe what you're building!
tools
Creates and manages ephemeral Neon databases for testing, CI/CD pipelines, and isolated development environments. Use when building temporary databases for automated tests or rapid prototyping.
tools
Configures Neon Serverless Driver for Next.js, Vercel Edge Functions, AWS Lambda, and other serverless environments. Installs @neondatabase/serverless, sets up environment variables, and creates working API route examples with TypeScript types. Use when users need to connect their application to Neon, fetch or query data from a Neon database, integrate Neon with Next.js or serverless frameworks, or set up database access in edge/serverless environments where traditional PostgreSQL clients don't work.
tools
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.
development
Sets up Neon Auth for your application. Configures authentication, creates auth routes, and generates UI components. Use when adding authentication to Next.js, React SPA, or Node.js projects.