The Cloudflare D1 Knowledge Patch skill equips Claude Code with up-to-date best practices and operational guidance for Cloudflare's serverless SQLite database. It covers essential topics including Wrangler configuration, binding conversions, prepared statements, read replication with Sessions and bookmarks, schema migrations (including nested ORM patterns), Time Travel restores, and HTTP API permission boundaries. This skill is invaluable for developers building Workers or Pages applications who need to avoid breaking changes, optimize query performance, manage data imports and exports, and handle edge-native replication reliably.
主な機能
01Configures complex and nested ORM schema migrations across local and remote environments
0224 GitHub stars
03Enforces operational security, HTTP API permissions, and diagnostic error handling
04Provides binding conventions and prepared statement rules for D1's SQLite runtime
05Guides safe Time Travel point-in-time restores, undo operations, and database imports
06Implements read replication routing using Sessions, bookmarks, and consistency controls
ユースケース
01Building full-stack Cloudflare Workers or Pages applications backed by edge SQLite storage
02Migrating legacy database dumps or nested ORM migrations into Cloudflare D1
03Managing read-replica consistency and Time Travel disaster recovery workflows