api-platform-dto-resou…
Map entities to API DTOs in API Platform v4 with the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contracts
Implement granular authorization with Symfony Voters; decouple permission logic from controllers; test authorization separately
$ npx -y skills add dev-toolings/superpowers-symfony --skill symfony-voters --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/symfony-votersContext preview
The summary Claude sees to decide when to auto-load this skill.
Implement granular authorization with Symfony Voters; decouple permission logic from controllers; test authorization separately
name: symfony:symfony-voters allowed-tools: - Read - Write - Edit - Bash - Glob - Grep description: Implement granular authorization with Symfony Voters; decouple permission logic from controllers; test authorization separately
1. Map actor/resource/action decision matrix. 2. Implement voter/constraint logic at the right boundary. 3. Wire checks at controllers and API operations. 4. Test allowed/forbidden/invalid paths comprehensively.
Symfony AI development superpowers for Claude Code. 44 expert skills, 7 specialized subagents, and 13 slash commands covering API Platform v4, Doctrine ORM 3, TDD with Pest & PHPUnit, Symfony Messenger, security/voters, and DDD / hexagonal architecture.
Repo: dev-toolings/superpowers-symfony
Map entities to API DTOs in API Platform v4 with the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contracts
Implement API Platform filters - v4 Parameters API (QueryParameter) and legacy #[ApiFilter] - for search, date, range, boolean, and custom filtering
Configure API Platform v4 resources with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs
Secure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control
Control API Platform serialization with groups, #[Context], IRI links (readableLink/writableLink), and custom context builders
Master API Platform v4 State Providers and Processors (ProviderInterface/ProcessorInterface) to decouple data retrieval and persistence from entities