/superpowers-symfony:api-platform-state-providersfrom superpowers-symfony
Implements API Platform state providers and processors (v3.4, v4.3, v4.4, v5) to decouple data retrieval/persistence from entities. Useful when customizing Doctrine fetching or adding business logic before/after persist.
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.
ProviderInterface::provide() returning iterable|object|null, where null gives a 404 (v3.4 declares mixed).api_platform.doctrine.orm.state.item_provider and api_platform.doctrine.orm.state.collection_provider with #[Autowire].ProcessorInterface::process() and delegate to api_platform.doctrine.orm.state.persist_processor or remove_processor.provider: and processor: on the resource or the operation; autoconfiguration registers them, and the api_platform.state_provider or api_platform.state_processor tag is only needed without it.GET or GetCollection, add write: true (v4 only).DELETE.write: true on safe methods is v4 only: v3.4 processors run on write methods only.DataProvider and DataPersister are v2 interfaces and no longer exist.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-dto-resourcesMap entities to API DTOs in API Platform (v5, 4.4, 4.3) with the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contracts/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 APIsOther plugins' skills for the same job