A library pattern helper for runtime schema validation and data type mapping in TypeScript applications.

Install

mkdir -p .claude/skills/typebox && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4169" && unzip -o skill.zip -d .claude/skills/typebox && rm skill.zip

Installs to .claude/skills/typebox

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

TypeBox and TypeMap patterns for runtime schema validation and JSON Schema generation. Use when mentioning TypeBox, TypeMap, Standard Schema, or schema-based validation.
169 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Define schemas using TypeBox Type.* methods
  • →Perform one-off validation with Value.Check
  • →Compile high-performance validators
  • →Generate portable JSON Schema objects
  • →Maintain schema-based validation boundaries
  • →Inspect schema metadata and static types

How it works

It utilizes the typebox package to define schemas that are portable JSON Schema-shaped objects, providing methods for both simple validation and high-performance compilation.

Inputs & outputs

You give it
Data structure definition
You get back
Validated data or JSON Schema representation

When to use typebox

  • →Defining API request schemas
  • →Validating input data at runtime
  • →Translating schemas between validation libraries
  • →Generating JSON schemas from code

About typebox

It provides standardized patterns for using TypeBox and TypeMap to validate data. It enforces the use of the non-deprecated 'typebox' package and guides the implementation of schema-based validation.

TypeBox and TypeMap patterns for schema validation. Use when working with runtime type validation, JSON Schema, or Standard Schema.

When not to use it

  • →When implementing Standard Schema interfaces
  • →When performing local runtime request parsing

Limitations

  • →Does not implement Standard Schema
  • →Requires specific package naming conventions

How it compares

It mandates the use of the non-deprecated typebox package and enforces a clear separation between portable schema definitions and local runtime validation logic.

Compared to similar skills

typebox side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
typebox (this skill)26moNo flagsIntermediate
drizzle2385moNo flagsIntermediate
zustand1135moNo flagsIntermediate
motion-canvas5810moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

drizzle

lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

238873

zustand

lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

113434

motion-canvas

davila7

Complete production-ready guide for Motion Canvas with ESM/CommonJS workarounds, full setup templates, and troubleshooting for programmatic video creation using TypeScript

58202

turborepo

vercel

Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.

61191

shadcn-ui-setup

maneeshanif

Install and configure Shadcn/ui component library with Radix UI primitives, Aceternity UI effects, set up components, and manage the component registry. Use when adding Shadcn/ui to a Next.js project or installing specific UI components for Phase 2.

37194

angular

sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern patterns.

100129

Search skills

Search the agent skills registry