/superpowers-symfony:api-platform-resourcesfrom superpowers-symfony
Configure API Platform resources (v5, 4.4, 4.3) with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs.
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].Get, GetCollection, Post, Put, Patch, and Delete the API offers.openapiContext arrays.api-platform/symfony, api-platform/doctrine-orm, and optionally api-platform/graphql; on Symfony 6.4 LTS, pin them to ~4.3.0.operations:, since declaring any one stops the automatic CRUD, and Put is never automatic.uriTemplate, requirements, status, or routePrefix only where the defaults do not fit.api_platform.defaults in config/packages/api_platform.yaml.openapi: model objects, set validationContext groups, then check the routes and the OpenAPI export.operations: [new Get()] resource has no collection, Post, or Delete.openapiContext arrays are deprecated in v4: use the typed openapi: option.collectionOperations and itemOperations no longer exist.paginationClientEnabled lets clients disable pagination: keep paginationMaximumItemsPerPage set.reference.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-securitySecure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control/api-platform-serializationControl API Platform serialization with groups, #[Context], IRI links (readableLink/writableLink), and custom context builders/api-platform-state-providersMaster API Platform State Providers and Processors (v5, 4.4, 4.3) (ProviderInterface/ProcessorInterface) to decouple data retrieval and persistence from entities/api-platform-testsTest API Platform resources with ApiTestCase; assert collections, items, filters, JSON schema, and authenticationOther plugins' skills for the same job