TanStack/router

GitHub
https://github.com/TanStack/router

🤖 A client-first, server-capable, fully type-safe router and full-stack framework for the web (React and more).

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

At a glance

Rank
#82 of 401
Top 20% · #22 of 82 TypeScript repos
Checks passed
9 of 17
Full list below
Best set up for
Codex
Score 84.2
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
    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
  2. 2
    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
  3. 3
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 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
#70 of 401
84.2
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Kimi Code CLI
#71 of 401
84.0
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Pi
#71 of 401
83.3
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Claude Code
#108 of 401
82.0
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ~Reproducible dev env
Devin
#94 of 401
78.0
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Cursor
#62 of 401
77.2
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Gemini CLI
#74 of 401
75.2
  • ✗GEMINI.md
  • ✓README
  • ~Test suite
OpenHands
#100 of 401
72.7
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env
Aider
#130 of 401
70.8
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite

Does TanStack/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) · 5,558 characters
Agent-specific files
.agents/skills (new tab) (1 skill)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 · 9 passed

Substantive (5,558 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
9 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
Has .devcontainer/devcontainer.json
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 (9,439 characters)
Manageable size· 20% pass
10000+ files — very large
Test suite· 70% pass
Test files detected (benchmarks/client-nav/link-performance/config.test.ts)
Type configuration· 100% pass
Type config present

How TanStack/router compares

vs leaderboard average
11.8 pts above
Average 66.8
vs TypeScript average
7.4 pts above
Average 71.2
Stars among TypeScript repos
#66 of 82

Missing here, and how many repos have it

  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos
  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 13% of TypeScript repos

Passes checks most repos miss

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

One fix for the most agents: Pre-commit / git hooks would raise the score for all 9 agents, by up to 6.0 points.

Similar repos

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

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

Check the score on every pull request

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