mcpField
S
symfony:doctrine-migrations

symfony:doctrine-migrations

github.com/dev-toolingsData & databases227641 installsUpdated 3w ago
Repository

About symfony:doctrine-migrations

A Symfony skill for designing Doctrine entity relationships and evolving schemas. It guides migration safety, query and fetch tuning, and targeted lifecycle tests.

Key features

  1. 01Model ownership and cardinality
  2. 02Apply safe schema migrations
  3. 03Tune fetch and query behavior
  4. 04Test entity lifecycle behavior

Use cases

  1. 01Designing Doctrine entity relations
  2. 02Evolving schemas with safer migrations
  3. 03Improving hot-path query performance

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dev-toolings/superpowers-symfony --skill symfony:doctrine-migrations

After installing, type/symfony:doctrine-migrationsin Claude Code to confirm it loaded.

Bundled filesreference.md

Details

From the project README

Doctrine Migrations (Symfony)

Use when

  • Designing entity relations or schema evolution.
  • Improving Doctrine correctness/performance.

Default workflow

  1. Model ownership/cardinality and transactional boundaries.
  2. Apply mapping/schema changes with migration safety.
  3. Tune fetch/query behavior for hot paths.
  4. Verify lifecycle behavior with targeted tests.

Guardrails

  • Keep owning/inverse sides coherent.
  • Avoid destructive migration jumps in one release.
  • Eliminate accidental N+1 and over-fetching.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • Entity/migration changes.
  • Integrity and performance decisions.
  • Validation outcomes and rollback notes.

References

  • reference.md
  • docs/complexity-tiers.md

Comments

Markdown supported