Help us improve
Share bugs, ideas, or general feedback.
From role-backend
Implements data validation using Zod, Joi, class-validator, Pydantic, and JSON Schema. Covers API DTOs, input sanitization, custom validators, middleware, and error formatting for inputs, contracts, and forms.
npx claudepluginhub rnavarych/alpha-engineer --plugin role-backendHow this skill is triggered — by the user, by Claude, or both
Slash command
/role-backend:data-validationThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Choosing a validation library for a new project or stack
Verifies schema validation, data contracts, and pipeline data quality. Detects libraries like Zod/Yup/Joi, audits trust boundaries for unvalidated inputs, enforces runtime schemas, aligns TypeScript types with runtime.
Creates reusable Zod v4 schemas to validate API payloads, forms, and config inputs in TypeScript apps. Handles coercion, transforms, errors, and type inference for runtime type safety.
Share bugs, ideas, or general feedback.
references/validation-fundamentals.md — library selection table, four-layer validation model, request/response DTO rules, input sanitization checklist, and type coercion guidelinesreferences/validators-middleware-patterns.md — custom validator implementations (email, phone, slug, currency, password), cross-field validation, middleware pipeline wiring, error response format, schema composition patterns, and performance tuning