·arktype-validation
{}

arktype-validation

ArkType runtime validation with TypeScript-native syntax. Type-safe schemas using string expressions, morphs, scopes, and generics. Includes ArkEnv for typesafe environment variable validation with auto-coercion and Vite plugin. Use when defining schemas, validating data, transforming input, building type-safe APIs with ArkType, or validating environment variables with ArkEnv.

28Installs·2Trend·@oakoss

Installation

$npx skills add https://github.com/oakoss/agent-skills --skill arktype-validation

How to Install arktype-validation

Quickly install arktype-validation AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/oakoss/agent-skills --skill arktype-validation
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: oakoss/agent-skills.

SKILL.md

View raw

ArkType is a TypeScript-native runtime validation library that defines schemas using string expressions mirroring TypeScript syntax, providing editor autocomplete, syntax highlighting, and optimized validators. Use when building type-safe APIs, validating JSON payloads, or replacing Zod with a more TypeScript-idiomatic approach. Not suitable for projects that need Zod ecosystem compatibility or JSON Schema output.

| type({ key: "string" }) | Define object schema | | type("string") | Primitive type | | "string.email", "string.url" | Built-in string validators | | "string.trim", "string.lower" | Built-in string morphs (transforms) | | "string.json.parse" | Parse JSON string to validated object | | "number > 0", "string >= 1" | Inline constraints |

| "string \| number" | Union types | | "'a' \| 'b' \| 'c'" | String literal unions | | "string[]" | Array types | | "key?": "string" | Optional properties | | "key = 'default'" | Default values | | .pipe(), .to() | Transform output (morphs) | | .narrow() | Custom validation (like Zod refine) | | .pick(), .omit() | Object property selection |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/oakoss/agent-skills --skill arktype-validation
Category
{}Data Analysis
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from oakoss/agent-skills

Quick answers

What is arktype-validation?

ArkType runtime validation with TypeScript-native syntax. Type-safe schemas using string expressions, morphs, scopes, and generics. Includes ArkEnv for typesafe environment variable validation with auto-coercion and Vite plugin. Use when defining schemas, validating data, transforming input, building type-safe APIs with ArkType, or validating environment variables with ArkEnv. Source: oakoss/agent-skills.

How do I install arktype-validation?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/oakoss/agent-skills --skill arktype-validation Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/oakoss/agent-skills