symfony-sk:api-migration

Create empty Doctrine migration files with Version<timestamp> naming in Symfony applications.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Swoking/symfony-sk-plugin --skill symfony-sk-api-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: symfony-sk:api-migration
Source: https://github.com/Swoking/symfony-sk-plugin/tree/main/plugins/symfony-sk/skills/api-migration
Command: npx skills add https://github.com/Swoking/symfony-sk-plugin --skill symfony-sk-api-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a new empty migration file with proper naming to keep database changes organized and traceable.

Core Features & Use Cases

  • Creates a properly named Doctrine migration file when starting a feature that requires database and settings changes.
  • Enforces consistent version naming for migrations.
  • Provides a ready-to-edit skeleton for ticket-based descriptions.

Quick Start

Create a new migration using the dmg-like workflow and update its description with the ticket number and summary.

Frequently Asked Questions about symfony-sk:api-migration

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

FAQPage Schema
How do I create a properly named Doctrine migration file in Symfony?

To create a properly named Doctrine migration file in Symfony, you can automate the process to enforce the Version<timestamp> naming convention, ensuring database changes remain organized and traceable. This generates a ready-to-edit scaffold instantly.

What is the best way to keep database migration files organized when starting a new feature?

The best way to keep database migration files organized is enforcing a consistent Version<timestamp> naming pattern when creating new files. This ensures ticket-based descriptions and database changes remain traceable across Symfony applications.

Does this Symfony migration scaffold include a template for ticket descriptions?

Yes, the Symfony migration scaffold includes a ready-to-edit skeleton specifically designed for ticket-based descriptions, allowing you to update the file with the relevant ticket number and summary immediately after generation.

Can I generate an empty Doctrine migration without running a database diff?

You can generate an empty Doctrine migration file without a database diff by using an automated scaffolding workflow. This creates a blank, properly named file ready for manual editing when starting features requiring settings changes.

When do I need to enforce naming conventions for Symfony database migrations?

You need to enforce naming conventions for Symfony database migrations whenever you start features requiring database or settings changes. Consistent Version<timestamp> naming ensures that schema modifications remain organized and traceable across applications.