Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
neondatabase avatar

Neon Drizzle

  • 745 installs
  • 86 repo stars
  • Updated June 2, 2026
  • neondatabase/ai-rules

Neon Drizzle is a Claude Code skill that creates a fully functional Drizzle ORM setup connected to a provisioned Neon Postgres database for developers who need working migrations and queries immediately.

About

Neon Drizzle is an agent skill from neondatabase/ai-rules that walks coding agents through end-to-end Drizzle ORM integration with Neon serverless Postgres. The skill installs dependencies, provisions database credentials, configures connection strings, generates Drizzle schemas, and runs migrations so the resulting code can connect and query the database right away. It supports new projects (Next.js, Vite, Express, and similar stacks) and adding or modifying ORM layers in existing apps. Allowed tools include bash, write, and read_file, enabling agents to execute setup commands and write config files. Developers reach for Neon Drizzle when they want Drizzle plus Neon wired correctly without manually juggling connection pooling, env vars, and migration CLI steps.

  • Provisions a Neon database and returns live credentials
  • Installs and configures Drizzle ORM with TypeScript support
  • Generates schema files, connection code, and runs initial migrations
  • Checks tsconfig.json for path aliases before writing imports and defaults to relative imports
  • Includes complete self-contained guides for new projects and schema modifications

Neon Drizzle by the numbers

  • 745 all-time installs (skills.sh)
  • +26 installs in the week ending Jul 26, 2026 (Skillselion tracking)
  • Ranked #507 of 4,386 Backend & APIs skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Jul 26, 2026 (Skillselion catalog sync)
npx skills add https://github.com/neondatabase/ai-rules --skill neon-drizzle

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs745
repo stars86
Security audit2 / 3 scanners passed
Last updatedJune 2, 2026
Repositoryneondatabase/ai-rules

How do you set up Drizzle ORM with Neon Postgres?

Instantly create a working Drizzle ORM setup connected to a provisioned Neon Postgres database.

Who is it for?

Developers starting a new Drizzle project or adding Drizzle ORM to an existing Node.js app who want Neon Postgres provisioned and migrated in one guided workflow.

Skip if: Teams using Prisma, raw SQL-only workflows, or non-Neon Postgres hosts where Drizzle connection patterns differ.

When should I use this skill?

User asks to set up Drizzle ORM, connect to Neon Postgres, generate Drizzle schemas, or run Drizzle migrations in a JavaScript/TypeScript project.

What you get

Working Drizzle schema files, Neon connection config, installed dependencies, and applied database migrations.

  • Drizzle schema files
  • Neon connection configuration
  • applied migration history

Files

SKILL.mdMarkdownGitHub ↗

Neon Drizzle Integration

Comprehensive Drizzle ORM setup for Neon databases with guided workflows.

When to Use This Skill

  • Setting up Drizzle in a new project (Next.js, Vite, Express, etc.)
  • Integrating Drizzle into an existing application
  • Creating or modifying database schemas
  • Troubleshooting migration issues

Code Generation Rules

When generating TypeScript/JavaScript code:

  • BEFORE generating import statements, check tsconfig.json for path aliases (compilerOptions.paths)
  • If path aliases exist (e.g., "@/": ["./src/"]), use them (e.g., import { x } from '@/lib/utils')
  • If NO path aliases exist or unsure, ALWAYS use relative imports (e.g., import { x } from '../../../lib/utils')
  • Verify imports match the project's configuration
  • Default to relative imports - they always work regardless of configuration

Available Guides

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.

Quick Examples

Tell me what you're building - I'll handle the rest:

  • "Setup Drizzle for my Next.js blog on Vercel" → Auto-detects Vercel + Next.js → HTTP adapter
  • "Add Drizzle to my Express API" → Auto-detects Node.js server → WebSocket adapter
  • "Create a users table with auth fields" → Loads schema guide → Generates schema

Reference Documentation

For deeper technical details (loaded on-demand):

  • references/adapters.md - HTTP vs WebSocket decision guide
  • references/migrations.md - Migration patterns and troubleshooting
  • references/query-patterns.md - Example queries and best practices

Templates & Scripts

  • templates/schema-example.ts - Multi-table schema with relations
  • templates/drizzle-config.ts - Configuration examples
  • scripts/generate-schema.ts - Automated migration generation
  • scripts/run-migration.ts - Programmatic migration runner

Related Skills

  • neon-auth - Add authentication
  • neon-js - Full SDK with auth + PostgREST-style data API
  • neon-serverless - Connection setup without ORM
  • neon-toolkit - Ephemeral databases for testing
  • add-neon-docs - Add Neon best practices to your project (run after setup)

---

Workflow

I will: 1. Detect your project context automatically 2. Select and load the appropriate guide 3. Follow the guide's phases sequentially 4. Track progress using the guide's workflow checklist 5. Load reference files only when needed 6. Offer to add Neon best practices to your project docs

Ready to get started? Just describe what you're building!

Related skills

FAQ

Which frameworks does Neon Drizzle support?

The Neon Drizzle skill supports setting up Drizzle ORM in new projects built with Next.js, Vite, Express, and similar JavaScript/TypeScript stacks. It also handles adding Drizzle to existing applications or modifying existing Drizzle schemas.

What does Neon Drizzle produce after setup?

Neon Drizzle results in installed Drizzle dependencies, provisioned Neon database credentials, configured connection settings, generated schema files, and executed migrations—yielding code that can immediately connect to and query the Neon Postgres database.

Is Neon Drizzle safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.