What problem does it solve?
This Skill prevents invalid or malformed data from entering your system, ensuring data integrity and preventing runtime errors by enforcing strict validation at all entry points.
Core Features & Use Cases
- Input Sanitisation: Validates user input on the frontend using Zod and API requests on the backend using Pydantic.
- Schema Definition: Provides clear, reusable schemas for data contracts.
- Australian-Specific Validation: Includes validators for ABN, phone numbers, postcodes, and dates in Australian formats.
- Use Case: When a user submits a registration form, Zod validates their email format and password strength on the client-side, and Pydantic validates the incoming API request on the server-side, ensuring only clean data reaches your business logic.
Quick Start
Use the data-validation skill to create a Zod schema for a user registration form including email, password, and Australian postcode validation.