add-migration

Official

Auto-create Bespoke migrations with correct names

Authorbespoke-uk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creating database migrations for Bespoke packages is error-prone and tedious when following strict naming conventions. This Skill automatically generates properly named migration stubs based on a package path and a description, ensuring consistency across the codebase.

Core Features & Use Cases

  • Generates migration stubs in database/migrations based on the migration description (e.g., create, add, remove, or index) and package path.
  • Maps human-readable descriptions to the correct file names like create_{table}table.php.stub or add{column}to{table}_table.php.stub.
  • Outputs ready-to-publish migration skeletons with consistent structure and naming to streamline package scaffolding and publishing.

Quick Start

Execute /add-migration crm/contact "add status column to contacts" to generate database/migrations/add_status_to_contacts_table.php.stub

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: add-migration
Download link: https://github.com/bespoke-uk/bespoke-mono/archive/main.zip#add-migration

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.