From superpowers-symfony
Maps Symfony entities to API Platform v4 DTOs using the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contracts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-symfony:api-platform-dto-resourcesThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Designing or evolving API Platform contracts and operations.
reference.mddocs/complexity-tiers.mdnpx claudepluginhub makfly/superpowers-symfony --plugin superpowers-symfonyConfigure API Platform v4 resources with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs.
Creates or modifies API Platform resources with DTOs and Object Mapper. Use when adding endpoints, exposing entities over HTTP, defining input/output DTOs, or configuring nested sub-resources.
Generates immutable DTO classes for PHP 8.4 apps, including request/response objects for API boundaries, layer-specific data transfer, serialization methods, and unit tests.