drizzle-migration

Generate and apply Drizzle Kit SQL migrations from TypeScript schema changes.

91|44|Updated Jul 17, 2025
One-click install
npx skills add https://github.com/HyperscapeAI/hyperscape --skill drizzle-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle-migration
Source: https://github.com/HyperscapeAI/hyperscape/tree/main/.claude/skills/drizzle-migration
Command: npx skills add https://github.com/HyperscapeAI/hyperscape --skill drizzle-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the Drizzle Kit database migration workflow, ensuring that schema changes are applied safely and consistently. It automates migration generation, enforces review processes, and provides tools for verification, preventing database inconsistencies and reducing the risk of data loss.

Core Features & Use Cases

  • Migration Generation: Automatically creates SQL migration files from TypeScript schema changes, ensuring consistency.
  • SQL Review & Application: Guides through reviewing generated SQL and applying migrations to the database, with troubleshooting tips.
  • Use Case: After adding a new description field to your teams table in Drizzle schema, use this Skill to "create a database migration." It will generate the SQL, prompt you to review it, and then apply it to your database, ensuring your schema is updated correctly and safely.

Quick Start

Create a Drizzle migration to add a 'description' field to the 'teams' table.