Create Migration

🌐Community
by sjtw · vlatest · Repository

Helps with creation, migration as part of agent workflows 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 create-migration npx -- -y @trustedskills/create-migration
2

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

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

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

About This Skill

What it does

This skill automates the creation of database migration files. It generates a new file with a timestamped filename, ready for you to define your schema changes within. This streamlines database updates and ensures version control of your data structure modifications.

When to use it

  • When adding a new column to a table in your application's database.
  • To refactor an existing table or its columns.
  • For initial setup when creating the skeleton for database migrations.
  • During application deployments where database schema changes are required.

Key capabilities

  • Generates timestamped migration files.
  • Simplifies database update workflows.
  • Supports version control of database schemas.

Example prompts

  • "Create a new migration file."
  • "Generate a migration for adding a new user table."
  • “I need to create a migration.”

Tips & gotchas

This skill assumes you have a basic understanding of database migrations and the structure expected by your project's migration system. The generated files will require manual editing to define the actual schema changes.

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
sjtw
Installs
3

🌐 Community

Passed automated security scans.