global-validation

Implement runtime validation and type safety using Zod schemas for Content Collections, API inputs, form data, and environment variables. Use this skill when validating user input, API requests, content schemas, or ensuring data integrity. When working on Content Collections schema definitions in src/content/config.ts, API route input validation with Zod, form validation (server-side and client-side), environment variable validation, component prop validation with runtime checks, URL and query parameter validation, request body and form data sanitization, TypeScript runtime type validation, or custom Zod refinements and transformations.

$ Installer

git clone https://github.com/SpacePlushy/portfolio /tmp/portfolio && cp -r /tmp/portfolio/.claude/skills/global-validation ~/.claude/skills/portfolio

// tip: Run this command in your terminal to install the skill