·handling-validation-errors
</>

handling-validation-errors

Inspects, filters, and maps z-schema validation errors for application use. Use when the user needs to handle validation errors, walk nested inner errors from anyOf/oneOf/not combinators, map error codes to user-friendly messages, filter errors with includeErrors or excludeErrors, build form-field error mappers, use reportPathAsArray, interpret SchemaErrorDetail fields like code/path/keyword/inner, or debug why validation failed.

36Installs·0Trend·@zaggino

Installation

$npx skills add https://github.com/zaggino/z-schema --skill handling-validation-errors

How to Install handling-validation-errors

Quickly install handling-validation-errors 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/zaggino/z-schema --skill handling-validation-errors
  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: zaggino/z-schema.

SKILL.md

View raw

z-schema reports validation errors as ValidateError objects containing a .details array of SchemaErrorDetail. This skill covers inspecting, filtering, mapping, and presenting these errors.

| .name | string | Always 'z-schema validation error' | | .message | string | Summary message | | .details | SchemaErrorDetail[] | All individual errors |

| message | string | Human-readable text, e.g. "Expected type string but found type number" | | code | string | Machine-readable code, e.g. "INVALIDTYPE" | | params | (string \| number \| Array)[] | Values filling the message template placeholders | | path | string \| Array | JSON Pointer to the failing value ("#/age" or ["age"]) |

Inspects, filters, and maps z-schema validation errors for application use. Use when the user needs to handle validation errors, walk nested inner errors from anyOf/oneOf/not combinators, map error codes to user-friendly messages, filter errors with includeErrors or excludeErrors, build form-field error mappers, use reportPathAsArray, interpret SchemaErrorDetail fields like code/path/keyword/inner, or debug why validation failed. Source: zaggino/z-schema.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/zaggino/z-schema --skill handling-validation-errors
Category
</>Dev Tools
Verified
First Seen
2026-02-28
Updated
2026-03-10

Browse more skills from zaggino/z-schema

Quick answers

What is handling-validation-errors?

Inspects, filters, and maps z-schema validation errors for application use. Use when the user needs to handle validation errors, walk nested inner errors from anyOf/oneOf/not combinators, map error codes to user-friendly messages, filter errors with includeErrors or excludeErrors, build form-field error mappers, use reportPathAsArray, interpret SchemaErrorDetail fields like code/path/keyword/inner, or debug why validation failed. Source: zaggino/z-schema.

How do I install handling-validation-errors?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/zaggino/z-schema --skill handling-validation-errors 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/zaggino/z-schema