# neon-drizzle

> Claude/Codex skill by [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 86 stars · Updated 2026-06-02

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.

## Install

```sh
git clone https://github.com/neondatabase/ai-rules /tmp/ai-rules && ln -s /tmp/ai-rules/neon-plugin/skills/neon-drizzle ~/.claude/skills/neon-drizzle
```

## From README

Neon Drizzle Integration Comprehensive Drizzle ORM 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 from scratch (see: Table of Contents) guides/existing-project.md - Add Drizz...

## Links

- HTML page: https://omgskills.com/skills/neondatabase/ai-rules/neon-drizzle/
- GitHub: https://github.com/neondatabase/ai-rules
- Author: [@neondatabase](https://omgskills.com/library/neondatabase/index.md)

## More from this repo

- [add-neon-docs](https://omgskills.com/skills/neondatabase/ai-rules/add-neon-docs/index.md) — Used when the user asks to add documentation, add docs, add references, or install documentation about Neon.
   - [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 86 stars
- [neon-auth](https://omgskills.com/skills/neondatabase/ai-rules/neon-auth/index.md) — Sets up Neon Auth for your application.
   - [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 86 stars
- [neon-js](https://omgskills.com/skills/neondatabase/ai-rules/neon-js/index.md) — Sets up the full Neon JS SDK with unified auth and PostgREST-style database queries.
   - [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 86 stars
