Zod JSON Schema

Best practices for generating JSON Schema from Zod v4 schemas using z.toJSONSchema(). Covers target versions, metadata registries, override callbacks, io modes, transform handling, regen-check tests, and serving schemas as HTTP routes. Load this skill when converting Zod schemas to JSON Schema or building schema generation scripts.

remorses Updated 45 repo stars

File contents

remorses/opencode-config commit 9d680495c1

Frequently asked questions

npx get-skill add remorses/zod-json-schema