db-migrate

Create and apply database schema migrations with Drizzle ORM and SQL.

1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/antialias/abaci-one --skill db-migrate-antialias
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-migrate
Source: https://github.com/antialias/abaci-one/tree/main/.claude/skills/db-migrate
Command: npx skills add https://github.com/antialias/abaci-one --skill db-migrate-antialias

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the complex and error-prone process of modifying database schemas, ensuring data integrity and preventing production issues.

Core Features & Use Cases

  • Guided Schema Modification: Provides a step-by-step workflow for altering database tables and columns.
  • Automated Migration Generation: Creates necessary SQL migration files and updates schema registry.
  • Local Verification: Enables running migrations locally to catch errors before deployment.
  • Use Case: When adding a new users table to your application, this Skill will guide you through creating the schema file, generating the SQL, running it against your local database, and committing all required files.

Quick Start

Use the db-migrate skill to create a new database migration for adding a user profile table.

Frequently Asked Questions about db-migrate

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

FAQPage Schema
How do I generate database schema migrations using Drizzle ORM?

To generate database schema migrations using Drizzle ORM, this Skill guides you through modifying schema files, automatically generating SQL migration files, and updating the schema registry to ensure safe schema changes.

What is the safest way to apply SQL schema changes locally before deployment?

The safest way to apply SQL schema changes locally is to generate migration files with breakpoints, verify timestamps, and execute them against your local database. This process catches errors early and ensures data integrity before production deployment.

Do I need to manually write SQL files when adding a new table to my database schema?

You do not need to manually write SQL files when adding a new table. This Skill automates migration file generation based on your Drizzle schema modifications, while still allowing you to write custom SQL with breakpoints if needed.

Can I verify database migration timestamps and execution order before committing changes?

You can verify database migration timestamps and execution order before committing changes. This Skill includes timestamp verification in its workflow, ensuring migrations apply in the correct sequence when executed locally.

What files should I commit after creating a new database migration?

After creating a database migration, you should commit both the modified schema files and the generated SQL migration files. This Skill ensures all required files for the schema registry and database state are tracked and committed together.

Are there limitations when using SQL breakpoints in automated database migrations?

SQL breakpoints in automated database migrations are supported to allow custom logic during execution, but you must verify migration timestamps and local execution success. This ensures the custom SQL does not disrupt the automated schema registry workflow.