drizzle-patterns

Enforce centralized Drizzle ORM database patterns with SQLite/libSQL schemas, migrations, and seeds.

2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/yutna/vibe-next-template --skill drizzle-patterns-yutna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle-patterns
Source: https://github.com/yutna/vibe-next-template/tree/main/.claude/skills/drizzle-patterns
Command: npx skills add https://github.com/yutna/vibe-next-template --skill drizzle-patterns-yutna

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill codifies database patterns and governance for Drizzle ORM projects, providing a clear, Rails-style convention set, centralized runtime ownership, and deterministic test scaffolding to reduce boilerplate and drift.

Core Features & Use Cases

  • Centralized DB patterns and schema conventions for Drizzle ORM across modules.
  • Deterministic migration and seed workflow with local-first SQLite/libSQL defaults.
  • Use cases include setting up starter entities and establishing repository boundaries for DB access.

Quick Start

Set up your local database layout and begin applying the Drizzle patterns by following the repository's canonical entity and schema examples.

Frequently Asked Questions about drizzle-patterns

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

FAQPage Schema
How do I structure Drizzle ORM schemas and migrations for SQLite?

Structure Drizzle ORM schemas and migrations by enforcing explicit entity definitions and centralized DB modules. This approach applies Rails-style conventions to SQLite/libSQL projects, reducing boilerplate and drift across local development and test workflows.

What is the best way to manage database seeds in Drizzle ORM testing?

The best way to manage database seeds in Drizzle ORM testing is through deterministic seed workflows. By centralizing DB modules and enforcing environment-specific URLs, test scaffolding yields consistent, scalable data access without runtime drift.

Does this Drizzle DB pattern approach work with local SQLite and libSQL?

Yes, this Drizzle DB pattern approach works directly with local SQLite and libSQL. It enforces local-first defaults and environment-specific URLs to maintain consistent, scalable data access across both local development and test workflows.

Why establish repository boundaries for Drizzle ORM database access?

Establish repository boundaries for Drizzle ORM database access to centralize runtime ownership and codify schema conventions. This governance prevents data access drift and reduces boilerplate by isolating DB modules from core application logic.

How do I set up starter entities using Drizzle ORM conventions?

Set up starter entities using Drizzle ORM conventions by following canonical schema examples within a centralized DB module. This enforces explicit entity schemas and repository boundaries to ensure consistent, scalable data access from the start.