What problem does it solve?
This Skill simplifies building, querying, migrating, testing, and deploying SQLite databases on Cloudflare Workers without losing type safety or deployment consistency.
Core Features & Use Cases
- D1 and Worker Setup: Configure Cloudflare D1 bindings, Wrangler projects, environment types, and local development.
- Drizzle ORM Integration: Define type-safe SQLite schemas, generate migrations, and implement queries, joins, mutations, batching, and transactions.
- Production Workflows: Apply local or remote migrations, manage multiple environments, seed databases, test Worker APIs, and deploy safely.
- Use Case: Build a Hono-powered Worker API that stores users and posts in D1, exposes CRUD endpoints, and uses Drizzle migrations for repeatable staging and production releases.
Quick Start
Use the cloudflare-d1 skill to design a D1 schema, configure Drizzle ORM, generate migrations, and implement tested Worker endpoints for the requested data model.