neondatabase/ai-rules/neon-drizzle
Claude Code and agent skill by neondatabase/ai-rules
- community
Checking that the SKILL.md file is still in the repository.
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
npx vskill@latest install neondatabase/ai-rules/neon-drizzleSKILL.md
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 guidereferences/migrations.md- Migration patterns and troubleshootingreferences/query-patterns.md- Example queries and best practices
Templates & Scripts
templates/schema-example.ts- Multi-table schema with relationstemplates/drizzle-config.ts- Configuration examplesscripts/generate-schema.ts- Automated migration generationscripts/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:
- Detect your project context automatically
- Select and load the appropriate guide
- Follow the guide's phases sequentially
- Track progress using the guide's workflow checklist
- Load reference files only when needed
- Offer to add Neon best practices to your project docs
Ready to get started? Just describe what you're building!
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingneon-plugin/skills/neon-drizzle/SKILL.md
Popularity
- Repository stars
- 79
- Repository forks
- 9
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/neondatabase/ai-rules/neon-drizzle)