About
This skill equips Claude with the expertise to architect and maintain Cloudflare D1 databases using Drizzle ORM, ensuring production-ready performance and type safety. It provides comprehensive guidance on defining relational schemas, managing migrations via Drizzle Kit, and implementing D1-specific patterns like the batch API for transactions. By incorporating best practices for schema design and a detailed catalog of common D1 error solutions, this skill helps developers avoid common pitfalls such as transaction errors and foreign key failures in the Cloudflare Workers environment.