Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Implements data validation for Python Pydantic v2 and TypeScript Zod schemas, plus input sanitization for APIs, forms, and database writes.
39% 74%+35 ptsof test cases passed
Passed 17 of 23 test cases with the skill, and 9 of 23 without it.
3 of 3 safety checks passed
14 agent runs
Expert data validation for Python backends (Pydantic) and TypeScript frontends (Zod) with type-safe validation pipelines.
| Layer | Tool | Purpose |
|---|---|---|
| Backend | Pydantic v2 | Request/response validation |
| Frontend | Zod | Form validation, schema inference |
| Sanitization | bleach, strip-html | Input cleaning |
| Types | mypy, TypeScript | Compile-time safety |
backend/
├── app/
│ ├── schemas/
│ │ ├── __init__.py
│ │ ├── student.py # StudentCreate, StudentUpdate, StudentOut
│ │ ├── fee.py # FeeCreate, FeeOut
│ │ └── common.py # PaginationParams, ErrorDetail
│ └── models/ # SQLModel (separate from schemas)
frontend/
├── lib/
│ ├── schemas/
│ │ ├── student.schema.ts
│ │ └── index.ts # Export all schemas
│ └── validation.ts # Shared validation utilities
└── types/
└── shared.ts # Inferred types from Zod
# backend/app/schemas/student.py
Next to this one in the catalogue, plus more from the same author.