Symfony%3Adoctrine Migrations

🌐Community
by makfly · vlatest · Repository

Generates Symfony Doctrine database migration files automatically based on your entity changes – streamlining development and ensuring schema consistency.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add symfony%3Adoctrine-migrations npx -- -y @trustedskills/symfony%3Adoctrine-migrations
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "symfony%3Adoctrine-migrations": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/symfony%3Adoctrine-migrations"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill automates Doctrine migrations in Symfony projects. It allows you to generate, execute, and rollback database migration files directly from an AI agent's instructions. This streamlines the process of adapting your database schema to evolving application needs, reducing manual effort and potential errors.

When to use it

  • Schema Changes: When a new feature requires modifications to the database structure (adding tables, columns, or relationships).
  • Database Rollbacks: To revert changes made by previous migrations in case of issues during deployment or testing.
  • Automated Deployment Pipelines: Integrate migration execution into CI/CD pipelines for consistent and repeatable deployments.
  • Development Workflow: Quickly generate and apply migrations during development to test database interactions.

Key capabilities

  • Generates Doctrine migration files.
  • Executes pending database migrations.
  • Rolls back applied database migrations.

Example prompts

  • "Generate a new migration file to add an 'email' column to the 'users' table."
  • "Run all pending migrations on the development database."
  • "Rollback the last executed migration."

Tips & gotchas

  • Requires a Symfony project with Doctrine configured.
  • Ensure you have appropriate database credentials and permissions for the AI agent to interact with your database.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
makfly
Installs
0

🌐 Community

Passed automated security scans.