symfony-doctrine-batch-processing

star 151

Process large datasets with Doctrine (ORM 3 toIterable, flush+clear, bulk DQL) and memory management

MakFly By MakFly schedule Updated 6/16/2026

name: symfony:doctrine-batch-processing allowed-tools: - Read - Write - Edit - Bash - Glob - Grep description: Evolve Symfony Doctrine models and schema safely with integrity, performance, and rollout discipline. Use for doctrine batch processing tasks.

Doctrine Batch Processing (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
Install via CLI
npx skills add https://github.com/MakFly/superpowers-symfony --skill symfony-doctrine-batch-processing
Repository Details
star Stars 151
call_split Forks 15
navigation Branch main
article Path SKILL.md
More from Creator