drizzle

Enforce Drizzle ORM schema definitions and migrations in TypeScript projects.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kissMyApps-tlm/kissmychat --skill drizzle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/kissMyApps-tlm/kissmychat/tree/main/.agents/skills/drizzle
Command: npx skills add https://github.com/kissMyApps-tlm/kissmychat --skill drizzle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The Drizzle ORM style guide helps teams design, document, and enforce consistent database schemas and migrations using Drizzle ORM across TypeScript projects.

Core Features & Use Cases

  • Schema definitions and conventions for tables, columns, and relationships.
  • Migrations guidance, type inference, and helper patterns for predictable, repeatable DB changes.
  • Practical examples and best practices for integrating Drizzle with src/database/schemas and common ORM workflows.

Quick Start

Install and configure Drizzle in your TypeScript project, create your first schema under src/database/schemas, and generate the initial migration to align the database with your models.

Frequently Asked Questions about drizzle

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

FAQPage Schema
How do I define database schemas with Drizzle ORM in TypeScript?

Drizzle ORM lets you define typed database schemas directly in TypeScript using declarative table definitions. Create schema files under src/database/schemas, specify columns with types, primary keys, and foreign keys, then generate migrations to sync your database with the models.

What's the best way to handle database migrations with Drizzle?

Drizzle migrations provide predictable, repeatable database changes tracked alongside your schema definitions. After defining or updating schemas in src/database/schemas, generate migrations that capture the differences, then apply them to keep your database in sync with your TypeScript models.

Can I use Drizzle ORM to enforce naming conventions and type safety across my database?

Yes. Drizzle enforces explicit rules for primary keys, foreign keys, timestamps, indexes, and type inference at the schema level, ensuring consistent, typed database code across your project without manual validation.

Do I need to set up migrations separately, or does Drizzle handle that?

Drizzle generates migrations automatically from your schema definitions. After configuring Drizzle in your TypeScript project and creating your first schema, Drizzle generates the initial migration file, eliminating manual SQL creation.

How do Drizzle ORM patterns integrate with existing TypeScript projects?

Drizzle integrates into TypeScript workflows by organizing schemas under src/database/schemas and providing ORM patterns for common operations. The type-safe approach ensures your database layer aligns with your application code from definition through migrations.