drizzle-orm-d1
CommunityBuild type-safe D1 databases, automate your database workflow.
Authorjezweb
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates 12 common database errors and provides production-tested patterns for Drizzle ORM with Cloudflare D1, saving developers hours of debugging and setup time.
Core Features & Use Cases
- Type-Safe Queries: Full TypeScript inference for all database operations, preventing type errors.
- Migration Management: Automatically generate and apply database migrations with proper D1 compatibility.
- Use Case: Imagine you're building a Cloudflare Worker that needs a database. Use this Skill to create a complete type-safe schema, manage migrations, and implement complex relations with zero raw SQL.
Quick Start
Install Drizzle ORM and Drizzle Kit, then define your schema in src/db/schema.ts and generate migrations with drizzle-kit generate.
Error Prevention
Prevents 12 documented issues including D1 transaction errors, foreign key constraint failures, and migration apply errors.
Dependency Matrix
Required Modules
drizzle-ormdrizzle-kit
Components
scriptsreferencestemplates
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: drizzle-orm-d1 Download link: https://github.com/jezweb/claude-skills/archive/main.zip#drizzle-orm-d1 Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.