Data Migration Scripts
Reversible database migration scripts with batched backfills, validation checks, and zero-downtime deployment patterns.
- CCM score
- 38 of 100
- skills.sh installs
- 432
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers schema changes, data transformations, backfills, and cross-system migrations for Knex.js and Alembic projects
- Includes six reference guides: Knex.js and Alembic migrations, batched large-data migration, zero-downtime pattern, validation, and cross-database migration
- Enforces paired
upanddownmigrations, transactional operations, batch processing for large datasets, and post-migration data validation - Designed for teams changing live database schemas or moving data between systems without taking production offline
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill data-migration-scripts -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Data Migration Scripts
Table of Contents
Overview
Create robust, safe, and reversible data migration scripts for database schema changes and data transformations with minimal downtime.
When to Use
- Database schema changes
- Adding/removing/modifying columns
- Migrating between database systems
- Data transformations and cleanup
- Splitting or merging tables
- Changing data types
- Adding indexes and constraints
- Backfilling data
- Multi-tenant data migrations
Quick Start
Minimal working example:
import { Knex } from "knex";
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Category
- Databases
- First seen
- Jun 3, 2026
Questions
What does the data-migration-scripts skill do?
The data-migration-scripts skill creates safe, reversible database migration scripts with rollback capabilities, data validation, and zero-downtime deployments. It covers schema changes, moving data between systems, and large-scale data transformations, with Knex.js and Alembic examples in its reference guides.
How do I install the data-migration-scripts skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill data-migration-scripts -y in your project to install the data-migration-scripts skill. Once installed, the data-migration-scripts skill lets your agent write migrations that include both up and down steps.
When should I use the data-migration-scripts skill?
Use the data-migration-scripts skill when adding, removing or modifying columns, splitting or merging tables, changing data types, backfilling data or migrating multi-tenant data. Its SKILL.md also covers adding indexes and constraints and migrating between database systems.
Where does the data-migration-scripts skill stand in the Databases category?
The data-migration-scripts skill is listed in the Databases category on Claude Marketplaces, next to supabase-postgres-best-practices and several Prisma skills. What sets it apart is its focus on reversible migrations with rollback and batching guidance for large datasets.
More from aj-geddes/useful-ai-prompts
All 258- Correlation Tracing430
- Dimensionality Reduction430
- Synthetic Monitoring429
- Canary Deployment428
- Model Monitoring428
- Model Deployment427
- Service Mesh Implementation427
- Data Replication Setup426
- Polyglot Integration426
- Azure Functions425
- Graphql Implementation425
- Multi Cloud Strategy420
- Distributed Tracing419
- Nodejs Express Server3.3K
- Code Review Analysis2.4K
- Jenkins Pipeline2.2K
- Rest Api Design2.1K
- Architecture Diagrams2K
- Ansible Automation1.9K
- Ios Swift Development1.5K
- Nginx Configuration1.5K
- Android Kotlin Development1.5K
- Flask Api Development1.4K
- Wireframe Prototyping1.4K
Similar to Data Migration Scripts
More Databasesdatabase-migration-managementaj-geddes/useful-ai-prompts505 installsStructured database migration guidance covering schema versioning, rollbacks, and data transformations for PostgreSQL and MySQL.
database-migrationwshobson/agents18.5K installsCross-ORM database migration guide covering zero-downtime schema changes, data transformations, and rollback strategies.
database-migrations-sql-migrationssickn33/agentic-awesome-skills408 installsSQL migration playbook for PostgreSQL, MySQL, and SQL Server, centered on zero-downtime changes and rollback planning.
migration-plannerpatricio0312rev/skills281 installsPhased data and system migration planner using dual writes, backfills, feature flags, and per-phase rollbacks.