Configures serialization with normalizationContext/denormalizationContext and #[Groups] in API Platform — per-operation contexts, #[Context] per-property overrides, and read/write group naming. Use when the user mentions serialization groups, #[Groups], normalizationContext, denormalizationContext, hiding/exposing fields per operation, write-only or read-only properties, controlling embedded relation depth, or 'why is this field showing up / missing' in the JSON output.
$npx -y skills add api-platform/skillset --skill serialization-groupsInstalls into the current project.
Run `npx skills use "https://github.com/api-platform/skillset" --skill "api-platform/skillset/serialization-groups"` 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.