
Cloudflare D1
This brings Cloudflare's serverless SQLite to your Workers projects with proper Drizzle ORM integration and migration workflows. You get type-safe queries, schema-as-code, and the full D1 setup from wrangler.toml configuration through deployment. The skill covers both the raw D1 API and the Drizzle layer, so you can work at whatever level makes sense. If you're building edge applications that need persistent storage without spinning up traditional databases, this handles the entire stack. The migration tooling is solid, and the examples show real CRUD patterns with Hono, not just hello world queries.
- skills.sh installs
- 196
- GitHub stars
- 685
- last updated
- Jun 3, 2026
Install
$ npx -y skills add alinaqi/claude-bootstrap --skill cloudflare-d1 --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cloudflare D1 Skill
Cloudflare D1 is a serverless SQLite database designed for Cloudflare Workers with global distribution and zero cold starts.
Sources: D1 Docs | Drizzle + D1 | Wrangler CLI
Core Principle
SQLite at the edge, migrations in version control, Drizzle for type safety.
D1 brings SQLite's simplicity to serverless. Design for horizontal scale (multiple small databases) rather than vertical (one large database). Use Drizzle ORM for type-safe queries and migrations.
D1 Stack
| Component | Purpose |
|---|---|
| D1 | Serverless SQLite database |
| Workers | Edge runtime for your application |
| Wrangler | CLI for development and deployment |
| Drizzle ORM | Type-safe ORM with migrations |
| Drizzle Kit | Migration tooling |
| Hono | Lightweight web framework (optional) |
Project Setup
Create Worker Project
# Create new project
npm create cloudflare@latest my-app -- --template "worker-typescript"
cd my-app
Sponsors
Details
- Repository
- github.com/alinaqi/claude-bootstrap
- Category
- Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from alinaqi/claude-bootstrap
All 54- Supabase Python193
- Firebase192
- Llm Patterns190
- Credentials189
- Agent Teams186
- Aws Aurora186
- Medusa186
- Ticket Craft185
- Iterative Development184
- Supabase Node184
- Existing Repo182
- Reddit Ads176
- Python175
- Gemini Review174
- Base173
- Project Tooling173
- Azure Cosmosdb170
- Shopify Apps165
- Android Kotlin2.7K
- Playwright Testing2.5K
- Pwa Development2.4K
- Code Review1.3K
- Ui Mobile1K
- Posthog Analytics736