Prisma Migration Assistant
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.
Run in terminal (recommended)
claude mcp add monkey1sai-prisma-migration-assistant npx -- -y @trustedskills/monkey1sai-prisma-migration-assistant
Or manually add to ~/.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
pricefromInttoDecimalon 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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.