Ask Db Migration Assistant

🌐Community
by navanithans · vlatest · Repository

Guides database migration planning, identifies potential issues, and suggests optimized strategies based on schema analysis.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add ask-db-migration-assistant npx -- -y @trustedskills/ask-db-migration-assistant
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "ask-db-migration-assistant": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/ask-db-migration-assistant"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The ask-db-migration-assistant skill assists with database migration tasks. It can generate SQL scripts for schema changes and data migrations, helping to automate the process of moving data between different database systems or versions. This includes generating upgrade/downgrade scripts and handling complex transformations.

When to use it

  • You need to migrate a database from one version (e.g., PostgreSQL 12) to another (e.g., PostgreSQL 15).
  • You're refactoring your application’s data model and require SQL scripts to update the schema.
  • You want to automate the generation of upgrade/downgrade migration scripts for a software project.
  • You need assistance in transforming data during a database migration process.

Key capabilities

  • Generates SQL scripts for schema changes.
  • Creates SQL scripts for data migrations.
  • Handles complex transformations during migrations.
  • Produces upgrade and downgrade migration scripts.

Example prompts

  • "Generate an upgrade script to change the 'users' table from PostgreSQL 12 to 15."
  • "Create a data migration script to move customer data from MySQL to PostgreSQL."
  • "I need a SQL script to add a new column called 'email_verified' to my users table, with a default value of false."

Tips & gotchas

The skill requires a good understanding of SQL and database schemas. Providing clear instructions about the source and destination databases is crucial for accurate script generation.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
navanithans
Installs
2

🌐 Community

Passed automated security scans.