Claude Code Plugins

Community-maintained marketplace

Feedback

Create database migrations following Laravel best practices with reversible up/down methods, focused single-purpose changes, proper index management, and clear naming conventions. Use this skill when creating new database tables, adding or modifying columns in existing tables, creating or dropping indexes, implementing foreign key constraints, renaming tables or columns, or managing database schema changes. This skill applies when working on migration files in database/migrations/ directory, generating new migrations via artisan commands, or ensuring zero-downtime deployments with backwards-compatible schema changes.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name Backend Migrations
description Create database migrations following Laravel best practices with reversible up/down methods, focused single-purpose changes, proper index management, and clear naming conventions. Use this skill when creating new database tables, adding or modifying columns in existing tables, creating or dropping indexes, implementing foreign key constraints, renaming tables or columns, or managing database schema changes. This skill applies when working on migration files in database/migrations/ directory, generating new migrations via artisan commands, or ensuring zero-downtime deployments with backwards-compatible schema changes.

Backend Migrations

When to use this skill

  • When creating new database tables for models or features
  • When adding or modifying columns in existing tables
  • When creating or dropping database indexes for performance optimization
  • When implementing foreign key constraints for data integrity
  • When renaming tables or columns in the database schema
  • When managing database schema changes across environments
  • When working on migration files in database/migrations/ directory
  • When generating new migrations via php artisan make:migration commands
  • When ensuring zero-downtime deployments with backwards-compatible changes
  • When separating schema changes from data migrations
  • When implementing reversible migrations with proper down() methods

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend migrations.

Instructions

For details, refer to the information provided in this file: backend migrations