/superpowers-symfony:api-platform-testsfrom superpowers-symfony
Writes functional tests for API Platform endpoints using ApiTestCase, Foundry factories, and DAMA. Covers collections, items, filters, JSON schema, and authentication.
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.
ApiTestCase and seed data with Foundry factories (createOne, createMany).#[ResetDatabase] and the Factories trait, with DAMA rolling back each test.static::createClient()->request() and assert the status code, content type, and assertJsonContains().auth_bearer and cover the anonymous, owner, and other-user cases.member and totalItems for filters and pagination (hydra:-prefixed only with hydra_prefix: true).assertMatchesResourceItemJsonSchema() and assertMatchesResourceCollectionJsonSchema().PATCH with the application/merge-patch+json content type.#[ResetDatabase] needs PHPUnit 10+ and Foundry 2.9: use the ResetDatabase trait on PHPUnit 9.reference.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
44 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 APIs/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 entitiesnpx claudepluginhub dev-toolings/superpowers-symfony --plugin superpowers-symfonyOther plugins' skills for the same job