drizzle

Automate Drizzle ORM schema generation, migration pushes, and environment resets.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/morgs32/skills --skill drizzle-morgs32
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/morgs32/skills/tree/main/skills/drizzle
Command: npx skills add https://github.com/morgs32/skills --skill drizzle-morgs32

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the orchestration of Drizzle ORM and drizzle-kit workflows for projects, reducing manual steps when managing schemas, migrations, and resets.

Core Features & Use Cases

  • Generate and push database migrations from your Drizzle schema.
  • Create and apply a safe, empty schema to reset environments using drizzle.config.empty.ts.
  • Use the built-in Studio to inspect and manage migrations and schema changes.

Quick Start

Run the following in your project:

  • pnpm generate
  • pnpm push
  • pnpm reset
  • pnpm studio

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 generation and migration pushes?

Automate Drizzle ORM schema generation and migration pushes by running package scripts like `pnpm generate` and `pnpm push`. This orchestrates drizzle-kit workflows to parse configurations and execute CLI commands, reducing manual database migration steps.

What is the best way to reset a database environment using Drizzle migrations?

The best way to reset a database environment using Drizzle migrations is applying a safe, empty schema via `drizzle.config.empty.ts`. Running `pnpm reset` orchestrates this safe environment reset across development setups.

Can I inspect and manage Drizzle schema changes without writing manual CLI commands?

Yes, you can inspect and manage Drizzle schema changes without manual CLI commands by running `pnpm studio`. This launches the built-in Drizzle Studio, allowing you to visually inspect migrations and schema changes.

Does this Drizzle workflow orchestration require specific configuration files?

Yes, Drizzle workflow orchestration requires specific configuration files to parse database connections and schema paths. It specifically utilizes `drizzle.config.empty.ts` to satisfy configuration parsing for generating, pushing, and resetting migrations.

Why should I use an automated orchestration workflow for Drizzle ORM instead of manual CLI commands?

Using automated orchestration for Drizzle ORM reduces manual steps and human error when managing schemas, migrations, and resets. It integrates package scripts for generate, push, reset, and studio commands into a streamlined workflow.