Skip to content

Since the last run

Overall +10 points

withastro/astro (opens in a new tab)

A polished, well-documented mega-project that's ready for newcomers on the surface—but the monorepo complexity and hefty prerequisites quietly raise the bar for meaningful contribution.

TypeScript★ 60,186157 open issuesOther
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.

24 of 35 checks passed across 6 categories.

  • Machine Orientation

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

    • 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.
    • Architecture doc — An ARCHITECTURE doc hands an agent the module map instead of making it infer one.
    • 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

    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

    4 checks passed4 problems found

    • highNo committed .env

      A tracked real .env hands secrets to anything — including an agent — that reads the repo.

      Fix: Remove the .env from history, gitignore it, and ship a .env.example instead.

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

    • 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 exposed secrets — Secret-shaped literals in tracked files are a live credential leak.
    • .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

    1 check passed3 problems found

    • mediumDependencies not vendored in

      A committed node_modules / vendor tree drowns the real signal an agent needs.

      Fix: Remove the vendored dependency directory and gitignore it.

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

    • Build output not committed — Generated dist/ · build/ output is noise an agent has to read past.

Where the grip slips

  1. highFinding Your Way+14 pts if fixed

    Monorepo size and lack of codebase tour make navigation overwhelming

    The file tree shows 6000+ files across dozens of packages. CONTRIBUTING.md tells you how to run tests but not where the core compiler lives, how modules relate, or which package to edit for a specific feature. A newcomer will spend an hour just trying to locate the right file.

    Fix: Create or surface a codebase-tour.md in the root (or link to .agents/skills/astro-developer/architecture.md if it's suitable). Include: (1) diagram or ASCII chart of core packages and their relationships, (2) which file to touch for common fixes (e.g., 'SSR behavior' → packages/astro/src/vite-plugin-ssr.ts), (3) quick pointer to the compiler repo.

  2. highPath To Contribute+12 pts if fixed

    Missing beginner-labeled issues and no explicit 'first good issue' guide

    A newcomer viewing the repo sees 157 open issues but has no way to find 'good-first-issue' or 'help-wanted' labels, and no guide on which issue sizes are appropriate for a first contribution. This leaves new contributors uncertain where to start and increases the risk they'll abandon the project.

    Fix: Add a 'For New Contributors' section to CONTRIBUTING.md linking to GitHub's issue label filter (e.g., 'good-first-issue' and 'help-wanted') and list 3–5 recent, small, well-scoped examples. Create or label 5–10 issues as 'good-first-issue' explicitly.

  3. mediumGetting Running+8 pts if fixed

    Setup requires build before running examples; unclear which example to test first

    CONTRIBUTING.md says to run `pnpm install && pnpm run build` before testing, but doesn't tell a newcomer which of the 30+ examples in /examples to run first to validate their setup. A newcomer will try `pnpm --filter @example/minimal run dev` blindly and may hit unexpected errors if the build missed something.

    Fix: Add a 'Verify Your Setup' subsection after the build command in CONTRIBUTING.md: 'Run `pnpm --filter @example/minimal run dev` to start a dev server. You should see a page at http://localhost:3000. If it fails, check [Troubleshooting](#troubleshooting).' Also add a Troubleshooting section with common errors (e.g., 'pnpm install must run from repo root').

  4. lowOpen Door+5 pts if fixed

    Code of Conduct and governance live in external org repo, not visible here

    The README links to CODE_OF_CONDUCT.md and GOVERNANCE.md in 'withastro/.github', not this repo. A newcomer reading the main repo will not see these files and may not discover them, reducing the sense of psychological safety and clarity on decision-making.

    Fix: Add a CONDUCT.md or CoC section to the root README that either copies or embeds the key points of the org's CoC, with a link to the full version. Alternatively, add a brief 'Community & Governance' link section to the main CONTRIBUTING.md.

  5. lowGetting Running+4 pts if fixed

    pnpm version pinned but no error message if version is wrong

    The package.json specifies 'pnpm@11.5.0' and engines 'node@>=22.12.0', but there's a preinstall script that says 'only-allow pnpm'. If a newcomer uses npm or yarn, they'll see a terse error. If they use an old pnpm, they'll get cryptic lockfile errors.

    Fix: Add a .npmrc or .pnpmrc file with clear comments, and improve the error message in the preinstall script to say 'This repo uses pnpm >=11.5.0. Please upgrade: pnpm add -g pnpm' or reference a docs section on this.

  6. lowPath To Contribute+4 pts if fixed

    STYLE_GUIDE.md exists but is not linked or referenced in CONTRIBUTING.md

    The file tree shows STYLE_GUIDE.md exists, but CONTRIBUTING.md doesn't mention it or link to coding conventions. A newcomer won't know if they should follow it, what it covers, or if PRs will be rejected for style violations.

    Fix: Add a 'Code Style & Conventions' section to CONTRIBUTING.md with a direct link to STYLE_GUIDE.md and a one-sentence summary of what it covers (e.g., 'We use Biome for linting and Prettier for formatting; see STYLE_GUIDE.md for conventions').

Show your score

Latch badge
[![Latch score](https://latch.fyi/api/badge/2352d486-8f81-4e84-b6e3-ab8ba0494595)](https://latch.fyi/withastro/astro)

Share this analysis

https://latch.fyi/withastro/astro

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.