Updated
AGENTS.md · React Native

AGENTS.md and CLAUDE.md examples for React Native

Of 52 actively developed open-source products built with React Native, 39 (75%) keep instruction files for coding agents: AGENTS.md in 35, CLAUDE.md in 22. The typical file is 1,429 words, and most cover pointers to other docs (81%) and commands to build, run and test (72%).

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.

ProjectFileStarsWordsCovers
RSSNext/FoloAGENTS.md39,176986CommandsTestingDoc pointersStructureCode styleGit
pingdotgg/t3codeAGENTS.md30,8593,845TestingDoc pointersGit
assistant-ui/assistant-uiAGENTS.md12,7871,207CommandsTestingDoc pointers
Uniswap/interfaceAGENTS.md5,5421,429CommandsTestingDoc pointersStructureCode style
artsy/eigenAGENTS.md3,786733CommandsTestingDoc pointersStructureCode styleGit
msgbyte/tailchatAGENTS.md3,6421,727CommandsTestingDoc pointersGit
garden-co/classic-jazzAGENTS.md2,5371,472CommandsTestingStructureCode styleGit
YosemiteCrew/Yosemite-CrewAGENTS.md2,021765TestingDoc pointersCode styleGit
evoluhq/evoluAGENTS.md1,9103,334CommandsTestingDoc pointersStructureCode style
theopenco/llmgatewayAGENTS.md1,7141,966CommandsTestingDoc pointersStructureCode styleGit
AudiusProject/appsCLAUDE.md622773CommandsTestingDoc pointersStructureCode style
ever-co/ever-teamsAGENTS.md5991,238CommandsDoc pointersStructureCode styleGit

What React Native projects put in them

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

Pointers to other docs81% vs 69%
Commands to build, run and test72% vs 79%
Testing72% vs 67%
Project structure56% vs 57%
Code style56% vs 49%
Git, commits and pull requests56% vs 46%

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

The tools they name

Package managerspnpm (13 files), npm (9 files), yarn (6 files)

Tests and lintersVitest (10), Jest (7), Playwright (5), ESLint (5), Prettier (5), pytest (3)

Named more than in files generallyReact (27), TypeScript (25), Expo (16), pnpm (16), Vite (10), Vitest (10), Electron (9), Next.js (9)

What they tell the agent

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

About React Native

About React

About TypeScript

About pnpm

  • Scope commands to one workspace package with pnpm --filter instead of running them from the whole monorepo.1 files
  • Use pnpm only for installs and scripts; do not switch to npm or yarn.1 files
  • Avoid repo-wide pnpm lint fixes, full builds or whole test suites; run targeted commands for the changed code.3 files
  • Run the pnpm lint, typecheck and test scripts before finishing or committing; CI enforces the same checks.1 files

About Vite

  • Vite is the frontend bundler and dev server, typically behind a React or Vue single-page app.1 files
  • Run the Vite dev server for hot-reload UI work.1 files
  • Where the project uses Vite+, run everything through the vp CLI instead of calling pnpm, npm, or vite directly.1 files
  • Environment variables exposed to client code use the VITE_ prefix and are baked in at build time.1 files

About Vitest

  • Co-locate Vitest test files next to the source they test.1 files
  • While iterating, run a single test file or filtered scope rather than the whole suite.1 files
  • Vite+ bundles Vitest, so run tests through its vp command.1 files
  • Run Vitest non-interactively with run or --run, never in watch mode, especially in automation.1 files

About Electron

About Next.js

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

- Mobile Framework: React Native

## 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 153 of 577 instruction files from open-source projects built with TypeScript.
  • Vitest: named in 118 of 577 instruction files from open-source projects built with TypeScript.
  • Playwright: named in 106 of 577 instruction files from open-source projects built with TypeScript.
  • ESLint: named in 102 of 577 instruction files from open-source projects built with TypeScript.

Make one for your own stack →

Questions

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

In 36 files from open-source React Native products: pointers to other docs (81%), commands to build, run and test (72%), testing (72%), project structure (56%), code style (56%), git, commits and pull requests (56%). The package manager they name most is pnpm (13 files).

AGENTS.md or CLAUDE.md?

Among these React Native products, 35 keep an AGENTS.md and 22 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 Native AGENTS.md?

The median is 1,429 words in these 36 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 Native, 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.