Creates or modifies API Platform resources with DTOs and Object Mapper. Use whenever the user wants to add an API endpoint, expose an entity or any data over HTTP, create or reshape a resource, define input/output DTOs, configure nested sub-resources with uriVariables, or map entities/documents to API representations — even if they just say 'add an endpoint for X' or 'expose X in the API'.
$npx -y skills add api-platform/skillset --skill api-resourceInstalls into the current project.
Run `npx skills use "https://github.com/api-platform/skillset" --skill "api-platform/skillset/api-resource"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/api-platform/skillset" that are relevant to the current task. Run `npx skills add "https://github.com/api-platform/skillset"` and select the relevant skills, then follow their instructions.