remix-run/react-router

GitHub
https://github.com/remix-run/react-router

Declarative routing for React

Stars:
56.6k
Language:
TypeScript
Default branch:
main
Last scored:
Overall

At a glance

Rank
#228 of 401
#64 of 82 TypeScript repos
Checks passed
8 of 17
Full list below
Best set up for
Codex
Score 71.1
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +13.2 pts
  2. 2
    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
  3. 3
    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

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 →

Codex
#200 of 401
71.1
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✗Test suite
Pi
#184 of 401
70.1
  • ✓AGENTS.md / CLAUDE.md
  • ✗Test suite
  • ✓Linter / formatter config
Kimi Code CLI
#191 of 401
69.9
  • ✓AGENTS.md / CLAUDE.md
  • ✗Test suite
  • ✓Dependency manifest
Claude Code
#263 of 401
67.6
  • ✓AGENTS.md / CLAUDE.md
  • ✗Test suite
  • ~Reproducible dev env
Devin
#219 of 401
67.6
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ✗Test suite
OpenHands
#219 of 401
64.6
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env
Cursor
#219 of 401
62.3
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✗Type configuration
Gemini CLI
#238 of 401
61.1
  • ✗GEMINI.md
  • ✓README
  • ✗Test suite
Aider
#290 of 401
56.6
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ✗Test suite

Does remix-run/react-router 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
AGENTS.md (new tab) · 7,400 characters
Agent-specific files
.agents/skills (new tab) (8 skills)No GEMINI.md, .cursor/rules, .openhands/setup.sh or .aider.conf.yml
Repos that have one
62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 8 passed

8 skills in .agents/skills/
Substantive (7,400 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
19 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json has 33 scripts
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (2,902 characters)
Manageable size· 80% pass
1156 files
Test suite· 0% pass
No test directory or test files found
No type config found

How remix-run/react-router compares

vs leaderboard average
1.1 pts below
Average 66.8
vs TypeScript average
5.5 pts below
Average 71.2
Stars among TypeScript repos
#30 of 82

Missing here, and how many repos have it

  • Type configuration · passed by 68% of leaderboard repos, 68% of TypeScript repos
  • Test suite · passed by 52% of leaderboard repos, 29% of TypeScript repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos

Passes checks most repos miss

  • Skills (.agents/skills) · only 17% of repos pass it

One fix for the most agents: Test suite would raise the score for all 9 agents, by up to 14.1 points.

Similar repos

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

All TypeScript repos →

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/remix-run/react-router
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/remix-run/react-router.svg)](https://agentfriendlycode.com/repo/github/remix-run/react-router)

Check the score on every pull request

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