Skip to content

Since the last run

Overall +6 points

shadcn-ui/ui (opens in a new tab)

Strong foundation with great docs and clear structure, but testing and live examples need polish for real newcomers to move confidently.

TypeScriptβ˜… 116,6412,045 open issuesMIT License
Overall score: 78 out of 100
Holding

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.

27 of 34 checks passed across 6 categories.

  • Machine Orientation

    5 checks passed2 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.

    • 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.
    • llms.txt present β€” An llms.txt is the emerging machine-orientation standard β€” a curated map for LLMs.
    • 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

    • 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.
    • Env template present β€” A .env.example tells an agent which configuration keys it must supply to run.
    • Container or dev-container β€” A Dockerfile / compose / devcontainer removes 'works on my machine' from setup.
  • 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

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

    • 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.
    • Typecheck command β€” A typecheck script lets an agent catch type errors before they ship.
    • Build command β€” A documented build command is the discoverable way for an agent to produce artifacts.
  • Agent Safety

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

    • 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.
    • 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.
    • 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. highGetting Running+12 pts if fixed

    No lockfile visible; dependencies may not be reproducible

    The snapshot shows package.json with pinned major versions (pnpm@10.33.4, unpinned patch versions for dependencies like @typescript-eslint/eslint-plugin@^8.49.0), but no pnpm-lock.yaml or yarn.lock is present. A newcomer running `pnpm install` risks installing incompatible patch versions, leading to 'works on my machine' failures and frustration when builds break.

    Fix: Commit and include pnpm-lock.yaml in the repository snapshot. Ensure all dependencies use exact versions (remove ^ and ~) or document why semver ranges are intentional. Add a note in CONTRIBUTING.md: 'Run `pnpm install` to use the locked dependency tree.'

  2. highGetting Running+10 pts if fixed

    Test command is fragile and undocumented; requires manual server setup

    The root package.json defines `test` as `pnpm --filter=v4 registry:build && start-server-and-test v4:dev http://localhost:4000 test:dev`. This requires the v4 dev server to be running on port 4000, but there's no documentation explaining this dependency, how to verify the server is healthy, or what to do if the port is already in use. A newcomer will hit timeouts or connection errors without understanding why.

    Fix: Add to CONTRIBUTING.md: 'To run tests locally: run `pnpm v4:dev` in one terminal, then `pnpm test:dev` in another. For CI, use `pnpm test` which starts the server automatically.' Create a troubleshooting section: 'If port 4000 is busy, kill the process or change PORT=5000 in your .env.'

  3. mediumFinding Your Way+9 pts if fixed

    No per-package README or architecture diagram; monorepo is hard to navigate

    The file tree shows 9000+ files across multiple apps and packages, but only one high-level structure table in CONTRIBUTING.md. There are no README.md files in `apps/v4/registry`, `packages/shadcn`, or major subdirectories. A newcomer looking to modify a component or understand the build pipeline must reverse-engineer it from code.

    Fix: Create README.md files in: `packages/shadcn/`, `apps/v4/registry/`, and `apps/v4/components/`. Each should describe: purpose, how to add entries, expected file structure, and a quick example. Add a high-level architecture diagram to the root README (ASCII or link to a wiki page) showing data flow: source code β†’ registry β†’ v4 website β†’ CLI output.

  4. mediumPath To Contribute+8 pts if fixed

    2045 open issues with no guidance on picking a beginner task

    The issue tracker has over 2000 open issues, but the snapshot shows no evidence of 'good-first-issue', 'beginner', or 'help-wanted' labels or filtered view. A newcomer wanting to contribute will be overwhelmed and unsure which issues are safe for them to tackle.

    Fix: Add a section to CONTRIBUTING.md: 'Finding a Task: Look for issues labeled `good-first-issue` or `help-wanted`. These are scoped for newcomers.' Create and tag at least 10 such issues in the backlog. Link from README: 'Want to contribute? Start here: [good-first-issue](https://github.com/shadcn-ui/ui/labels/good-first-issue)'.

  5. mediumOpen Door+6 pts if fixed

    No code of conduct; community rules and safety are unclear

    The repository lacks a CODE_OF_CONDUCT.md file, so newcomers have no explicit guidance on expected behavior, how to report harassment, or how the maintainers handle conflicts. This raises barriers for marginalized contributors and shows a gap in community care.

    Fix: Add a CODE_OF_CONDUCT.md file (e.g., using the Contributor Covenant) and link to it from README.md under 'Community' or 'Support'. Example: 'This project adheres to the Contributor Covenant Code of Conduct.'

  6. lowFirst Impression+4 pts if fixed

    No minimal code example in README; newcomers must visit external site to see value

    The README describes the library's purpose and links to docs, but does not show what using a component looks like in code. A visitor cannot immediately see the 'beautifully designed' claim validated without clicking through to ui.shadcn.com.

    Fix: Add a 'Quick Start' section to README.md with a minimal example, e.g., 'import Button from '@/components/ui/button'; export default () => <Button>Click me</Button>'. Include a screenshot or animated GIF of the result.

  7. lowPath To Contribute+3 pts if fixed

    Commit convention documentation is truncated; full guidelines are unclear

    The CONTRIBUTING.md file's 'Commit Convention' section is cut off mid-sentence ('category(scope or module): message in your comm…'), so newcomers cannot see the complete convention or examples.

    Fix: Complete the commit convention section in CONTRIBUTING.md with full examples, e.g., 'feat(button): add disabled state', 'fix(modal): close on escape key', 'docs(readme): update install instructions'. Reference the repo's commitlint config (.commitlintrc.json).

Show your score

Latch badge
[![Latch score](https://latch.fyi/api/badge/8285cb84-34f8-4730-a25e-7deae73db0e1)](https://latch.fyi/shadcn-ui/ui)

Share this analysis

https://latch.fyi/shadcn-ui/ui

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.