Drizzle ORM

Guide Drizzle ORM schema definitions, queries, migrations, and relations.

3|5|Updated Sep 13, 2022
One-click install
npx skills add https://github.com/colinmollenhour/dotfiles --skill drizzle-orm-colinmollenhour
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Drizzle ORM
Source: https://github.com/colinmollenhour/dotfiles/tree/main/.claude/skills/drizzle-orm
Command: npx skills add https://github.com/colinmollenhour/dotfiles --skill drizzle-orm-colinmollenhour

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance on using Drizzle ORM — a TypeScript-first ORM — covering schema definitions, queries, migrations, relations, and type inference for PostgreSQL, MySQL, and SQLite.

Core Features & Use Cases

  • Schema Definitions: Define tables with type inference using Drizzle's schema primitives.
  • Query Building: Build fully-typed queries with the drizzle API.
  • Migrations & Relations: Describe migrations and relational patterns for complex data models.

Quick Start

Example workflows show how to define a table, initialize a connection, and run a type-safe query.