Skip to content
SkilVault
Sign inGet started

runtime-input-validation

Languages & Frameworks
Signed by SkilVault

Turns untrusted external input into verified TypeScript values by treating a schema as the single contract: define it once, derive the type from it, and parse each arriving value exactly once at its boundary. Covers choosing a failure policy per entry point, field-level error reporting, separating malformed JSON syntax from schema violations, exceptions thrown by custom transforms and refinements, batch imports with positional reports, and startup checks limited to non-secret settings. Use when a TypeScript codebase consumes API responses, request bodies, webhooks, queue messages, raw JSON text, query strings or non-secret environment variables, or when the user mentions Zod, Valibot, io-ts, Yup, AJV, TypeBox, runtime checks or schema validation. Not for compile-time-only type questions with no external data, non-TypeScript languages, or reading and managing secrets.

Version
v1.0.0
Size
15 KB
Updated
2026-10-11
$ skilvault read --manual runtime-input-validation

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.