drizzle

Manage database schemas, queries, and migrations with TypeScript-first Drizzle ORM.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers efficiently manage database operations, schema design, and migrations using Drizzle ORM, ensuring type safety and best practices.

Core Features & Use Cases

  • Database Schema Management: Design and define database schemas with type safety.
  • Query Building: Write type-safe SQL-like queries.
  • Migrations: Generate, apply, and manage database schema migrations.
  • Use Case: When setting up a new project that requires a PostgreSQL database, use this Skill to define your schemas, set up migrations, and write all your database queries with full TypeScript support.

Quick Start

Use the drizzle skill to generate a new SQL migration file for your database schema.

Frequently Asked Questions about drizzle

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

FAQPage Schema
How do I set up type-safe database schemas using Drizzle ORM?

Drizzle ORM enables type-safe database schema design by defining tables and columns in TypeScript, ensuring compile-time validation of your database structure. This prevents runtime type mismatches across PostgreSQL, MySQL, and SQLite.

Can I use Drizzle ORM with PostgreSQL, MySQL, and SQLite?

Yes, Drizzle ORM supports PostgreSQL, MySQL, and SQLite. It provides a TypeScript-first approach to write type-safe, SQL-like queries across these various SQL databases without compromising native database features.

What is the best way to generate and manage SQL migrations with drizzle-kit?

The best way to manage SQL migrations is using drizzle-kit, a command-line tool that automates generating, applying, and tracking database schema changes. It integrates directly with your Drizzle ORM schema definitions to create migration files.

Does Drizzle ORM provide automated migration workflows for TypeScript projects?

Yes, Drizzle ORM provides automated migration workflows for TypeScript projects by integrating with drizzle-kit. This command-line management tool generates and applies migration files directly from your defined schemas.

How do I write type-safe SQL-like queries in TypeScript?

You write type-safe SQL-like queries in TypeScript by using Drizzle ORM's query builder, which mirrors standard SQL syntax while enforcing strict typing. This ensures that query parameters and return types are validated at compile time.