agentreadme

Report · marked 25 Aug 2026

colinhacks/zod

Ready for an agent to work in without hand-holding.

TypeScript · 43,527 stars · 669 files · branch main

Fix these first

01
README as an entry point
Give the README an Install and a Usage heading with real commands under each. Agents pattern-match on those headings.
02
File sizes fit in context
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
03
Instruction quality
Worth fixing: it's 22k characters, which burns context on every single turn.

The full marking

Every deduction below names the file or setting it came from.

Instructions 23/27 A

Whether the repo tells an agent how to behave before it starts guessing.

Agent instruction file 12/12
AGENTS.md is present, which is the format the most tools read.
Also found: CLAUDE.md, .cursorrules
Instruction quality 10/12
Specific enough that an agent can act on it.
Worth fixing: it's 22k characters, which burns context on every single turn.
names the actual commands to run
uses headings, so an agent can skim it
includes copyable code blocks
README as an entry point 1/3
README exists but never explains how to get the thing running.
Give the README an Install and a Usage heading with real commands under each. Agents pattern-match on those headings.
Setup 16/16 A+

Whether an agent can install the project and get it running without a human.

Deterministic install 6/6
pnpm-lock.yaml pins the dependency tree.
Found pnpm-lock.yaml
Discoverable commands 6/6
Commands are declared where an agent will look for them.
package.json scripts (fix, format, format:check, lint, lint:check, clean…)
scripts/ directory
Environment config n/a
Not applicable — this reads as a library, with no environment to configure.
Pinned runtime version 2/2
The language runtime version is pinned.
Found .nvmrc
Reproducible environment 2/2
.devcontainer/devcontainer.json gives a known-good environment.
Verification loop 24/25 A+

Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.

Tests exist 8/8
198 test files against 486 source files.
e.g. packages/bench/arktype-morph-test.ts, packages/docs/content/api.test.ts, packages/docs/tsconfig.test.json
Test command is discoverable 7/7
An agent can find and run `npm run test`.
Continuous integration 4/4
6 GitHub Actions workflows define what "passing" means.
Lint and format rules 3/3
biome.jsonc encodes the house style.
Static type checking 2/3
Type checking is configured, but not in strict mode.
Turn on `"strict": true`. Type errors are the fastest feedback an agent gets, and non-strict mode silently discards most of them.
Context economy 18/20 A

Whether the repo fits in a context window, or fights it.

No committed build output 6/6
No generated directories committed.
.gitignore hygiene 3/3
.gitignore covers 32 patterns.
File sizes fit in context 4/6
3 source files are over 100KB.
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
packages/zod/src/v4/core/schemas.ts — 163KB
packages/zod/src/v3/types.ts — 157KB
packages/zod/src/v4/classic/tests/to-json-schema.test.ts — 127KB
Repository weight 5/5
About 24.8MB checked out, which is comfortable.

Here is your AGENTS.md

Drafted from what is actually in this repository: the install command from your lockfile, the commands you already declare, your real directory layout. Anything marked TODO needs a person. Save it at the root as AGENTS.md.

AGENTS.md — drafted for colinhacks/zod
undefined

Open the raw markdown  or  curl -o AGENTS.md agentreadme.com/draft/colinhacks/zod.md

Show the mark

The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.

agent ready 91 out of 100

[![agent ready](https://agentreadme.com/badge/colinhacks/zod.svg)](https://agentreadme.com/colinhacks/zod)

Other TypeScript repositories, marked

freeCodeCamp/freeCodeCamp 69 B openclaw/openclaw 68 B nilbuild/developer-roadmap 45 C vuejs/vue 67 B n8n-io/n8n 87 A anomalyco/opencode 80 A-

All TypeScript repositories

Think this mark is wrong?

Every deduction above names the file it came from, so this can be settled by looking. If a check missed something, that is a rule worth fixing.

Open an issue, already filled in