Prisma Migration Assistant

🌐Community
by monkey1sai · vlatest · Repository

Helps with Prisma ORM, 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 monkey1sai-prisma-migration-assistant npx -- -y @trustedskills/monkey1sai-prisma-migration-assistant
2

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

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

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

About This Skill

What it does

The Prisma Migration Assistant helps generate and review Prisma database migration files. It analyzes existing schema definitions, identifies changes needed, and produces the corresponding SQL migration scripts. This skill streamlines database evolution while ensuring data integrity during application updates.

When to use it

  • You need to update your database schema based on changes in your application code.
  • You want to automate the generation of Prisma migration files.
  • You're refactoring a database and require assistance creating the necessary migrations.
  • You’re unsure how to translate a specific schema change into a valid Prisma migration.

Key capabilities

  • Generates Prisma migration files based on schema changes.
  • Analyzes existing schema definitions.
  • Produces SQL scripts for database updates.

Example prompts

  • "Generate a Prisma migration to add a new 'email' column to the User model."
  • "Create a migration that renames the 'old_column_name' field in the Product table to 'new_column_name'."
  • “I’ve changed the type of price from Int to Decimal on my product schema, generate a migration.”

Tips & gotchas

  • Ensure your Prisma schema file (schema.prisma) is up-to-date for accurate migration generation.
  • Review generated migrations carefully before applying them to your database.

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
monkey1sai
Installs
4

🌐 Community

Passed automated security scans.