agentreadme

Report ยท marked 25 Aug 2026

nodejs/node

An agent can work here, but it will waste turns finding its footing.

JavaScript ยท 119,566 stars ยท 51,463 files ยท branch main

Fix these first

01
Deterministic install
Commit the lockfile your package manager generates. Without it, an agent's install and your install are different builds, and 'works on my machine' becomes unfalsifiable.
02
No committed build output
Add these to .gitignore and `git rm -r --cached` them. Generated files pollute search results, so an agent grepping for a function finds the compiled copy and edits the wrong file.
03
File sizes fit in context
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.

The full marking

Every deduction below names the file or setting it came from.

Instructions 20/27 B+

Whether the repo tells an agent how to behave before it starts guessing.

โœ“Agent instruction file 12/12
AGENTS.md is present, which is the format the most tools read.
โœ—Instruction quality 6/12
Real instructions, with gaps.
Worth fixing: it never states a build, test, or run command; has no code blocks.
3,078 characters, a workable length
uses headings, so an agent can skim it
โœ—README as an entry point 2/3
README exists but never explains how to get the thing running.
Give the README an Install and a Usage heading with real commands under each. Agents pattern-match on those headings.
Setup 6/18 D

Whether an agent can install the project and get it running without a human.

โœ—Deterministic install 0/6
No lockfile. An agent installing dependencies may not get what CI got.
Commit the lockfile your package manager generates. Without it, an agent's install and your install are different builds, and 'works on my machine' becomes unfalsifiable.
โœ“Discoverable commands 6/6
Commands are declared where an agent will look for them.
Makefile
โœ—Environment config 0/4
Nothing documents the environment this needs. An agent will get a runtime error it can't diagnose.
Add a .env.example listing every variable with a safe placeholder value. It's the cheapest possible fix and it unblocks the whole first run.
โœ—Pinned runtime version 0/2
No pinned runtime version.
Add a .nvmrc, .python-version, or equivalent so the agent's toolchain matches yours.
โ€“Reproducible environment n/a
Not applicable โ€” a library doesn't need a container to be worked on.
Verification loop 24/25 A+

Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.

โœ“Tests exist 8/8
27409 test files against 37196 source files.
e.g. .github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml, .github/workflows/stress-test.yml, benchmark/url/urlpattern-test.js
โœ“Test command is discoverable 7/7
An agent can find and run `make test`.
โœ“Continuous integration 4/4
42 GitHub Actions workflows define what "passing" means.
โœ“Lint and format rules 3/3
eslint.config.mjs encodes the house style.
โœ—Static type checking 2/3
Type checking is configured, but not in strict mode.
Turn on `"strict": true`. Type errors are the fastest feedback an agent gets, and non-strict mode silently discards most of them.
Context economy 3/20 F

Whether the repo fits in a context window, or fights it.

โœ—No committed build output 0/6
Generated output is committed: node_modules/, coverage/.
Add these to .gitignore and `git rm -r --cached` them. Generated files pollute search results, so an agent grepping for a function finds the compiled copy and edits the wrong file.
โœ“.gitignore hygiene 3/3
.gitignore covers 129 patterns.
โœ—File sizes fit in context 0/6
552 source files are over 100KB.
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
test/fixtures/snapshot/typescript.js โ€” 10296KB
deps/sqlite/sqlite3.c โ€” 9292KB
deps/perfetto/sdk/perfetto.h โ€” 7814KB
โœ—Repository weight 0/5
About 1540MB checked out. Large enough that cloning and searching are both slow.
Large binaries and vendored trees slow every operation an agent performs. Git LFS or a separate assets repo keeps the working tree navigable.

Here is your AGENTS.md

Drafted from what is actually in this repository: the install command from your lockfile, the commands you already declare, your real directory layout. Anything marked TODO needs a person. Save it at the root as AGENTS.md.

AGENTS.md โ€” drafted for nodejs/node
# AGENTS.md

Node.js JavaScript runtime โœจ๐Ÿข๐Ÿš€โœจ

## Setup

```
# TODO: the install command. No lockfile was found, so this could not be inferred.
```

## Commands

```
make help
make install
make uninstall
make clean
make testclean
make distclean
```

## Layout

- `deps/`      26112 source files
- `test/`      9317 source files
- `benchmark/` 580 source files
- `src/`       457 source files
- `lib/`       408 source files
- `tools/`     273 source files

## Conventions

- Tests live alongside the code they cover, following `.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml`.
- TypeScript is not in strict mode. Turning it on catches a whole class of mistakes before they run.
- CI defines what passing means. See `.github/workflows/auto-start-ci.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `test/fixtures/snapshot/typescript.js` is 10296KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.

Open the raw markdown  or  curl -o AGENTS.md agentreadme.com/draft/nodejs/node.md

Show the mark

The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.

agent ready 60 out of 100

[![agent ready](https://agentreadme.com/badge/nodejs/node.svg)](https://agentreadme.com/nodejs/node)

Other JavaScript repositories, marked

react/react 71 B+ affaan-m/ECC 90 A trekhleb/javascript-algorithms 69 B Snailclimb/JavaGuide 53 C+ airbnb/javascript 54 C+ vercel/next.js 77 B+

All JavaScript repositories

Think this mark is wrong?

Every deduction above names the file it came from, so this can be settled by looking. If a check missed something, that is a rule worth fixing.

Open an issue, already filled in