/superpowers-symfony:api-platform-dto-resourcesfrom superpowers-symfony
Maps Doctrine entities to API DTOs in API Platform (v5, 4.4, 4.3) using the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contracts.
Ships in superpowers-symfony. 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.
#[ApiResource] class must be the API contract, decoupled from the Doctrine entity.DataTransformerInterface, which no longer exists.symfony/object-mapper and set stateOptions: new Options(entityClass: ...) on the DTO resource.#[Map(source: ...)] and #[Map(target: ...)], and use #[Map(transform: ...)] for computed fields.input: and output: on each operation.ProcessorInterface that calls ObjectMapperInterface::map().stateOptions has an entityClass and both the DTO and the entity carry #[Map].DataTransformerInterface is gone: use Object Mapper or a provider and processor.ProviderInterface and a ProcessorInterface.ObjectMapperProcessor is removed in 5.0: the automatic path uses ObjectMapperInputProcessor and ObjectMapperOutputProcessor (4.3+).#[Map] bindings.reference.mdWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dev-toolings/superpowers-symfony --plugin superpowers-symfony44 skills in this plugin
/api-platform-filtersImplement 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/api-platform-resourcesConfigure API Platform resources (v5, 4.4, 4.3) with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs/api-platform-securitySecure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access controlOther plugins' skills for the same job