zod-v4 SKILL.md skillA
zod-v4 from bjornmelin/dev-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add bjornmelin/dev-skills/zod-v4@git:20260611.54152bcPins git:20260611.54152bc in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- bjornmelin/dev-skills
- Path
skills/zod-v4/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260611.54152bc, committed Jun 11, 2026
- First version recorded
- Jan 26, 2026
- Size
- 5,562 bytes
- Repository stars
- 8
- License
- none declared
Zod v4 TypeScript schema design, Zod 3 to 4 migration, validation boundaries, errors, codecs, JSON Schema/OpenAPI, metadata, Zod Mini/Core, RHF/tRPC/Hono/Next integrations, and rule-aware audits for Zod 4.4.3.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Zod v4
Rule-first Zod v4.4.3 guidance for TypeScript. Start with the highest-risk
matching rule, then load the linked reference only when deeper API detail is
needed.
## Quick Start
```bash
bun add zod@^4.4.3
```
```ts
import { z } from "zod";
const User = z.object({
name: z.string().min(1, { error: "Required" }),
email: z.email({ error: "Invalid email" }),
});
type User = z.infer<typeof User>;
```
## Route By Task
| Task | Start Here |
| --- | --- |
| v3 migration or deprecated API cleanup | `rules/_index.md`, then `references/migration-v3-to-v4.md` |
| User input, env, HTTP, DB, queue, or JSON boundaries | `parse-*`, `schema-*`, and `references/codecs-v4.md` |
| Current schema APIs, string formats, records, template literals, XOR, defaults | `references/schema-surface-v4.md` |
| UI/API/CLI error messages | `error-*`, `migrate-error-*`, and `references/errors-v4.md` |
| Object composition, strictness, or refined schemas | `object-*` rules |
| JSON Schema/OpenAPI export | `jsonschema-*`, `meta-*`, and `references/json-schema-v4.md` |
| Bidirectional wire/internal transforms | `codec-*` and `references/codecs-v4.md` |
…Read the whole file at its exact version.
How to install
mdr add bjornmelin/dev-skills/zod-v4@sha256:adef63a40efcc27dThe line at the top of this page pins the label git:20260611.54152bc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_lusgq2g7dqjo6b6q)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jan 26, 2026 and Jun 11, 2026, about one every 68 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260611.54152bc latest | 2026-06-11 | 54152bc | 5,562 B | A | view · diff |
| git:20260512.8418464 | 2026-05-12 | 8418464 | 7,645 B | A | view · diff |
| git:20260126.735ce96 | 2026-01-26 | 735ce96 | 7,078 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5562 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
bjornmelin/dev-skills · 8 stars · license none declared · pushed 2026-10-27 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lusgq2g7dqjo6b6q GET https://markdownregistry.com/api/v1/resolve?ref=bjornmelin/dev-skills/zod-v4 GET https://markdownregistry.com/api/v1/blob/adef63a40efcc27dddea58fb0f35780ae9a584e72ea52b6e8dfe699be5989fac
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.