Help create and manage database migrations, generating complete migration files following the project's database framework conventions.
Steps
Migration Analysis
Review current database schema changes needed
Identify data transformation requirements
Check for potential data loss or corruption risks
Analyze performance impact of schema changes
Migration Script Generation
Create up and down migration scripts
Include proper indexing and constraint management
Add data migration logic where needed
Implement rollback procedures
Best Practices
Ensure migrations are atomic and reversible
Add proper error handling and validation
Include progress monitoring for large datasets
Consider zero-downtime deployment strategies
Testing Strategy
Create test data scenarios
Verify migration on staging environment
Plan rollback procedures and testing
Document deployment steps and timing
Database Migration Checklist
Reviewed schema changes and data transformation requirements
Checked for potential data loss or corruption risks
Created up and down migration scripts
Included proper indexing and constraint management
Ensured migrations are atomic and reversible
Added error handling and validation
Created test data scenarios
Verified migration on staging environment
Documented deployment steps and timing
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: gologo13-agent-skills-database-migration3description: Database Migration4---56# Database Migration78## Overview910Help create and manage database migrations, generating complete migration files following the project's database framework conventions.1112## Steps13141. **Migration Analysis**15 - Review current database schema changes needed16 - Identify data transformation requirements17 - Check for potential data loss or corruption risks18 - Analyze performance impact of schema changes192. **Migration Script Generation**20 - Create up and down migration scripts21 - Include proper indexing and constraint management22 - Add data migration logic where needed23 - Implement rollback procedures243. **Best Practices**25 - Ensure migrations are atomic and reversible26 - Add proper error handling and validation27 - Include progress monitoring for large datasets28 - Consider zero-downtime deployment strategies294. **Testing Strategy**30 - Create test data scenarios31 - Verify migration on staging environment32 - Plan rollback procedures and testing33 - Document deployment steps and timing3435## Database Migration Checklist3637- [ ] Reviewed schema changes and data transformation requirements38- [ ] Checked for potential data loss or corruption risks39- [ ] Created up and down migration scripts40- [ ] Included proper indexing and constraint management41- [ ] Ensured migrations are atomic and reversible42- [ ] Added error handling and validation43- [ ] Created test data scenarios44- [ ] Verified migration on staging environment45- [ ] Documented deployment steps and timing4647---48> Converted and distributed by [TomeVault](https://tomevault.io/claim/gologo13) — claim your Tome and manage your conversions.49<!-- tomevault:4.0:skill_md:2026-04-14 -->
Run npx skillmds@latest add tomevault-io/gologo13-agent-skills-database-migration in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Database Migration It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.