Drizzle ORM for TypeScript

•
29
•

Streamlines database schema definition and type-safe query building using Drizzle ORM across multiple SQL dialects.

This skill provides comprehensive patterns and best practices for implementing Drizzle ORM within TypeScript projects. It enables Claude to assist with everything from defining complex database schemas and managing migrations to implementing sophisticated repository and entity patterns. Whether you are working with PostgreSQL, MySQL, SQLite, or Cloudflare D1, this skill ensures your data layer remains type-safe, performant, and maintainable by providing standardized implementation guidance for both SQL-like and relational query APIs.

主な機能

01Automatic type inference for select and insert models
0229 GitHub stars
03Implementation of Repository and Entity patterns for clean architecture
04Type-safe schema definition for PostgreSQL, MySQL, and SQLite
05Support for both SQL-like and Relational query APIs
06Cloudflare D1 and Durable Objects specialized deployment guidance

ユースケース

01Implementing robust error handling and domain transformations for database-heavy applications
02Building a type-safe data layer for a modern TypeScript backend
03Migrating raw SQL or legacy ORM code to Drizzle's lightweight API