Agent skill

Doctrine Fixtures Foundry

by dev-toolings in dev-toolings/superpowers-symfony

Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships

MITAuto-check: notesTesting & QA

Install Doctrine Fixtures Foundry

skills CLI
$ npx skills add dev-toolings/superpowers-symfony --skill doctrine-fixtures-foundry -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dev-toolings/superpowers-symfony doctrine-fixtures-foundry --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dev-toolings/superpowers-symfony.git skills-src && mkdir -p .claude/skills && cp -r skills-src/content/skills/doctrine-fixtures-foundry .claude/skills/doctrine-fixtures-foundry && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
doctrine-fixtures-foundry
GitHub stars
223
Token cost
~457 tokens
SKILL.md length
199 words
Files
2
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships

  • Works in 5 steps: Generate a factory per entity and keep… → Express each variation as an immutable… → Let factories create default relations… → …
  • Tasks that involve Test data and fixtures
  • SKILL.md covers Use when, Default workflow, Guardrails and Progressive disclosure, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Doctrine Fixtures Foundry is an agent skill from dev-toolings/superpowers-symfony. Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships

Its SKILL.md is about 460 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).

It sits in Testing & QA, covering Test data and fixtures. The repository describes itself as: Claude Code plugin for Symfony 7.4 LTS & 8.x — 44 skills, 7 AI subagents & 13 commands for API Platform v4, Doctrine ORM 3, TDD (Pest/PHPUnit), Messenger, security & DDD. The licence is MIT.

When your agent uses it

  • Tasks that involve Test data and fixtures

Example prompts

  • “/doctrine-fixtures-foundry”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Write, Edit, Bash

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Generate a factory per entity and keep defaults() to required and unique fields.
  2. Express each variation as an immutable named state (admin(), published()).
  3. Let factories create default relations with OtherFactory::new().
  4. Group shared scenarios in stories, and reset the database per test class.
  5. Assert on real objects and on the repository through Factory::assert().

What it can do on your machine

Read from SKILL.md and the folder at commit 459bcd0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Write
    • Edit
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Doctrine Fixtures Foundry loads about 457 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 199 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~457

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Glob, Grep, Write, Edit, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dev-toolings/superpowers-symfony at commit 459bcd0, republished under its MIT licence (© dev-toolings). 199 words, ~457 tokens.

Download SKILL.mdSave it as .claude/skills/doctrine-fixtures-foundry/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
doctrine-fixtures-foundry
description
Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships
allowed-tools
Read, Glob, Grep, Write, Edit, Bash
capabilities
read, search, edit, shell
tags
doctrine, testing

Doctrine Fixtures Foundry (Symfony)

Use when

  • Creating test or development data for Doctrine entities.
  • Writing a Foundry factory, a named state, a sequence, or a story.
  • Building related entities for a test without hand-written setup.
  • Migrating legacy Foundry v1 factories or ->object() calls to v2.

Default workflow

  1. Generate a factory per entity and keep defaults() to required and unique fields.
  2. Express each variation as an immutable named state (admin(), published()).
  3. Let factories create default relations with OtherFactory::new().
  4. Group shared scenarios in stories, and reset the database per test class.
  5. Assert on real objects and on the repository through Factory::assert().

Guardrails

  • Use self::faker()->unique() for every unique column, or tests collide.
  • Do not call ->object() or ->_real(): v2 factories return real objects.
  • Seed Faker (FOUNDRY_FAKER_SEED) when a failure must be reproducible.
  • Do not build a factory for trivial data a test can create inline.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • Factories with minimal defaults, named states and relation defaults.
  • Stories for shared scenarios, when more than one test needs them.
  • Test setup wired with the Foundry extension and #[ResetDatabase].

References

  • reference.md

© dev-toolings, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in content/skills/doctrine-fixtures-foundry of dev-toolings/superpowers-symfony.

  • SKILL.md
  • reference.md

Open the folder on GitHubat commit 459bcd0

Compare with similar skills

Doctrine Fixtures Foundry next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Doctrine Fixtures Foundry compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Doctrine Fixtures Foundry this skilldev-toolings/superpowers-symfony223—~457Automated safety check: NotesMIT
Fs Fixtureprivatenumber/fs-fixture100—~1.2kAutomated safety check: PassMIT
Dev Tenant APInightscout/nocturne139—~1.4kAutomated safety check: PassNone
Rsibench Data Factoryevolvent-ai/RSIBench-Data171—~640Automated safety check: NotesNone
Eval Designagentscope-ai/OpenJudge871—~2.8kAutomated safety check: WarnApache-2.0
Data GenerationRed-Hat-AI-Innovation-Team/sdg_hub164—~381Automated safety check: PassApache-2.0

Similar skills

  • Fs Fixture

    privatenumber/fs-fixture

    Create disposable file system test fixtures from objects, templates, or empty directories with automatic cleanup.

    100 GitHub stars~1.2k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Dev Tenant API

    nightscout/nocturne

    Interact with Nocturne's local dev-only API: seed a loginable tenant preloaded with realistic sample data, obtain a browser session (loginLink) or bearer token headlessly, export/re-seed the dev…

    139 GitHub stars~1.4k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Rsibench Data Factory

    evolvent-ai/RSIBench-Data

    Use inside RSIBench-Data when testing whether an automation agent can improve a target model on a configured benchmark through synthetic Tinker SFT data, Tinker sampling, and E2B-based Harbor…

    171 GitHub stars~640 tokensUpdated 1 mo ago
    Testing & QAAuto-check: notes
  • Eval Design

    agentscope-ai/OpenJudge

    A skill your agent uses when the user needs to design evaluation datasets, create test cases, stratify samples, generate adversarial examples, extract eval dimensions from traces/specs, or build a…

    871 GitHub stars~2.8k tokensUpdated 29 days ago
    Testing & QAAuto-check: warnings
  • Data Generation

    Red-Hat-AI-Innovation-Team/sdg_hub

    A skill your agent uses when the user wants to run synthetic data generation via scripts — detect environment, execute a flow, and present results.

    164 GitHub stars~381 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Official

    Use this skill before answering or editing whenever an MSTest v1/v2 project is being upgraded or repaired for v3.

    5.6k GitHub starsUsed in 1 repo~5.5k tokens
    Testing & QAAuto-check passed

More from dev-toolings/superpowers-symfony

All 44 skills in this repo
  • Symfony Scheduler

    dev-toolings/superpowers-symfony

    Schedule recurring tasks with the Symfony Scheduler component (native since 7.x); define schedules, triggers, and integrate with Messenger

    223 GitHub stars~526 tokensUpdated 5 days ago
    Auto-check: notes
  • API Platform Dto Resources

    dev-toolings/superpowers-symfony

    Map entities to API DTOs in API Platform (v5, 4.4, 4.3) with the Symfony Object Mapper ([Map], stateOptions) for decoupled input/output contracts

    223 GitHub stars~593 tokensUpdated 5 days ago
    Auto-check: notes
  • API Platform Filters

    dev-toolings/superpowers-symfony

    Implement API Platform filters - Parameters API (QueryParameter, v5/4.4/4.3) and the [ApiFilter] attribute deprecated since 4.4 - for search, date, range, boolean, and custom filtering

    223 GitHub stars~610 tokensUpdated 5 days ago
    Auto-check: notes
  • API Platform Resources

    dev-toolings/superpowers-symfony

    Configure API Platform resources (v5, 4.4, 4.3) with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs

    223 GitHub stars~560 tokensUpdated 5 days ago
    Auto-check: notes
  • API Platform Security

    dev-toolings/superpowers-symfony

    Secure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control

    223 GitHub stars~551 tokensUpdated 5 days ago
    Auto-check: notes
  • API Platform Serialization

    dev-toolings/superpowers-symfony

    Control API Platform serialization with groups, [Context], IRI links (readableLink/writableLink), and custom context builders

    223 GitHub stars~519 tokensUpdated 5 days ago
    Auto-check: notes

Categories

Questions about Doctrine Fixtures Foundry

What does Doctrine Fixtures Foundry do?

Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships. Doctrine Fixtures Foundry is an agent skill from dev-toolings/superpowers-symfony.

When should I use Doctrine Fixtures Foundry?

Doctrine Fixtures Foundry fits situations like: tasks that involve Test data and fixtures.

How do I install Doctrine Fixtures Foundry in Claude Code?

Run `npx skills add dev-toolings/superpowers-symfony --skill doctrine-fixtures-foundry -a claude-code`. Or copy the skill folder (content/skills/doctrine-fixtures-foundry in dev-toolings/superpowers-symfony) into .claude/skills/doctrine-fixtures-foundry in your project. Claude Code loads it when a task matches its description.

How do I install Doctrine Fixtures Foundry in Codex?

Run `npx skills add dev-toolings/superpowers-symfony --skill doctrine-fixtures-foundry -a codex`. Or copy the skill folder (content/skills/doctrine-fixtures-foundry in dev-toolings/superpowers-symfony) into .agents/skills/doctrine-fixtures-foundry in your project. Codex loads it when a task matches its description.

Can I use Doctrine Fixtures Foundry in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dev-toolings/superpowers-symfony --skill doctrine-fixtures-foundry -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doctrine-fixtures-foundry, .gemini/skills/doctrine-fixtures-foundry, .github/skills/doctrine-fixtures-foundry and .opencode/skills/doctrine-fixtures-foundry in your project.

What does Doctrine Fixtures Foundry need to run?

SKILL.md names no scripts, command-line tools or credentials: Doctrine Fixtures Foundry is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep, Write, Edit, Bash.

Does Doctrine Fixtures Foundry access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Doctrine Fixtures Foundry safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Doctrine Fixtures Foundry use?

Doctrine Fixtures Foundry is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Doctrine Fixtures Foundry use?

About 457 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Doctrine Fixtures Foundry?

Skills that share tags, products or a category with Doctrine Fixtures Foundry: Fs Fixture (privatenumber/fs-fixture, 100 stars), Dev Tenant API (nightscout/nocturne, 139 stars), Rsibench Data Factory (evolvent-ai/RSIBench-Data, 171 stars) and Eval Design (agentscope-ai/OpenJudge, 871 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Doctrine Fixtures Foundry?

dev-toolings (a GitHub organization) maintains it in dev-toolings/superpowers-symfony, which has 223 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 5, 2026.

Source: dev-toolings/superpowers-symfony on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.