neondatabase avatar

Neon Drizzle

This is a comprehensive setup assistant that provisions a real Neon Postgres database and configures Drizzle ORM end to end. It handles the whole chain: dependency installation, credential provisioning, connection config, schema generation, and migrations. What's smart here is the context detection, it figures out if you're on Vercel or running Express and picks the right adapter (HTTP vs WebSocket) without asking. The guide system is well structured with separate paths for new projects, existing apps, or schema-only work. If you've ever gotten stuck halfway through an ORM setup with mismatched configs and broken imports, this handles those pain points. Ships with templates and scripts for the repetitive parts.

skills.sh installs
1K
GitHub stars
86
last updated
Jul 14, 2026

Install

$ npx -y skills add neondatabase/ai-rules --skill neon-drizzle --agent claude-code

Installs into .claude/skills of the current project.

Files

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:

Sponsors

Details

Repository
github.com/neondatabase/ai-rules
Categories
Backend & APIs, AI & Agent Building, Databases
First seen
Jun 3, 2026

More from neondatabase/ai-rules

All 3
1circlefin avataruse-gatewaycirclefin/skillsIntegrate Circle Gateway to hold a unified USDC balance across multiple blockchains and transfer USDC instantly (<500ms) via permissionless deposit, burn, and m1Kskills.sh installs
2tencentcloudbase avatarhttp-api-cloudbasetencentcloudbase/skillsCloudBase official HTTP API client guide. This skill should be used when backends, scripts, or non-SDK clients must call CloudBase platform APIs over raw HTTP i982skills.sh installs
3agentmc15 avatarpolymarket-apiagentmc15/polymarket-traderDeep integration guide for Polymarket's CLOB API, Gamma API, and on-chain data. Use when building trading functionality, fetching market data, or implementing o970skills.sh installs
4vapiai avatarsetup-api-keyvapiai/skillsGuide users through obtaining and configuring a Vapi API key. Use when the user needs to set up Vapi, when API calls fail due to missing keys, or when the user 965skills.sh installs
5firebase avatarfirebase-data-connectfirebase/skillsfirebase data connect895skills.sh installs
6encoredev avatarencore-apiencoredev/skillsDefine typed API endpoints in Encore.ts using `api(...)` from `encore.dev/api`. Covers typed request/response interfaces, path/query/header/cookie params, reque874skills.sh installs