← back to leaderboard

facebook/reactGitHub

https://github.com/facebook/react
Stars:
244.7k
Default branch:
main
Last scored:
6h ago
Overall

Strengths

  • CI configuration
  • CONTRIBUTING guide
  • Dependency manifest
  • License file
  • Linter / formatter config

Gaps

  • Pre-commit / git hooks
  • Type configuration

Suggestions to improve for a specific model

  1. 1
    Type configuration
    Add a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go are typed by default.
    +11.5 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.1 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.1 pts

Per-model scores

Claude Code
Weights AGENTS.md and tests heavily — Claude Code leans on an instructions file and a fast feedback loop.
70.3
Cursor
Weights type config and a detailed README highly — Cursor's inline edits benefit from static types and skim-readable docs.
69.7
Devin
Weights CI and reproducible envs highly — Devin runs in a sandboxed VM and needs end-to-end automation.
71.6
GPT-5 Codex
Balanced profile as a reference point.
70.4
Gemini CLI
Weights long-form README and strict type configs — Gemini's long context favors docs-heavy codebases that spell out contracts.
69.4
Aider
Weights tests and linter highest — Aider runs both per-edit as its feedback loop, so a green bar translates directly into successful commits.
73.0
OpenHands
Weights reproducible dev-env and CI highest — OpenHands operates from a sandboxed container, so a working Dockerfile / Makefile is near-mandatory.
71.7
Pi
Weights AGENTS.md heavily and rewards a fast test/lint loop — Pi's minimal terminal harness reads AGENTS.md explicitly and defers sandboxing to user-installed extensions.
70.3

Alternatives

Same-language repos scored for Gemini CLI. Heuristic v1 (same language + same host); cross-language matches are refined in v0.5.0.

Signal breakdown

AGENTS.md / CLAUDE.md· 80% pass
File exists (207 chars)
CLAUDE.md
CI configuration· 100% pass
24 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
Dependency manifest· 100% pass
Manifest present
package.json
Reproducible dev env· 60% pass
package.json has 34 scripts
package.json
License file· 100% pass
License present
LICENSE
Linter / formatter config· 100% pass
Config detected
.eslintrc.js
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
6501+ 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

Embed this badge

Drop the snippet below into the top of this repo's README so visitors can see its agent-friendliness at a glance — clicks land back here.

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