From superpowers-symfony
Implements API Platform v4 State Providers and Processors using ProviderInterface/ProcessorInterface to decouple data retrieval and persistence from entities, with contract enforcement and validation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-symfony:api-platform-state-providersThis 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-symfonyMaps Symfony entities to API Platform v4 DTOs using the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contracts.
Creates state providers for read operations in API Platform's CQRS-style provider/processor split. Use for custom retrieval, computed fields, DTO transformation, or decorating Doctrine providers.
Generates OpenAPI 3.1 contracts with JSON schemas, RFC 9457 error responses, versioning, and examples from API entities, PRDs, or database schemas.