agentreadme

Report · marked 27 Aug 2026

react/react-native

Solid foundations, held back in a few specific places.

C++ · 126,421 stars · 8,023 files · branch main

Fix these first

01
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.
02
Environment config
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.
03
Repository weight
Large binaries and vendored trees slow every operation an agent performs. Git LFS or a separate assets repo keeps the working tree navigable.

The full marking

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

Instructions 24/27 A

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.
Also found: CLAUDE.md
Instruction quality 10/12
Specific enough that an agent can act on it.
Worth fixing: has no code blocks.
5,189 characters, a workable length
names the actual commands to run
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 12/20 B-

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

Deterministic install 6/6
yarn.lock pins the dependency tree.
Found yarn.lock
Discoverable commands 6/6
Commands are declared where an agent will look for them.
package.json scripts (android, build-android, build, build-types, clang-format, clean…)
scripts/ directory
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 0/2
No container or devcontainer definition.
A Dockerfile or devcontainer removes an entire class of 'it won't install' failures.
Verification loop 22/22 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
1287 test files against 5707 source files.
e.g. .github/workflow-scripts/__tests__/createDraftRelease-test.js, .github/workflow-scripts/__tests__/extractIssueOncalls-test.js, .github/workflow-scripts/__tests__/generateChangelog-test.js
Test command is discoverable 7/7
An agent can find and run `npm run test`.
Continuous integration 4/4
29 GitHub Actions workflows define what "passing" means.
Lint and format rules 3/3
.eslintrc.js encodes the house style.
Static type checking n/a
Not applicable — the Kotlin compiler type checks every build.
Context economy 6/20 D

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

No committed build output 3/6
Generated output is committed: 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 126 patterns.
File sizes fit in context 0/6
11 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.
packages/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js — 708KB
packages/react-native/Libraries/Renderer/implementations/ReactFabric-profiling.js — 415KB
packages/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js — 353KB
Repository weight 0/5
About 980MB 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 react/react-native
# AGENTS.md

A framework for building native applications using React

## Setup

```
yarn install
```

## Commands

```
yarn start           # run the app
yarn build           # produce a build
yarn test            # run the test suite, must pass before any commit
yarn lint            # lint
yarn format          # format
yarn android
yarn build-android
yarn build-types
```

## Layout

- `packages/`   5145 source files
- `scripts/`    326 source files
- `private/`    156 source files
- `flow-typed/` 47 source files
- `jest/`       1 source file

## Conventions

- Tests live alongside the code they cover, following `.github/workflow-scripts/__tests__/createDraftRelease-test.js`.
- CI defines what passing means. See `.github/workflows/analyze-pr.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `packages/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js` is 708KB. It will not fit comfortably in context, so read it in parts.

---

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/react/react-native.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 73 out of 100

[![agent ready](https://agentreadme.com/badge/react/react-native.svg)](https://agentreadme.com/react/react-native)

Other C++ repositories, marked

tensorflow/tensorflow 34 D ggml-org/llama.cpp 74 B+ electron/electron 85 A godotengine/godot 39 D microsoft/terminal 37 D opencv/opencv 33 D

All C++ 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