migrate

Generate paired up.sql and down.sql migration files with timestamp-based naming.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/LukeLogix/goseed --skill migrate-lukelogix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/LukeLogix/goseed/tree/main/.claude/skills/migrate
Command: npx skills add https://github.com/LukeLogix/goseed --skill migrate-lukelogix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of database migration files, ensuring consistency and adherence to project-specific naming and SQL conventions.

Core Features & Use Cases

  • Migration File Generation: Creates paired up.sql and down.sql files for database schema changes.
  • Naming Convention Enforcement: Automatically applies timestamp-based sequencing and descriptive naming.
  • SQL Snippet Generation: Provides standardized SQL templates for common operations like table creation, altering, and indexing.
  • Use Case: When a new feature requires a new database table, use this Skill to generate the necessary migration files following the established project structure and SQL best practices.

Quick Start

Use the migrate skill to generate a new migration file for creating a users table.

Frequently Asked Questions about migrate

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

FAQPage Schema
How do I generate SQL migration files for database schema changes?

To generate SQL migration files for database schema changes, you can use a tool that automatically creates paired up.sql and down.sql scripts. This ensures rollback capability and enforces project-specific naming conventions using timestamp-based sequencing.

What is the best way to structure database migration scripts for rollback capability?

The best way to structure database migration scripts for rollback capability is to generate paired up.sql and down.sql files. This approach ensures that every schema alteration, table creation, or indexing operation has a corresponding rollback script.

How do I enforce naming conventions when creating database migration files?

To enforce naming conventions when creating database migration files, you should use a generator that automatically applies timestamp-based sequencing and descriptive naming. This maintains consistency across migration scripts according to predefined project standards.

Can I automatically generate SQL templates for creating, altering, and indexing tables?

Yes, you can automatically generate SQL templates for creating, altering, and indexing tables. A migration file generator provides standardized SQL snippets for these common operations to streamline database schema management.

Does the migrate Skill support generating rollback scripts for database schema alterations?

Yes, the migrate Skill supports generating rollback scripts for database schema alterations. It ensures rollback capability by creating corresponding down.sql scripts alongside the up.sql files for every database migration.