Laravel Migrations And Factories
Generates Laravel database migration files and factory seed data, streamlining development by automating schema creation & initial data setup.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add noartem-laravel-migrations-and-factories npx -- -y @trustedskills/noartem-laravel-migrations-and-factories
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"noartem-laravel-migrations-and-factories": {
"command": "npx",
"args": [
"-y",
"@trustedskills/noartem-laravel-migrations-and-factories"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to generate Laravel migration files and factories. It can create new database tables, modify existing ones, and populate databases with test data using factory methods. The tool streamlines the process of setting up and managing a Laravel application’s database schema and initial data.
When to use it
- Rapid prototyping: Quickly set up a basic database structure for a new Laravel project.
- Testing environments: Generate realistic test data for your application using factories.
- Database schema evolution: Create migration files to add, remove, or modify columns in existing tables.
- Seed data creation: Populate a database with initial data needed for development or demonstration purposes.
Key capabilities
- Generation of Laravel migration files.
- Creation of Laravel factory classes.
- Support for defining table schemas (columns, types, constraints).
- Ability to generate seed data using factories.
Example prompts
- "Create a migration file for a 'users' table with id, name, and email columns."
- "Generate a factory class for the 'posts' model."
- “Write a migration that adds an ‘is_active’ boolean column to the ‘products’ table.”
Tips & gotchas
This skill requires familiarity with Laravel concepts like migrations and factories. Ensure you have a basic understanding of database schema design before using this tool, as incorrect instructions can lead to unexpected results.
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.