Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships
Scanned 8/31/2026
Install to Claude Code
npx -y skills add dev-toolings/superpowers-symfony --skill doctrine-fixtures-foundry --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Doctrine Fixtures Foundry?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dev-toolings-doctrine-fixtures-foundry)More formats (shields.io, HTML) on the badges page.
---
name: symfony:doctrine-fixtures-foundry
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
description: Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships
---
# Doctrine Fixtures Foundry (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`
No comments yet. Be the first to comment!