Skip to content

Since the last run

Overall +5 points

colinhacks/zod (opens in a new tab)

Mature, well-documented project with strong getting-started guidance but some friction in contributor onboarding and missing explicit issue/PR templates.

TypeScriptβ˜… 42,973200 open issuesMIT License
Overall score: 81 out of 100
Firm grip

last scored 2026-06-15

Readiness lenses

The same repo, two ways: how ready it is for an AI coding agent, and for a human newcomer. Switch lenses to see each one's score and checks.

How ready the repo is for an AI coding agent to read, build, and operate it.

25 of 35 checks passed across 6 categories.

  • Machine Orientation

    6 checks passed2 problems found

    • lowllms.txt present

      An llms.txt is the emerging machine-orientation standard β€” a curated map for LLMs.

      Fix: Add an llms.txt pointing at the key docs and entry points.

    • lowArchitecture doc

      An ARCHITECTURE doc hands an agent the module map instead of making it infer one.

      Fix: Add an ARCHITECTURE.md describing the major components and how they fit.

    • README present β€” An agent reconstructs what the repo is and how to work in it from the README first.
    • Agent instructions file β€” AGENTS.md / CLAUDE.md is the direct, machine-read channel for entry points and conventions.
    • Agent instructions stay lean β€” A bloated instructions file burns context and measurably hurts more than it helps.
    • Repository description set β€” The one-line description is the fastest orientation signal an agent reads.
    • Topics set β€” GitHub topics situate the repo's domain and stack for an agent at a glance.
    • Contribution conventions are written down β€” A contributor guide is where an agent learns the branch, commit, and review conventions it must follow.
  • Reproducible Setup

    5 checks passed1 problem found

    • lowEnv template present

      A .env.example tells an agent which configuration keys it must supply to run.

      Fix: Ship a .env.example listing every required key with placeholder values.

    • Lockfile committed β€” Without a lockfile two clones can resolve different dependency trees β€” the build isn't reproducible.
    • Runtime / toolchain pinned β€” An unpinned runtime makes an agent guess the version a clean environment needs.
    • Version pins are exact β€” A floating pin (a bare major, or a range) still drifts between installs.
    • Container or dev-container β€” A Dockerfile / compose / devcontainer removes 'works on my machine' from setup.
    • Dev container β€” A .devcontainer gives an agent a one-command, fully-declared environment.
  • Code Navigability

    1 check passed1 problem found

    • lowTypeScript strict mode on

      Strict typing gives an agent typed signatures to anchor an edit on, not guesses.

      Fix: Turn on `strict` in tsconfig.json.

    • Conventional source layout β€” A recognised src/ Β· lib/ Β· app/ layout lets an agent localise code without spelunking.
  • Verification Surface

    5 checks passed2 problems found

    • lowTask runner present

      A Makefile / Taskfile / justfile gives an agent a single index of the project's commands.

      Fix: Add a Makefile / Taskfile / justfile collecting the common commands.

    • lowTypecheck command

      A typecheck script lets an agent catch type errors before they ship.

      Fix: Add a `typecheck` script (e.g. `tsc --noEmit`).

    • Tests present β€” Runnable tests are the ground truth an agent checks its own edits against.
    • Test command defined β€” A `test` script is the documented, discoverable way to run the suite.
    • Lint command defined β€” A linter an agent can run catches a class of mistakes before they ship.
    • CI configured β€” Readable CI is the feedback loop an agent reads to know what 'green' means here.
    • Build command β€” A documented build command is the discoverable way for an agent to produce artifacts.
  • Agent Safety

    6 checks passed2 problems found

    • lowCODEOWNERS present

      CODEOWNERS marks the 'don't touch without review' zones an agent should respect.

      Fix: Add a CODEOWNERS file marking the sensitive paths.

    • lowAutomated dependency updates

      Dependabot / Renovate keeps dependencies patched without a human in the loop.

      Fix: Enable Dependabot or Renovate.

    • No committed .env β€” A tracked real .env hands secrets to anything β€” including an agent β€” that reads the repo.
    • No exposed secrets β€” Secret-shaped literals in tracked files are a live credential leak.
    • .gitignore covers env files β€” An ignore rule for .env is what keeps the next careless commit from leaking secrets.
    • .gitignore present β€” A .gitignore is the first guard against an agent committing secrets or build junk.
    • Security policy β€” A SECURITY.md is where an autonomous security agent reads this repo's rules before acting on it.
    • License makes the code reusable β€” Without a license an agent cannot safely copy, redistribute, or vendor any of this code.
  • Context Economy

    2 checks passed2 problems found

    • lowGenerated / vendored files marked

      A .gitattributes linguist marker tells tools (and agents) what to skip.

      Fix: Mark generated/vendored paths in .gitattributes (linguist-generated / linguist-vendored).

    • lowNo oversized source file

      A single file in the hundreds of KB blows past an agent's effective context window.

      Fix: Split the largest files along their natural seams.

    • Dependencies not vendored in β€” A committed node_modules / vendor tree drowns the real signal an agent needs.
    • Build output not committed β€” Generated dist/ Β· build/ output is noise an agent has to read past.

Where the grip slips

  1. mediumFinding Your Way+12 pts if fixed

    No architecture or module overview document

    Newcomers must climb the source tree or infer structure from file names. There's no explanation of how the core validation engine works, where transformations and refinements are implemented, or how modules relateβ€”a real friction point for understanding where to make changes.

    Fix: Create an `ARCHITECTURE.md` or `DEVELOPMENT.md` that outlines the core module layout (e.g., 'ZodSchema base class in core.ts', 'type inference in types.ts', 'parsers in parse.ts') with a dependency diagram or brief narrative of the validation pipeline.

  2. mediumPath To Contribute+10 pts if fixed

    No issue or PR templates to guide contributors

    Contributors opening issues or PRs have no template prompting them for context, reproduction steps, or expected behavior. This can lead to vague issues and PRs that require back-and-forth clarification, slowing down triage and review.

    Fix: Create `.github/ISSUE_TEMPLATE/bug_report.md` and `.github/ISSUE_TEMPLATE/feature_request.md` (and optionally `.github/PULL_REQUEST_TEMPLATE.md`) with standard sections like 'Steps to Reproduce', 'Expected vs Actual', 'Zod version', and 'Checklist' (tests added, docs updated, etc.).

  3. lowPath To Contribute+8 pts if fixed

    No beginner-friendly issue labels or curated first-timer issues

    New contributors have no clear signal of where to start. With 200 open issues, there's no 'good-first-issue', 'help-wanted', or 'beginner-friendly' label visible, and no guidance on which issues are suitable for a first PR.

    Fix: Use GitHub labels: create and tag suitable existing issues with 'good-first-issue' or 'beginner-friendly'. Document in CONTRIBUTING.md a search query (e.g., `is:issue is:open label:good-first-issue`) and suggest starting with small test additions or documentation fixes if no labeled issues exist.

  4. lowGetting Running+6 pts if fixed

    Dev environment setup lacks verification step and token guidance

    CONTRIBUTING.md jumps from `pnpm i` to 'start playing with the code', with no command to verify the install worked (e.g., run tests or build). For docs, a GitHub token is required but no explanation of why, what permissions it needs, or how to verify the build succeeded.

    Fix: Add a line after `pnpm i` like 'Run `pnpm test` to verify the setup works.' For docs builds, clarify why the token is needed (stargazer API calls) and add 'Verify with `pnpm run --filter=@zod/docs build && echo Build succeeded`' to confirm success.

  5. lowPath To Contribute+6 pts if fixed

    Missing code-style and git conventions in CONTRIBUTING.md

    The CONTRIBUTING file documents the workflow but omits conventions: no mention of commit-message format, TypeScript/linting rules beyond 'biome', or how tests should be named/structured. A newcomer might spend time reformatting or retesting after feedback.

    Fix: Add a section like 'Code Style & Conventions' that references `.editorconfig`, notes that `pnpm run fix` runs biome format and lint, mentions that test files should match `*.test.ts`, and links to any TypeScript handbook conventions (e.g., strict mode). Make it clear: 'Run `pnpm run fix` before pushing.'

Show your score

Latch badge
[![Latch score](https://latch.fyi/api/badge/682ff449-e670-48f0-8c7d-816797e81866)](https://latch.fyi/colinhacks/zod)

Share this analysis

https://latch.fyi/colinhacks/zod

Fixed some issues? Re-analyze to measure your progress β†’

Copy the whole report

Grab the entire verdict in one go β€” a Markdown block for a README or an issue, plain text, or a prompt you can paste straight into an LLM.

Was this verdict fair?

One tap helps β€” or tell us more.