/superpowers-symfony:api-platform-securityfrom superpowers-symfony
Secures API Platform resources using security expressions, voters, securityPostValidation, and operation-level access control. Helps restrict operations, scope collection results, and hide fields by role.
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.
security per operation with is_granted(), object, and user, plus a securityMessage.is_granted('POST_EDIT', object).securityPostDenormalize, or securityPostValidation to run after the Validator.QueryCollectionExtensionInterface (and QueryItemExtensionInterface) or a state provider.access_control.security expression on a collection: it gates the whole collection, it does not scope it.security, denormalization, securityPostDenormalize, validation, securityPostValidation.previous_object exists only in securityPostDenormalize, and request only at resource level.password with #[Ignore].getAccessDecision() and the Twig access_decision() helper need Symfony 8.1 or later: verify before using them.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 APIsnpx claudepluginhub dev-toolings/superpowers-symfony --plugin superpowers-symfonyOther plugins' skills for the same job