facebook/reactGitHub
https://github.com/facebook/react- Stars:
- 250.9k
- Default branch:
- main
- Last scored:
- 11h ago
66.9
Overall
At a glance
- Rank
- #230 of 372
- #14 of 15 JavaScript repos
- Checks passed
- 6 of 16
- Full list below
- Works best with
- Kimi CLI
- Score 70.8
- Needs most work for
- Gemini CLI
- Biggest fix: GEMINI.md (+11.4 pts)
What it has
- CI configuration
- CONTRIBUTING guide
- Dependency manifest
- License file
- Linter / formatter config
What it's missing
- .aider.conf.yml
- Cursor rules (.cursor/rules)
- GEMINI.md
- .openhands/setup.sh
- Pre-commit / git hooks
What to fix first
- 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 looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most.
Similar repos
Scored for Claude Code. A simple first version: picked only because they share this repo's language and host.
- axios/axios96.4JavaScript · 109.3k ★
- vercel/next.js91.2JavaScript · 143.2k ★
- webpack/webpack90.0JavaScript · 66.1k ★
All checks
AGENTS.md / CLAUDE.md· 80% pass
File exists (358 chars)
CLAUDE.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
26 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
Dependency manifest· 100% pass
Manifest present
package.json
Reproducible dev env· 60% pass
package.json has 34 scripts
package.json
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
Linter / formatter config· 100% pass
Config detected
.eslintrc.js
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
Pre-commit / git hooks· 0% pass
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (5316 chars)
README.md
Manageable size· 20% pass
6877+ files — very large
Test suite· 70% pass
Test files detected (fixtures/attribute-behavior/src/App.test.js)
fixtures/attribute-behavior/src/App.test.js
Type configuration· 0% pass
No type config found
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/facebook/react)Check the score on every pull request
Add this file to your repo. On each pull request, it posts one comment showing how the score changed and why. It runs in your own CI, with no outside server involved.
# .github/workflows/agent-friendly.yml
name: Agent-friendly score diff
on:
pull_request:
branches: [main]
permissions:
contents: read
pull-requests: write
jobs:
score-diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hsnice16/agent-friendly-action@v0
with:
agents-badge-token: ${{ secrets.AGENTS_BADGE_TOKEN }}Add AGENTS_BADGE_TOKENto the repo's secrets to turn the comment on. Without it, the action does nothing. Where do I add it?