mcpField
S
symfony:doctrine-transactions

symfony:doctrine-transactions

github.com/dev-toolingsData & databases227550 installsUpdated 4w ago
Repository

About symfony:doctrine-transactions

A Symfony skill for Doctrine entity relationships, schema changes, and query behavior. It guides migration-safe changes and targeted tests while addressing transaction boundaries and common performance issues.

Key features

  1. 01Model ownership and cardinality
  2. 02Plan transaction boundaries
  3. 03Apply migration-safe schema changes
  4. 04Tune fetch and query behavior
  5. 05Test lifecycle behavior

Use cases

  1. 01Design Doctrine entity relations
  2. 02Evolve a schema safely
  3. 03Investigate N+1 queries or over-fetching

Install

Copy the command and run it in a terminal.

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

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

Bundled filesreference.md

Details

From the project README

Doctrine Transactions (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