lc:migration-fresh-test

Automate Laravel database migration testing and repair in Docker containers.

12|2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/edulazaro/laraclaude --skill lc-migration-fresh-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lc:migration-fresh-test
Source: https://github.com/edulazaro/laraclaude/tree/main/skills/migration-fresh-test
Command: npx skills add https://github.com/edulazaro/laraclaude --skill lc-migration-fresh-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves the frustration of failing database migrations by automating the detection, diagnosis, and repair of schema conflicts within Docker-based Laravel environments.

Core Features & Use Cases

  • Automated Diagnosis: Identifies root causes for migration failures like foreign key constraints, duplicate tables, or column mismatches.
  • Interactive Repair: Offers a guided fix mode that validates syntax and applies corrections with user confirmation.
  • Use Case: When a team member pushes a migration that breaks the build, use this skill to instantly pinpoint the conflicting file and apply the necessary fix to restore the database state.

Quick Start

Run the lc:migration-fresh-test skill to diagnose and fix migration errors in your current Docker container.

Frequently Asked Questions about lc:migration-fresh-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix failing Laravel database migrations inside a Docker container?

This skill automates diagnosing and fixing failing Laravel database migrations inside Docker by targeting schema conflicts like foreign key constraints and executing iterative PHP artisan code remediation to restore the database state.

What causes foreign key constraint errors during Laravel migrations and how can I resolve them?

Foreign key constraint errors during Laravel migrations typically stem from schema ordering conflicts or column mismatches, which you can resolve by running an automated diagnosis that pinpoints the conflicting migration file and applies guided syntax corrections.

Can I automate the debugging of duplicate table definitions in Laravel migrations?

You can automate debugging duplicate table definitions in Laravel migrations using this skill, which identifies root causes for migration failures and offers an interactive repair mode to validate syntax and apply corrections.

Does this skill work with standard Docker CLI and PHP artisan commands?

This skill works with Docker CLI and PHP artisan commands, requiring integration with these tools to perform iterative testing and execute automated code remediation on your Laravel migration files.

What is the best way to resolve migration ordering conflicts when a team member breaks the build?

The best way to resolve migration ordering conflicts when a build breaks is to use automated diagnosis to instantly pinpoint the conflicting file and apply the necessary fix to restore the database state without manual searching.