colinhacks/zod

GitHub
https://github.com/colinhacks/zod

TypeScript-first schema validation with static type inference

  • runtime-validation
  • schema-validation
  • static-types
  • type-inference
  • typescript
Stars:
44.3k
Language:
TypeScript
Default branch:
main
Last scored:
Overall

At a glance

Rank
#110 of 401
Top 27% · #31 of 82 TypeScript repos
Checks passed
8 of 17
Full list below
Best set up for
Claude Code
Score 83.3
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +7.9 pts
  2. 2
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 pts
  3. 3
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +3.6 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#93 of 401
83.3
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ~Reproducible dev env
Codex
#106 of 401
80.4
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Devin
#79 of 401
79.3
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Kimi Code CLI
#109 of 401
79.2
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Pi
#124 of 401
76.7
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✗Linter / formatter config
Cursor
#84 of 401
75.4
  • ~Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
OpenHands
#95 of 401
72.9
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env
Gemini CLI
#112 of 401
70.9
  • ✗GEMINI.md
  • ✓README
  • ~Test suite
Aider
#209 of 401
64.4
  • ✗.aider.conf.yml
  • ✗Linter / formatter config
  • ~Test suite

Does colinhacks/zod have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
AGENTS.md (new tab) · 21,940 characters
Agent-specific files
.cursorrules (new tab) (the older form)No GEMINI.md, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 8 passed

No .agents/skills/<name>/SKILL.md
Substantive (21,940 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
8 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
Only the older .cursorrules — Cursor's docs now cover .cursor/rules/*.mdc instead
Manifest present
Has .devcontainer/devcontainer.json
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No linter/formatter config found
No .openhands/setup.sh
Hook framework configured
README· 100% pass
README detailed (7,285 characters)
Manageable size· 80% pass
705 files
Test suite· 70% pass
Test files detected (packages/docs/content/api.test.ts)
Type configuration· 100% pass
Type config present

How colinhacks/zod compares

vs leaderboard average
9.0 pts above
Average 66.8
vs TypeScript average
4.6 pts above
Average 71.2
Stars among TypeScript repos
#40 of 82

Missing here, and how many repos have it

  • Linter / formatter config · passed by 65% of leaderboard repos, 57% of TypeScript repos
  • Skills (.agents/skills) · passed by 17% of leaderboard repos, 30% of TypeScript repos

Passes checks most repos miss

  • Pre-commit / git hooks · only 29% of repos pass it

One fix for the most agents: Linter / formatter config would raise the score for all 9 agents, by up to 14.1 points.

Similar repos

Same language and host as this repo, closest in overall score.

All TypeScript repos →

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/colinhacks/zod
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/colinhacks/zod.svg)](https://agentfriendlycode.com/repo/github/colinhacks/zod)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.