/framework:make:factoryfrom framework
Generates Zenstruck Foundry factory classes for Symfony entities to create test instances with Faker defaults and Elegant Objects patterns.
Ships in framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
IMPORTANT : Exécute ce workflow étape par étape :
Génère une Factory Foundry pour créer des instances d'entités dans les tests.
Use skill framework:make:factory
defaults()src/Entity/{EntityName}.phpsrc/Factory/{EntityName}Factory.phpcreate()templates/Factory/finalclass() retournant FQCNdefaults() avec valeurs Fakerinitialize() avec instantiateWith() appelant Entity::create()withSpecificId(), inactive())instantiateWith() pour respecter Elegant Objects (pas de new Entity())self::faker()withoutPersisting() si besoinWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub atournayre/claude-marketplace --plugin framework9 skills in this plugin
/make:allframework:make:allGénère tous les fichiers pour une entité complète (orchestrateur)/make:collectionframework:make:collectionGénère classe Collection typée avec traits Atournayre/make:contractsframework:make:contractsGénère les interfaces de contrats pour une architecture Elegant Objects/make:entityframework:make:entityGénère une entité Doctrine avec repository selon principes Elegant Objects/make:invalideframework:make:invalideGénère classe Invalide (exceptions métier)/make:outframework:make:outGénère classe Out (DTO immuable pour output)