S
symfony:api-platform-dto-resources
About symfony:api-platform-dto-resources
A Symfony skill for designing and evolving API Platform resources and DTOs. It guides contract definition, explicit mapping, operation-level validation and security, and functional verification.
Key features
- 01Define operation contracts and payload boundaries
- 02Map resources, DTOs, providers, and processors explicitly
- 03Set operation-specific validation and security
- 04Check successful and failure paths
Use cases
- 01Designing or evolving API Platform operations
- 02Keeping serialization aligned with API documentation
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ dev-toolings/ superpowers-symfony --skill symfony:api-platform-dto-resourcesAfter installing, type/symfony:api-platform-dto-resourcesin Claude Code to confirm it loaded.
Bundled filesreference.md
Details
From the project READMEApi Platform Dto Resources (Symfony)
Use when
- Designing or evolving API Platform contracts and operations.
- Aligning serialization, validation, and security behavior.
Default workflow
- Define operation-level contract and payload boundaries.
- Implement resource/DTO/provider/processor changes with explicit mapping.
- Apply operation-specific validation and security constraints.
- Validate functional behavior across happy and negative paths.
Guardrails
- Keep API contract explicit and version-aware.
- Avoid exposing internal entity fields implicitly.
- Prevent drift between docs and actual serialization.
Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
Output contract
- API artifacts changed (resource/DTO/provider/processor).
- Contract/security decisions and rationale.
- Functional verification results.
References
reference.mddocs/complexity-tiers.md
Comments
Markdown supported