@tank/drizzle-cheatsheet

Provides quick reference for Drizzle ORM schema, querying, and SMTP commands.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/packages --skill tank-drizzle-cheatsheet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @tank/drizzle-cheatsheet
Source: https://github.com/tankpkg/packages/tree/main
Command: npx skills add https://github.com/tankpkg/packages --skill tank-drizzle-cheatsheet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you quickly recall Drizzle ORM patterns so you can define schemas, write queries, and run migration workflows without digging through documentation.

Core Features & Use Cases

  • Schema authoring: Define tables, columns, indexes, and relations with TypeScript-first patterns.
  • Query building: Compose select, insert, update, delete, and join operations with type safety.
  • Workflow support: Use drizzle-kit commands to generate, push, migrate, and inspect your database state.
  • Use case: A developer can open this Skill while building a new app database layer and immediately get the right Drizzle syntax, command flow, and type inference patterns.

Quick Start

Ask the agent to act as a Drizzle ORM cheat sheet for your current database task and explain the exact schema, query, and drizzle-kit steps you need.

Frequently Asked Questions about @tank/drizzle-cheatsheet

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

FAQPage Schema
How do I define tables and relations in Drizzle ORM?

Drizzle ORM schema authoring uses TypeScript-first patterns to define tables, columns, indexes, and relations, ensuring type safety for your database models.

What's the best way to write type-safe select, insert, update, and delete queries with Drizzle ORM?

Drizzle ORM query building composes select, insert, update, delete, and join operations with type safety, allowing reliable database work without runtime errors.

How do I use drizzle-kit to generate and run migrations?

Drizzle-kit commands generate, push, migrate, and inspect your database state, providing complete workflow support for managing schema changes in modern application development.

Can I use Drizzle ORM for type inference in a TypeScript application database layer?

Drizzle ORM supports type inference in modern application development, letting you infer TypeScript types directly from defined schemas for reliable database work.

Does Drizzle ORM syntax support composing joins across multiple tables?

Drizzle ORM query building composes join operations across tables with type safety, allowing you to define relations and query connected data without digging through documentation.