Generate Zod schemas and TypeScript types for forms, API routes, and Server Actions with runtime validation. Use this skill when creating API contracts, validating request/response payloads, generating form schemas, adding input validation to Server Actions or route handlers, or ensuring type safety across client-server boundaries. Trigger terms include zod, schema, validation, API contract, form validation, type inference, runtime validation, parse, safeParse, input validation, request validation, Server Action validation.
/plugin marketplace add hopeoverture/worldbuilding-app-skills/plugin install api-contracts-and-zod-validation@worldbuilding-app-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/schema_templates/api_route_schema_template.tsassets/schema_templates/entity_schema_template.tsassets/schema_templates/form_schema_template.tsassets/schema_templates/server_action_schema_template.tsreferences/zod_patterns.mdscripts/generate_zod_schema.py