react/react

GitHub
https://github.com/react/react

The library for web and native user interfaces.

Stars:
252.3k
Language:
JavaScript
Default branch:
main
Last scored:
Overall

At a glance

Rank
#249 of 401
#14 of 15 JavaScript repos
Checks passed
6 of 17
Full list below
Best set up for
Claude Code
Score 70.3
Needs most work for
Cursor
Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Type configuration
    Add a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.
    +7.9 pts
  2. 2
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts
  3. 3
    Manageable size
    If possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.
    +5.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#222 of 401
70.3
  • ~AGENTS.md / CLAUDE.md
  • ~Test suite
  • ~Reproducible dev env
Codex
#247 of 401
67.1
  • ~AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Kimi Code CLI
#226 of 401
67.1
  • ~AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Pi
#233 of 401
66.5
  • ~AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Devin
#253 of 401
64.6
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Aider
#230 of 401
62.3
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite
OpenHands
#252 of 401
61.7
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env
Gemini CLI
#268 of 401
58.8
  • ✗GEMINI.md
  • ✓README
  • ~Test suite
Cursor
#266 of 401
58.7
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✗Type configuration

Does react/react have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
CLAUDE.md (new tab) · 358 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
9 of 15 JavaScript repos · 222 of 401 repos on the leaderboard · See examples →

All 17 checks · 6 passed

No .agents/skills/<name>/SKILL.md
File exists (358 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
26 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json has 34 scripts
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
Config detected
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (5,295 characters)
Manageable size· 20% pass
6925 files — very large
Test suite· 70% pass
Test files detected (fixtures/attribute-behavior/src/App.test.js)
No type config found

How react/react compares

vs leaderboard average
2.8 pts below
Average 66.9
vs JavaScript average
9.6 pts below
Average 73.7
Stars among JavaScript repos
#1 of 15

Missing here, and how many repos have it

  • Type configuration · passed by 68% of leaderboard repos, 73% of JavaScript repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 33% of JavaScript repos
  • Skills (.agents/skills) · passed by 18% of leaderboard repos, 20% of JavaScript repos

One fix for the most agents: Type configuration would raise the score for all 9 agents, by up to 11.5 points.

Similar repos

Same language and host as this repo, closest in overall score.

All JavaScript repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/react/react
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/react/react.svg)](https://agentfriendlycode.com/repo/github/react/react)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.