Skip to content

Since the last run

Overall +12 points

pmndrs/zustand (opens in a new tab)

Excellent newcomer setup: clear, well-documented, batteries-included, and genuinely low friction to contributing.

TypeScriptβ˜… 58,3094 open issuesMIT License
Overall score: 90 out of 100
Locked on

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.

22 of 34 checks passed across 6 categories.

  • Machine Orientation

    4 checks passed3 problems found

    • mediumAgent instructions file

      AGENTS.md / CLAUDE.md is the direct, machine-read channel for entry points and conventions.

      Fix: Add an AGENTS.md naming the entry points, the build/test commands, and the house conventions.

    • 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.
    • 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

    3 checks passed3 problems found

    • mediumContainer or dev-container

      A Dockerfile / compose / devcontainer removes 'works on my machine' from setup.

      Fix: Add a Dockerfile, a compose file, or a .devcontainer so the environment is declared, not assumed.

    • 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.

    • lowDev container

      A .devcontainer gives an agent a one-command, fully-declared environment.

      Fix: Add a .devcontainer so the toolchain is declared, not assumed.

    • 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.
  • Code Navigability

    2 checks passed0 problems found

    • Conventional source layout β€” A recognised src/ Β· lib/ Β· app/ layout lets an agent localise code without spelunking.
    • TypeScript strict mode on β€” Strict typing gives an agent typed signatures to anchor an edit on, not guesses.
  • 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

    5 checks passed3 problems found

    • medium.gitignore covers env files

      An ignore rule for .env is what keeps the next careless commit from leaking secrets.

      Fix: Add `.env` (and `.env.*`) to .gitignore.

    • mediumSecurity policy

      A SECURITY.md is where an autonomous security agent reads this repo's rules before acting on it.

      Fix: Add a SECURITY.md stating the disclosure channel and the repo's security rules.

    • lowCODEOWNERS present

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

      Fix: Add a CODEOWNERS file marking the sensitive paths.

    • 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.
    • Automated dependency updates β€” Dependabot / Renovate keeps dependencies patched without a human in the loop.
    • .gitignore present β€” A .gitignore is the first guard against an agent committing secrets or build junk.
    • License makes the code reusable β€” Without a license an agent cannot safely copy, redistribute, or vendor any of this code.
  • Context Economy

    3 checks passed1 problem 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).

    • 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.
    • No oversized source file β€” A single file in the hundreds of KB blows past an agent's effective context window.

Where the grip slips

  1. lowFinding Your Way+6 pts if fixed

    No architecture overview or project structure guide in README

    While the README is excellent for quick onboarding to *using* Zustand, it doesn't explain the *internal* organization: how vanilla, React, and middleware layers relate, which file does what, or how to navigate the codebase to make a contribution. A newcomer wanting to fix a bug in the persist middleware would need to infer the structure from exploration or the docs site.

    Fix: Add a 'Project Structure' or 'Architecture' section to the README (3–4 short paragraphs) or link to a ARCHITECTURE.md file that explains: vanilla core β†’ react wrapper, middleware system, build output (CJS, ESM, types), and where tests live.

  2. lowOpen Door+5 pts if fixed

    No CODE_OF_CONDUCT.md in repository root

    A 58k-star project with global contributors should have an explicit code of conduct to set expectations for community behavior and establish safe reporting channels. Its absence, while not a legal barrier, leaves newcomers unsure of the project's values and what happens if they witness or experience conflict.

    Fix: Add a CODE_OF_CONDUCT.md to the repository root (e.g., Contributor Covenant v2.1) and link it prominently in CONTRIBUTING.md and/or README.

  3. lowPath To Contribute+4 pts if fixed

    No beginner-labeled issues or 'good first issue' tracking

    With only 4 open issues visible and no mention of 'good-first-issue' or 'help-wanted' labels in the issue templates or CONTRIBUTING.md, a newcomer wanting to make a first contribution would struggle to find an approachable task. High-volume projects need explicit guidance to surface low-friction entry points.

    Fix: Set up GitHub issue labels (good-first-issue, help-wanted, beginner-friendly) and retroactively tag a few existing issues or create starter tasks. Mention this in CONTRIBUTING.md: 'Look for issues tagged good-first-issue if you're new.'

  4. lowPath To Contribute+3 pts if fixed

    CONTRIBUTING.md references external pmndrs/docs repo but doesn't make docs contribution optional

    The docs setup requires cloning a separate pmndrs/docs repository and configuring environment variables to test docs locally. This is a high-friction extra step for a first-time contributor who just wants to fix code or add a unit test. It may discourage docs-only or code-only PRs.

    Fix: Clarify in CONTRIBUTING.md: 'To contribute docs, see [Docs Setup]. To contribute code or tests, you can skip this step.' Restructure the docs section to be optional and clearly marked as a separate workflow.

Show your score

Latch badge
[![Latch score](https://latch.fyi/api/badge/137f2578-41ef-4049-8b4e-77e30b66b5ce)](https://latch.fyi/pmndrs/zustand)

Share this analysis

https://latch.fyi/pmndrs/zustand

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.