Skip to content
microsoft/TypeScript (opens in a new tab)

A massive, professionally run project that's clear on what it is but hostile to newcomers and locked down for active development.

TypeScriptโ˜… 109,2575,040 open issuesApache License 2.0
Overall score: 72 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.

26 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

    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

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

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

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

    • 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.
    • Generated / vendored files marked โ€” A .gitattributes linguist marker tells tools (and agents) what to skip.

Where the grip slips

  1. highPath To Contribute+20 pts if fixed

    Development locked down; most contributions will be rejected

    The project explicitly states that code changes are limited to critical 6.0 fixes, and feature work is directed to typescript-go. CONTRIBUTING.md opens with a warning that 'all code changes should be submitted to typescript-go' and PRs only merge if they fix 'critical' issues. A newcomer who wants to contribute will hit rejection immediately, making the contribution path feel closed despite a CONTRIBUTING.md existing.

    Fix: Add a prominent section at the top of CONTRIBUTING.md explaining the current state (JavaScript version in maintenance mode, Go version is active) and linking newcomers directly to typescript-go if they want to make feature contributions. Clarify which issues are in-scope for this repo and which belong in typescript-go. Consider an issue template that auto-routes off-topic contributions.

  2. highGetting Running+18 pts if fixed

    No documented dev setup or build guide

    The build is managed by Herebyfile (a Gulp-like task runner), but the snapshot doesn't include its contents. Package.json has scripts (`npm run build`, `npm run build:compiler`), but there's no step-by-step guide explaining what these do, how long they take, what dependencies they need (beyond Node/npm), or what to do if they fail. A newcomer must infer workflow from CI files or trial-and-error.

    Fix: Create a DEVELOPMENT.md or expand README with: (1) Prerequisites checklist (Node 22.22.0, npm 8.19.4, optional: VSCode extensions listed in .vscode/extensions.json); (2) Clone and setup (git clone, npm install); (3) Build steps with expected output (npm run build:compiler, npm run build:tests); (4) Run tests (npm test); (5) Common issues (e.g., Volta setup, TypeScript version overrides). Link from README.

  3. mediumFinding Your Way+15 pts if fixed

    No architecture overview or module guide

    The source tree has logical structure (compiler/, harness/, lib/, transformers/), but there's no high-level explanation of how components interact: what is the parser-to-emitter pipeline? What does the harness do? How do transformers fit in? A newcomer trying to understand where to start for a bug fix or feature must read source code without a map.

    Fix: Add docs/ARCHITECTURE.md explaining: (1) High-level pipeline (parse โ†’ bind โ†’ check โ†’ transform โ†’ emit); (2) Key modules (compiler, checker, emitter, transformers) and their roles; (3) Data flow diagram or pseudocode showing how a .ts file becomes .js; (4) Harness and test structure; (5) Links to key files. Keep it brief (< 500 words) and add cross-references.

  4. mediumOpen Door+10 pts if fixed

    Strict AI contribution rules without onboarding

    CONTRIBUTING.md warns against AI-authored PRs without disclosure and threatens account blocking for bulk agent submissions. While this protects the project from spam, it's intimidating and unusual, and newcomers using Copilot or Claude may not know they must disclose. The tone is enforcement-heavy rather than guidance-light.

    Fix: Restructure the AI section with: (1) A welcoming intro: 'Using AI tools is fine, here's how'; (2) Clear rules: disclose AI involvement in PR description, one issue per PR, human review before submission; (3) Examples of acceptable vs. unacceptable workflows; (4) Link to a template PR description. Move threat of blocking to end and frame as last resort for repeated violations, not default expectation.

  5. lowGetting Running+5 pts if fixed

    Volta pinning is good but not mentioned in dev setup

    package.json includes Volta configuration (Node 22.22.0, npm 8.19.4) which ensures version consistency, but there's no README or DEVELOPMENT.md step explaining this. A newcomer on an older Node might hit subtle issues without knowing why, or might install Volta unnecessarily if setup is unclear.

    Fix: In dev setup docs, add: 'This project uses Volta to pin Node and npm versions. If you have Volta installed (https://docs.volta.sh/guide/getting-started), run `volta install` to get the correct versions. Otherwise, manually install Node 22.22.0 and npm 8.19.4.'

Show your score

Latch badge
[![Latch score](https://latch.fyi/api/badge/0069dc67-c4fc-4f2c-89c8-21b3696b91ae)](https://latch.fyi/microsoft/typescript)

Share this analysis

https://latch.fyi/microsoft/typescript

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.