drizzle

Automate Drizzle ORM schema design, migrations, and model code management.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/andershi666/lobehub-hr-demo --skill drizzle-andershi666
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/andershi666/lobehub-hr-demo/tree/main/lobehub/.agents/skills/drizzle
Command: npx skills add https://github.com/andershi666/lobehub-hr-demo --skill drizzle-andershi666

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drizzle ORM schema and migrations require consistent configuration, schema definitions, and type-safe ORM usage across PostgreSQL deployments.

Core Features & Use Cases

  • Configuration: drizzle.config.ts defines the environment and dialect.
  • Schemas & Migrations: manage src/database/schemas/ and src/database/migrations/ with strict PostgreSQL mode.
  • Helpers & Patterns: timestamptz and timestamps utilities, type inference patterns, and common patterns for junction tables.
  • Use Case: Ensure consistent schema evolution and codegen across teams.

Quick Start

Initialize the Drizzle project by bootstrapping migrations and applying the initial schema.

Frequently Asked Questions about drizzle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Drizzle ORM schema design and migrations for PostgreSQL?▼

You can automate Drizzle ORM schema design and migrations by applying consistent schema definitions and type-safe ORM usage across PostgreSQL deployments. This requires configuring drizzle.config.ts and managing schemas in src/database/schemas/.

What is the best way to manage type-safe ORM queries across a Drizzle PostgreSQL project?▼

Managing type-safe ORM queries across a Drizzle PostgreSQL project involves using strict PostgreSQL mode and applying type inference patterns. This ensures consistent schema evolution and codegen across teams.

Does Drizzle ORM require a strict PostgreSQL dialect configuration?▼

Yes, the Drizzle ORM setup operates with a PostgreSQL dialect configured as strict: true. This strict mode ensures consistent schema definitions, migrations, and type-safe query management.

How do I set up Drizzle ORM configuration for migrations and schema management?▼

Setting up Drizzle ORM configuration requires defining your environment and dialect in drizzle.config.ts. You must also organize your schemas in src/database/schemas/ and migrations in src/database/migrations/ directories.

What patterns are available for Drizzle ORM junction tables and timestamps?▼

Drizzle ORM provides specific helper patterns including timestamptz and timestamps utilities, type inference patterns, and common patterns for junction tables. These utilities ensure consistent schema design and type safety.