Database Migration Helper

🌐Community
by armanzeroeight · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add database-migration-helper npx -- -y @trustedskills/database-migration-helper
2

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

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

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

About This Skill

What it does

The database-migration-helper skill assists with generating SQL migration scripts. It can create migrations based on schema changes, reverse migrations to revert those changes, and apply existing migrations. This simplifies database updates and rollbacks in development and production environments.

When to use it

  • You need to update a database schema but want assistance writing the necessary SQL statements.
  • You're performing a complex database refactor and require scripts to both add and remove features safely.
  • You are debugging an issue requiring you to revert a recent database migration.
  • You’re automating your deployment process and need to ensure migrations are applied consistently across environments.

Key capabilities

  • Generates SQL migration scripts based on schema differences.
  • Creates reverse (rollback) SQL migration scripts.
  • Applies existing SQL migration scripts.

Example prompts

  • "Generate a migration script to add a column named 'email' of type VARCHAR(255) to the 'users' table."
  • "Create a reverse migration for the previous migration."
  • "Apply all pending migrations to my database."

Tips & gotchas

The skill requires access to both the old and new database schemas to accurately generate migration scripts. Ensure the AI agent has appropriate permissions to read these schemas.

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
armanzeroeight
Installs
5

🌐 Community

Passed automated security scans.