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-code

Installs 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

ComponentPurpose
D1Serverless SQLite database
WorkersEdge runtime for your application
WranglerCLI for development and deployment
Drizzle ORMType-safe ORM with migrations
Drizzle KitMigration tooling
HonoLightweight 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
1charleswiltgen avataraxiom-cloud-sync-diagcharleswiltgen/axiomUse when debugging 'file not syncing', 'CloudKit error', 'sync conflict', 'iCloud upload failed', 'ubiquitous item error', 'data not appearing on other devices'180skills.sh installs
2personamanagmentlayer avatarcloudflare-expertpersonamanagmentlayer/pclExpert-level Cloudflare Workers, CDN, edge computing, and security services171skills.sh installs
3cinience avataralicloud-ai-cloud-call-center-testcinience/alicloud-skillsSmoke test for alicloud-ai-cloud-call-center. Validate minimal authentication, API reachability, and one read-only query path.156skills.sh installs
4cinience avataralicloud-compute-fc-serverless-devs-testcinience/alicloud-skillsSmoke test for alicloud-compute-fc-serverless-devs. Validate minimal authentication, API reachability, and one read-only query path.156skills.sh installs
5sickn33 avataragent-framework-azure-ai-pysickn33/antigravity-awesome-skillsagent framework azure ai py145skills.sh installs
6sickn33 avataraws-cost-optimizersickn33/antigravity-awesome-skillsaws cost optimizer130skills.sh installs