drizzle-schema-guide

Guide Drizzle ORM schema changes with migration steps and code templates.

1|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/AppleLamps/xpic2 --skill drizzle-schema-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle-schema-guide
Source: https://github.com/AppleLamps/xpic2/tree/main/.claude/skills/drizzle-schema-guide
Command: npx skills add https://github.com/AppleLamps/xpic2 --skill drizzle-schema-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides developers through safe Drizzle ORM schema changes (adding tables, columns, or migrations) while preserving data integrity and minimizing risk.

Core Features & Use Cases

  • Schema evolution guidance: step-by-step patterns for adding tables, updating columns, and creating migrations with Drizzle.
  • Code templates: example snippets to export new tables and integrate with db/index.ts.
  • Guardrails: emphasizes read-only review, backups, and production safety.

Quick Start

Add a new table to db/schema.ts, export it from db/index.ts, and push migrations using npm run db:push for development or npm run db:generate followed by npm run db:migrate for production.