Updated
AGENTS.md · React Router

AGENTS.md and CLAUDE.md examples for React Router

Of 267 actively developed open-source products built with React Router, 163 (61%) keep instruction files for coding agents: AGENTS.md in 129, CLAUDE.md in 89. The typical file is 1,022 words, and most cover commands to build, run and test (80%) and pointers to other docs (76%).

Real files to read

From the best-known open-source React Router products whose file is a real one (not a pointer to another), 200 to 4,000 words, covering at least three of the usual topics and naming React Router. Each opens on GitHub.

ProjectFileStarsWordsCovers
Kong/insomniaAGENTS.md40,089652CommandsTestingDoc pointersStructure
langbot-app/LangBotAGENTS.md18,534993CommandsTestingDoc pointers
documenso/documensoAGENTS.md15,588821CommandsTestingCode style
Chainlit/chainlitAGENTS.md12,5131,387CommandsTestingDoc pointersStructureCode styleGit
lewish/asciiflowCLAUDE.md5,9751,022CommandsTestingStructureCode style
ferdium/ferdium-appCLAUDE.md4,753701CommandsTestingStructureCode styleGit
nextlevelbuilder/goclawAGENTS.md3,6773,111CommandsTestingDoc pointersStructureCode style
chrisvel/tududiCLAUDE.md3,4822,541CommandsTestingDoc pointersStructure
crbnos/carbonAGENTS.md2,7692,406CommandsDoc pointersStructure
Maintainerr/MaintainerrAGENTS.md2,3713,585CommandsTestingDoc pointersStructureCode styleGit
FalkorDB/QueryWeaverAGENTS.md1,0861,015CommandsTestingStructureCode styleGit
porsche-design-system/porsche-design-systemAGENTS.md6741,957CommandsTestingDoc pointersStructureCode styleGit

What React Router projects put in them

Share of the 146 files that cover each topic, against all 731 files we read.

Commands to build, run and test80% vs 79%
Pointers to other docs76% vs 69%
Testing74% vs 67%
Project structure61% vs 57%
Git, commits and pull requests57% vs 46%
Code style48% vs 49%

How they talk to the agent: 83% say “never” or “do not” somewhere (all files: 80%), 25% shout a rule in capitals like IMPORTANT or MUST (23%), and 16% tell it to ask before some changes (20%).

The tools they name

Package managerspnpm (41 files), npm (38 files), uv (21 files)

Tests and lintersESLint (31), Vitest (30), Playwright (28), Prettier (25), pytest (24), Jest (17)

Named more than in files generallyReact (83), Vite (52), PostgreSQL (28), Cursor (25), Prettier (25), Electron (17), Jest (17)

What they tell the agent

Instructions that recur across files, in our words; open one for the React Router projects whose file says it.

About React

About Vite

About PostgreSQL

About Cursor

About Prettier

About Electron

About Jest

A starting AGENTS.md for React Router

The sections these files cover most, the package manager and checks React Router projects name most, and the stack React Router makers' products chose most often. Fill in the <placeholders>.

# AGENTS.md

<What this product does and who it is for, in a sentence or two.>

## Stack

- Frontend Framework: React Router

## Commands

- Install: `pnpm install`
- Run locally: `<command>`
- Test: `pnpm exec vitest run`
- End-to-end tests: `pnpm exec playwright test`
- Lint: `pnpm exec eslint .`

## Testing

Run `pnpm exec vitest run` and `pnpm exec playwright test` before calling a change done, and add a test with each fix or feature.

## Project structure

- `<folder>/`: <what lives there>
- More in <docs/…>

## Conventions

- <Naming, patterns and style the code does not show>
- Commits and pull requests: <your rules>

## Boundaries

- Ask before: <changes you want to approve first>
- Never: <files or actions that are off-limits>

<!-- Started from https://howmakersbuild.com/agents-md/react-router — point CLAUDE.md here with a line: @AGENTS.md -->
  • pnpm: named in 41 of 146 instruction files from open-source projects built with React Router.
  • Vitest: named in 30 of 146 instruction files from open-source projects built with React Router.
  • Playwright: named in 28 of 146 instruction files from open-source projects built with React Router.
  • ESLint: named in 31 of 146 instruction files from open-source projects built with React Router.

Make one for your own stack →

Questions

What should an AGENTS.md for a React Router project include?

In 146 files from open-source React Router products: commands to build, run and test (80%), pointers to other docs (76%), testing (74%), project structure (61%), git, commits and pull requests (57%), code style (48%). The package manager they name most is pnpm (41 files).

AGENTS.md or CLAUDE.md?

Among these React Router products, 129 keep an AGENTS.md and 89 a CLAUDE.md. Across every product we checked, 354 keep both, and in 189 of those the CLAUDE.md only points to the AGENTS.md (a symlink or a line like @AGENTS.md), so there's one file to maintain. Codex, Cursor, Copilot and others read AGENTS.md; Claude Code reads CLAUDE.md.

How long is a typical React Router AGENTS.md?

The median is 1,022 words in these 146 files; across all 731 files we read, half are between 444 and 1,727 words.

How this is counted: the GitHub repos of open-source products built with React Router, pushed to in the 180 days before 2026-10-28. We read each repo's AGENTS.md, CLAUDE.md and other agent files; what's published here is counts and links, not their text. All files, by the numbers.