Registry / posterus-ltd

posterus-ltd/yarkr-public/ts-runtime-validation

Validate untrusted data at TypeScript boundaries (HTTP bodies, API responses, env vars, JSON, storage, messages) with Zod or Valibot and derive static types from the schemas instead of casting. Use when code does `as SomeType` on external data, when adding an endpoint or config loader, or when choosing a validation library.

Agent skill · version 0.0.0-arks-library.1792108577.gbefeb5a · from posterus-ltd/yarkr-public

Install

npx yarkr-cli add skill:posterus-ltd/yarkr-public/ts-runtime-validation

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/ts-runtime-validation
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/ts-runtime-validation

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posterus-ltd/yarkr-public/ts-runtime-validation

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.