d1-drizzle-schema

Community

Generate Drizzle ORM schemas for Cloudflare D1.

Authordaveio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cloudflare D1 patterns complicate schema design; this skill generates Drizzle ORM schemas that respect D1 constraints, auto-exports types, and provides migration scaffolding to avoid runtime issues.

Core Features & Use Cases

  • Generates Drizzle ORM schemas tailored for Cloudflare D1, including correct column patterns for booleans, timestamps, JSON, and foreign keys.
  • Produces migration scripts and a DATABASE_SCHEMA.md to document the schema for future sessions.
  • Use Case: Build a new D1-based data layer for a Cloudflare Worker project with end-to-end schema, migrations, and documentation.

Quick Start

Describe your data model and run the template to scaffold D1-ready Drizzle schemas.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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: d1-drizzle-schema
Download link: https://github.com/daveio/syn-horse/archive/main.zip#d1-drizzle-schema

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.