mcpField
D
drizzle-cli

drizzle-cli

github.com/timschochData & databases1167 installsUpdated 1d ago
Repository

About drizzle-cli

Drizzle CLI is a command reference for using drizzle-kit to manage database schemas. It covers migration generation and application, development-only schema pushes, database inspection, and schema checks.

Key features

  1. 01Generate migrations from schema changes
  2. 02Apply database migrations
  3. 03Push schemas directly in development
  4. 04Inspect the database through a UI
  5. 05Check schemas against migrations

Use cases

  1. 01Generate migrations for schema changes
  2. 02Apply pending database migrations
  3. 03Push a schema during development
  4. 04Inspect a database and verify migrations

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/timschoch/skilly --skill drizzle-cli

After installing, type/drizzle-cliin Claude Code to confirm it loaded.

Details

From the project README

Drizzle CLI

Schema changes go through drizzle-kit, never through hand-written SQL migrations.

  • Generate a migration from schema changes: drizzle-kit generate
  • Apply migrations: drizzle-kit migrate
  • Push schema directly (dev only): drizzle-kit push
  • Inspect the DB in a UI: drizzle-kit studio
  • Sanity-check schema vs migrations: drizzle-kit check
  • Discover more: drizzle-kit --help

Config lives in drizzle.config.ts. Check the repo's npm scripts first — migrations are often wired into the build.

For current Drizzle documentation, use the context7 skill — there is no vendor docs skill for Drizzle yet.

Comments

Markdown supported