react/react
GitHubThe library for web and native user interfaces.
- declarative
- frontend
- javascript
- library
- react
- ui
- Stars:
- 252.3k
- Language:
- JavaScript
- Default branch:
- main
- Last scored:
64.1
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
Showing fixes for Claude Code
- 1Type configurationAdd 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
- 2Pre-commit / git hooksSet up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.+5.3 pts
- 3Manageable sizeIf 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 →
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
✗
Skills (.agents/skills)· 0% pass
No .agents/skills/<name>/SKILL.md
~
✗
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
✓
✓
✗
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
✓
~
✗
GEMINI.md· 0% pass
No GEMINI.md at repo root
✓
✓
✗
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
✗
Pre-commit / git hooks· 0% pass
No pre-commit / husky / lefthook found
~
Manageable size· 20% pass
6925 files — very large
~
Test suite· 70% pass
Test files detected (fixtures/attribute-behavior/src/App.test.js)
✗
Type configuration· 0% pass
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.
- eslint/eslint71.1JavaScript · 27.6k ★
- preactjs/preact69.2JavaScript · 39k ★
- JavaScript · 52.4k ★
- immerjs/immer67.8JavaScript · 29k ★
- JavaScript · 20k ★
- fastify/fastify64.8JavaScript · 37.4k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- ocornut/imgui21.2C++ · library, UI
- solidjs/solid69.5TypeScript · declarative
- expo/expo74.0TypeScript · frontend
- curl/curl54.1C · library
- vitejs/vite49.9TypeScript · frontend
- Python · UI
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](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.