laravel:migrations-and-factories

Community

Safe database changes for Laravel.

Authormeistro57
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance on managing database schema changes in Laravel applications, ensuring safety, testability, and reversibility. It addresses the common challenges of modifying existing migrations and structuring database seeding.

Core Features & Use Cases

  • Migration Management: Best practices for creating, modifying, and rolling back database migrations.
  • Model-Migration Pairing: Ensures that every new model is accompanied by its corresponding migration and factory.
  • Seeding Guidance: Recommendations for creating realistic yet minimal datasets for seeding.
  • Use Case: When developing a new feature, you need to add a new table and its associated model. This Skill guides you on how to create a migration for the table, a factory for test data, and the model itself, ensuring they are all linked and managed correctly.

Quick Start

Use the laravel:migrations-and-factories skill to create a new model named 'User' with its migration and factory.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel:migrations-and-factories
Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-migrations-and-factories

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.