Laravel Migrations
This skill generates Laravel migration files automatically based on your database schema changes – streamlining development and ensuring data consistency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-migrations npx -- -y @trustedskills/laravel-migrations
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-migrations": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-migrations"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to manage database schema changes in Laravel applications using migration files. It automates tasks like creating, running, and rolling back migrations, ensuring a consistent and reproducible database structure across development environments. The agent can handle complex migration scenarios involving multiple tables and relationships.
When to use it
- Setting up a new Laravel project: Quickly create the initial database schema based on your application's models.
- Deploying changes to production: Safely apply database modifications after code deployments.
- Refactoring existing databases: Modify table structures and relationships without manual SQL scripting.
- Collaborating with a team: Ensure all developers are working with the same database schema.
Key capabilities
- Create new migration files.
- Run pending migrations.
- Rollback previous migrations.
- Manage database schema changes in Laravel projects.
Example prompts
- "Generate a migration file to add an 'email' column to the 'users' table."
- "Run all outstanding database migrations."
- "Roll back the last three database migrations."
Tips & gotchas
This skill requires a working Laravel project with a configured database. Ensure your agent has access to the project’s migration files and database credentials for proper functionality.
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.