What problem does it solve? Hand-written input validation with scattered if checks is verbose, error-prone, and easy to bypass. This Skill guides you to use ArkType as the single boundary validation layer in the Veles repo, so server functions and API routes reject invalid input declaratively with keywords, ranges, unions, and pipes. ## Core Features & Use Cases - Boundary Validation Patterns: Apply arkTypeValidator to TanStack server functions and check type.errors in API routes, with repo-specific rules like logMiddleware and null-coerced optional numeric fields. - Strict Date-Only Validation: Use the shared dateOnlyType from @/lib/dateOnly to enforce exact YYYY-MM-DD shape and calendar validity instead of the permissive string.date. - Quick Reference & Anti-Patterns: A comprehensive catalog of ArkType expressions (strings, numbers, arrays, objects, unions, FormData, files) plus guidance on when custom .narrow() or .filter() is justified. - Use Case: When adding a recipe rating endpoint, define type('string.numeric.parse |> 1 <= number <= 5') directly above the route instead of writing manual range checks after parsing. ## Quick Start Ask the AI to add ArkType validation to a new server function or API route following the repo's boundary validation rules.