This is your complete reference for Cloudflare's serverless SQLite on the edge. It covers the full D1 API (prepare, batch, exec), migration workflows with wrangler, and the 2025 updates like read replication, automatic query retries, and the breaking change to free tier limits that hit in February. The critical rules section alone will save you from the usual mistakes: SQL injection from string concatenation, missing indexes, ignoring SQLite's type affinity quirks. Built for production with real error handling patterns, query optimization techniques, and examples that show you how to actually structure Workers with D1 bindings. If you're running databases at the edge or hitting D1_ERROR and rate limit issues, load this first.
npx skills add https://github.com/secondsky/claude-skills --skill cloudflare-d1