Database Migration
Helps with database, migration as part of working with databases and data persistence workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add sickn33-database-migration npx -- -y @trustedskills/sickn33-database-migration
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sickn33-database-migration": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sickn33-database-migration"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The database-migration skill enables AI agents to automate the process of moving data between different database systems or versions. It handles schema transformations, data mapping, and execution of migration scripts with minimal manual intervention.
When to use it
- Upgrading a legacy SQL database to a newer version while preserving historical records.
- Migrating data from a monolithic PostgreSQL instance to a distributed NoSQL solution.
- Refactoring table structures to align with new application requirements without downtime.
- Automating routine maintenance tasks like index rebuilding or partitioning across environments.
Key capabilities
- Generates and executes SQL migration scripts tailored to specific source and target schemas.
- Validates data integrity before, during, and after the migration process.
- Supports rollback mechanisms in case of migration failures.
- Provides detailed logs and reports on completed migration steps.
Example prompts
- "Migrate my customer table from MySQL 5.7 to PostgreSQL 14, ensuring all foreign keys are preserved."
- "Create a migration plan to convert our JSON-based user profiles into normalized relational tables."
- "Automate the daily backup and incremental migration of our analytics database to a cloud storage system."
Tips & gotchas
Ensure your source database has consistent backups before initiating any automated migration. Test migrations in a staging environment first to catch potential data loss or schema conflicts.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.