AI AGENT ADDONS

D1 Drizzle Schema

jezweb/claude-skills
Databases
1,429installs

This skill helps you create database schemas for Cloudflare D1 using Drizzle ORM. D1 is a serverless database based on SQLite but with some important differences. If you use standard SQLite patterns, you will get bugs. This skill generates correct schemas that work with D1's special rules.

D1 has no built-in boolean or datetime types. Foreign keys are always turned on. There is a limit of 100 bound parameters. JSON is stored as text. The skill handles all these quirks automatically. It creates schema files, migration commands, type exports, and a documentation file.

Use this skill when you are starting a new database, adding new tables, or setting up a D1 data layer. It saves time and prevents common mistakes.

Add D1 Drizzle Schema skill to your workflow

Global

mkdir -p ~/.claude/skills/d1-drizzle-schema

Project

mkdir -p .claude/skills/d1-drizzle-schema

Source Repository

Stars
884
Forks
91
Watchers
884
License
MIT
Last Push
1 month ago
Created
9 months ago