drizzle

Model and validate database schemas using Drizzle ORM.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/razgulay/my-lobe-chat --skill drizzle-razgulay
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/razgulay/my-lobe-chat/tree/main/.agents/skills/drizzle
Command: npx skills add https://github.com/razgulay/my-lobe-chat --skill drizzle-razgulay

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers model and validate database schemas using Drizzle ORM.

Core Features & Use Cases

  • Schema definitions: define tables, columns, and constraints with a type-safe fluent API.
  • Migrations & code generation: manage migrations and generate type-safe code aligned with your Drizzle schemas.
  • Best practices: guidance on naming conventions, timestamps, foreign keys, and common ORM patterns.

Quick Start

Create a Drizzle ORM schema for a users table and generate initial migrations.

Frequently Asked Questions about drizzle

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

FAQPage Schema
How do I define a database schema with Drizzle ORM in TypeScript?▼

To define a database schema with Drizzle ORM, you use a type-safe fluent API to specify tables, columns, and constraints directly in TypeScript, enabling strict validation for relational data models.

What is the best way to manage migrations with Drizzle ORM?▼

Managing migrations with Drizzle ORM involves generating type-safe code aligned with your schemas, allowing you to create and track database changes systematically within your project structure.

Does Drizzle ORM support foreign keys and timestamps in schema definitions?▼

Yes, Drizzle ORM supports foreign keys and timestamps in schema definitions, providing helper patterns to implement common relational data structures and constraints with type-safe table definitions.

What naming conventions should I use for PostgreSQL schemas in Drizzle?▼

When modeling PostgreSQL schemas in Drizzle, you should follow established best practices for naming conventions, ensuring consistent table and column definitions across your src/database/schemas directory.

Can I generate type-safe code from an existing Drizzle ORM schema?▼

Yes, you can generate type-safe code from a Drizzle ORM schema, utilizing built-in code generation features that align with your defined tables, columns, and constraints for relational data.