/superpowers-symfony:api-platform-filtersfrom superpowers-symfony
Implements API Platform filters for Symfony: Parameters API (QueryParameter) and the deprecated #[ApiFilter] attribute for search, date, range, boolean, and custom filtering.
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.
#[ApiFilter] declarations (deprecated since 4.4) to the Parameters API, by hand or with api:upgrade-filter.parameters with QueryParameter on the operation; keep #[ApiFilter] only in 3.4 code or code not yet migrated.ExactFilter, PartialSearchFilter, FreeTextQueryFilter, OrFilter, IriFilter (4.2+), ComparisonFilter, SortFilter (4.3+), StartSearchFilter, EndSearchFilter, ChainFilter (4.4+).FilterInterface and read the bound value from $context['parameter'] (AbstractFilter and filterProperty() are deprecated since 4.4: keep them for 4.3 and 3.4 code).strictQueryParameterValidation so unknown query parameters return 400.#[ORM\Index] on filtered columns, then request the endpoint with matching and non-matching values.$context, not the constructor.LIKE %value% cannot use an index.generateParameterName() and setParameter(), never by string concatenation.?price[gte]=1000).reference.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
api-platform, symfony, query-parameters, filtering, collection-endpoints
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-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 controlOther plugins' skills for the same job