neon-drizzle

द्वारा neondatabase

एक पूर्णतः कार्यशील Drizzle ORM सेटअप बनाता है जिसमें एक प्रावधानित Neon डेटाबेस होता है। निर्भरताएँ स्थापित करता है, डेटाबेस क्रेडेंशियल्स प्रदान करता है, कनेक्शन कॉन्फ़िगर करता है,…

npx skills add https://github.com/neondatabase/ai-rules --skill neon-drizzle

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!

neondatabase की और Skills

claimable-postgres
neondatabase
स्थानीय विकास, डेमो, प्रोटोटाइपिंग और परीक्षण वातावरण के लिए तत्काल Postgres डेटाबेस। खाते की आवश्यकता नहीं है। डेटाबेस 72 घंटे के बाद समाप्त हो जाते हैं जब तक कि किसी Neon खाते में दावा न किया जाए।
neon
neondatabase
Neon प्लेटफ़ॉर्म का अवलोकन, जो ऐप्स और एजेंटों के लिए Postgres, Auth, Data API, और नई सेवाओं: Object Storage, Compute Functions, और AI Gateway को शामिल करता है। जब भी "Neon" का उल्लेख हो, इसका उपयोग Neon के साथ काम करने और शुरू करने के तरीके के अवलोकन के लिए करें। अन्यथा, व्यक्तिगत क्षमताएँ ट्रिगर हैं: "object storage" या "S3-compatible storage", "serverless functions", "background jobs", या "run code near my database", "AI gateway", "LLM proxy", "model routing", या "call an LLM" →...
apidatabasedevelopment
plugin-manager
neondatabase
इस रिपॉजिटरी के लिए Cursor और Claude Code दोनों में प्लगइन संरचना और कॉन्फ़िगरेशन प्रबंधित करें। प्लगइन फ़ोल्डर बनाते, अपडेट करते या समीक्षा करते समय उपयोग करें…
skill-creator
neondatabase
प्रभावी कौशल बनाने के लिए मार्गदर्शिका। इस कौशल का उपयोग तब किया जाना चाहिए जब उपयोगकर्ता एक नया कौशल बनाना (या मौजूदा कौशल को अपडेट करना) चाहते हैं जो Claude की क्षमताओं को बढ़ाता है…
using-neon
neondatabase
Neon Serverless Postgres के साथ काम करने के लिए मार्गदर्शिकाएँ और सर्वोत्तम अभ्यास। इसमें आरंभ करना, Neon के साथ स्थानीय विकास, कनेक्शन विधि चुनना, Neon… शामिल है।
neon-js-react
neondatabase
React ऐप्स (Vite, CRA) में प्रमाणीकरण और डेटाबेस क्वेरी के साथ पूर्ण Neon SDK सेट करता है। टाइप किया गया क्लाइंट बनाता है, डेटाबेस प्रकार उत्पन्न करता है, और कॉन्फ़िगर करता है…
postgres-best-practices
neondatabase
पोस्टग्रेस के साथ काम करने के लिए सर्वोत्तम प्रथाएँ और दिशानिर्देश। इसमें स्कीमा डिज़ाइन, इंडेक्सिंग रणनीतियाँ, क्वेरी ऑप्टिमाइज़ेशन, माइग्रेशन और सामान्य समस्याएँ शामिल हैं। उपयोग…
neon-postgres-egress-optimizer
neondatabase
उपयोगकर्ता को उनके Postgres डेटाबेस से अत्यधिक डेटा स्थानांतरण (एग्रेस) का कारण बनने वाले एप्लिकेशन-साइड क्वेरी पैटर्न के निदान और सुधार में मार्गदर्शन करें। अधिकांश उच्च एग्रेस बिल एप्लिकेशन द्वारा आवश्यकता से अधिक डेटा लाने के कारण आते हैं।