drizzle

Develop type-safe database applications with Drizzle ORM in TypeScript.

4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill drizzle-mgd34msu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/mgd34msu/goodvibes-gemini/tree/main/skills/drizzle
Command: npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill drizzle-mgd34msu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies building type-safe database applications by providing a robust framework for schema definition, query writing, and migration management with Drizzle ORM.

Core Features & Use Cases

  • Type Safety: Ensures your database interactions are type-checked at compile time, reducing runtime errors.
  • SQL-First Approach: Write SQL-like queries that are translated into efficient database operations.
  • Schema Definition: Define your database schema in TypeScript for clarity and maintainability.
  • Relations: Easily define and query relationships between tables.
  • Migrations: Manage database schema changes with Drizzle Kit.
  • Use Case: When developing a new feature that requires interacting with a PostgreSQL database, use this Skill to define your new tables, write type-safe queries to fetch and manipulate data, and generate the necessary migration files.

Quick Start

Use the drizzle skill to define a new 'users' table with 'id', 'email', and 'name' columns in PostgreSQL.

Frequently Asked Questions about drizzle

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

FAQPage Schema
How do I define a type-safe database schema in TypeScript?

You can define a type-safe database schema in TypeScript by declaring your tables and columns using Drizzle ORM, which ensures your database interactions are type-checked at compile time to reduce runtime errors.

How do I generate database migrations with drizzle-kit?

You generate database migrations with drizzle-kit by defining your schema changes in TypeScript, allowing the tool to manage and produce the necessary migration files for your SQL database.

Does Drizzle ORM work with PostgreSQL, MySQL, and SQLite?

Yes, Drizzle ORM works with PostgreSQL, MySQL, and SQLite, enabling you to write type-safe queries and manage relations across various SQL databases using a SQL-first approach.

What is the best way to write type-safe SQL queries in a TypeScript app?

The best way to write type-safe SQL queries in a TypeScript app is using a SQL-first ORM like Drizzle, which translates SQL-like queries into efficient database operations while maintaining strict compile-time type checking.

How do I manage table relations in a TypeScript database application?

You manage table relations in a TypeScript database application by defining relationships between your tables in the schema, allowing you to easily query and fetch related data with type-safe Drizzle ORM queries.

Do I need TypeScript to use Drizzle ORM for database migrations?

Yes, you need TypeScript to use Drizzle ORM for database migrations, as the framework relies on defining your database schema in TypeScript to ensure clarity, maintainability, and compile-time type safety.