Creates custom validation constraints for API Platform resources. Use whenever a rule goes beyond built-in Symfony constraints — rate or plan limits, uniqueness checks, domain-specific formats, cross-field or conditional validation, or any 'reject the request when X' business rule on write operations, even if the user doesn't say 'validator'.
$npx -y skills add api-platform/skillset --skill custom-validatorInstalls into the current project.
Run `npx skills use "https://github.com/api-platform/skillset" --skill "api-platform/skillset/custom-validator"` 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.