AGENTS.md and CLAUDE.md examples for React Native
Of 52 actively developed open-source products built with React Native, 38 (73%) keep instruction files for coding agents: AGENTS.md in 33, CLAUDE.md in 22. The typical file is 1,345 words, and most cover pointers to other docs (82%) and testing (74%).
Real files to read
From the best-known open-source React Native 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 Native. Each opens on GitHub.
| Project | File | Stars | Words | Covers |
|---|---|---|---|---|
| RSSNext/Folo | AGENTS.md | 39,089 | 986 | CommandsTestingDoc pointersStructureCode styleGit |
| pingdotgg/t3code | AGENTS.md | 27,021 | 2,767 | TestingDoc pointersGit |
| Uniswap/interface | AGENTS.md | 5,533 | 1,345 | CommandsTestingDoc pointersStructureCode style |
| artsy/eigen | AGENTS.md | 3,778 | 733 | CommandsTestingDoc pointersStructureCode styleGit |
| msgbyte/tailchat | AGENTS.md | 3,638 | 1,727 | CommandsTestingDoc pointersGit |
| garden-co/classic-jazz | AGENTS.md | 2,535 | 1,472 | CommandsTestingStructureCode styleGit |
| AudiusProject/apps | CLAUDE.md | 620 | 773 | CommandsTestingDoc pointersStructureCode style |
| ever-co/ever-teams | AGENTS.md | 589 | 1,238 | CommandsDoc pointersStructureCode styleGit |
| LiamMorrow/LiftLog | AGENTS.md | 587 | 815 | CommandsTestingDoc pointersStructureCode style |
| Couchers-org/couchers | AGENTS.md | 572 | 1,752 | CommandsTestingDoc pointersStructureCode styleGit |
| onyx-dot-app/onyx-foss | AGENTS.md | 315 | 1,289 | TestingDoc pointersStructureCode style |
| bex-co/beancount-io | AGENTS.md | 297 | 1,816 | CommandsDoc pointersGit |
What React Native projects put in them
Share of the 34 files that cover each topic, against all 641 files we read.
How they talk to the agent: 94% say “never” or “do not” somewhere (all files: 80%), 35% shout a rule in capitals like IMPORTANT or MUST (24%), and 26% tell it to ask before some changes (20%).
The tools they name
Package managerspnpm (12 files), npm (7 files), yarn (6 files)
Tests and lintersVitest (9), Jest (6), ESLint (6), Prettier (5), Playwright (4), pytest (3)
Named more than in files generallyReact (24), TypeScript (24), Expo (17), Vite (10), Electron (9), Node.js (9), Cursor (8), Next.js (8)
A starting AGENTS.md for React Native
The sections these files cover most, the package manager and checks React Native projects name most, and the stack React Native 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 ## 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-native — point CLAUDE.md here with a line: @AGENTS.md -->
- pnpm: named in 142 of 521 instruction files from open-source projects built with TypeScript.
- Vitest: named in 112 of 521 instruction files from open-source projects built with TypeScript.
- Playwright: named in 105 of 521 instruction files from open-source projects built with TypeScript.
- ESLint: named in 91 of 521 instruction files from open-source projects built with TypeScript.
Questions
What should an AGENTS.md for a React Native project include?
In 34 files from open-source React Native products: pointers to other docs (82%), testing (74%), commands to build, run and test (71%), project structure (59%), code style (56%), git, commits and pull requests (56%). The package manager they name most is pnpm (12 files).
AGENTS.md or CLAUDE.md?
Among these React Native products, 33 keep an AGENTS.md and 22 a CLAUDE.md. Across every product we checked, 320 keep both, and in 170 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 Native AGENTS.md?
The median is 1,345 words in these 34 files; across all 641 files we read, half are between 425 and 1,665 words.
How this is counted: the GitHub repos of open-source products built with React Native, pushed to in the 180 days before 2026-10-12. 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.