Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
makfly avatar

Symfony:doctrine Batch Processing Skill

  • 423 installs
  • 190 repo stars
  • Updated August 6, 2026
  • makfly/superpowers-symfony

symfony:doctrine-batch-processing is a Symfony agent skill that processes large Doctrine result sets with batching, clear(), and memory-safe iterators so developers running imports, migrations, or console workers avoid O

About

symfony:doctrine-batch-processing is a backend skill in makfly/superpowers-symfony for evolving Symfony Doctrine models and running bulk database operations without exhausting PHP memory. The workflow starts by modeling entity ownership, cardinality, and transactional boundaries, then applies mapping and migration changes with rollout discipline, tunes fetch and DQL behavior on hot paths, and verifies lifecycle callbacks through targeted tests. Guardrails warn against destructive single-release migration jumps, incoherent owning and inverse sides, and accidental N+1 or over-fetching during batch jobs. Allowed tools include Read, Write, Edit, Bash, Glob, and Grep so agents can inspect entities, adjust migrations, and validate console commands. Developers reach for symfony:doctrine-batch-processing when Symfony commands or workers iterate tens of thousands of Doctrine rows and need explicit batch flush and clear() cycles instead of loading entire collections into memory.

  • Iterable queries and batch sizes
  • EntityManager clear() discipline
  • Chunked import/export jobs
  • Memory profiling guidance
  • Console worker patterns

Symfony:Doctrine Batch Processing by the numbers

  • 423 all-time installs (skills.sh)
  • Ranked #142 of 922 Databases skills by installs in the Skillselion catalog
  • Data as of Aug 11, 2026 (Skillselion catalog sync)
npx skills add https://github.com/makfly/superpowers-symfony --skill symfonydoctrine-batch-processing

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs423
repo stars190
Last updatedAugust 6, 2026
Repositorymakfly/superpowers-symfony

How do Symfony commands batch-process Doctrine without OOM?

Process large Doctrine result sets in Symfony commands or workers using batching, clear(), and memory-safe iterators without OOM failures on imports or migrations.

Who is it for?

Symfony backend developers importing or migrating large datasets who need Doctrine batch iteration with migration safety guardrails.

Skip if: Teams on non-PHP stacks or small CRUD apps without bulk Doctrine workloads should skip symfony:doctrine-batch-processing.

When should I use this skill?

The user hits OOM errors in Symfony Doctrine imports, needs batch clear() patterns, or is evolving entity relations for large-table rollouts.

What you get

Entity and migration diffs, batch processing strategy notes, integrity decisions, and validation outcomes with rollback guidance.

  • Entity and migration change set
  • Batch processing and fetch strategy notes
  • Validation and rollback checklist

By the numbers

  • makfly/superpowers-symfony README lists 44 skill definitions in the repository
  • Allowed-tools manifest enumerates 6 agent tools: Read, Write, Edit, Bash, Glob, Grep

Files

SKILL.mdMarkdownGitHub ↗

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

Related skills

How it compares

Pick symfony:doctrine-batch-processing for bulk iteration and memory-safe imports; pair with symfony:doctrine-migrations for standalone schema versioning tasks.

FAQ

When should symfony:doctrine-batch-processing be invoked?

symfony:doctrine-batch-processing fits Symfony projects designing entity relationships, changing mappings on large tables, or optimizing Doctrine queries for hot batch jobs. Use it when imports, migrations, or workers risk OOM failures, N+1 queries, or destructive schema jumps in

What outputs does symfony:doctrine-batch-processing produce?

symfony:doctrine-batch-processing delivers entity and migration change proposals, integrity and performance decisions, and validation outcomes with rollback notes. Its output contract also covers fetch tuning recommendations and targeted test guidance for Doctrine lifecycle behav

Databasesdatabasespipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.