validation

Standard Schema helpers for consistent validation and error handling across Zod, Valibot, ArkType, and others.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "validation" with this command: npx skills add zap-studio/skills/zap-studio-skills-validation

validation

Overview

Standard Schema helpers for consistent validation and error handling across Zod, Valibot, ArkType, and others.

When to Use

  • Validating inputs or API payloads with Standard Schema-compatible schemas

  • Normalizing sync and async validation paths

  • Handling a single ValidationError type across schema libraries

When Not to Use

  • You only need simple, ad-hoc checks without schema validation

Quick Reference

  • Guard: isStandardSchema

  • Validate: standardValidate

  • Sync only: createSyncStandardValidator

  • Error: ValidationError

Inputs to Request

  • Schema library in use (Zod, Valibot, ArkType)

  • Throwing vs non-throwing validation

  • Desired error shape and handling

Resources

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

validation

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

validation

No summary provided by upstream source.

Repository SourceNeeds Review
General

permit

No summary provided by upstream source.

Repository SourceNeeds Review
General

fetch

No summary provided by upstream source.

Repository SourceNeeds Review