Evolve Symfony Doctrine models and schema safely with integrity, performance, and rollout discipline. Use for doctrine batch processing tasks.
Resources
1Install
npx skillscat add makfly/superpowers-symfony/symfony-doctrine-batch-processing Install via the SkillsCat registry.
About this skill
This skill manages Symfony Doctrine model evolution and schema changes while ensuring data integrity and performance. It addresses risks like N+1 queries, inconsistent entity relations, and destructive migrations. Use this skill when designing entity relationships, optimizing query behavior, or implementing safe database migrations during batch processing tasks.
SKILL.md
Doctrine Batch Processing (Symfony)
Use when
- Designing entity relations or schema evolution.
- Improving Doctrine correctness/performance.
Default workflow
- Model ownership/cardinality and transactional boundaries.
- Apply mapping/schema changes with migration safety.
- Tune fetch/query behavior for hot paths.
- 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.mddocs/complexity-tiers.md