From f984de83855819adf33bdf4c03beb723f8e21c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Jastrze=CC=A8bski?= Date: Wed, 3 Jun 2026 17:18:10 +0200 Subject: [PATCH] chore: example apps AGENTS.md --- agents/example-apps.md | 2 ++ examples/basic/AGENTS.md | 7 +++++++ examples/cookbook/AGENTS.md | 7 +++++++ 3 files changed, 16 insertions(+) create mode 100644 examples/basic/AGENTS.md create mode 100644 examples/cookbook/AGENTS.md diff --git a/agents/example-apps.md b/agents/example-apps.md index bfd11c565..fff2edac1 100644 --- a/agents/example-apps.md +++ b/agents/example-apps.md @@ -21,6 +21,7 @@ - `babel.config.js` - `eslint.config.mjs` - `README.md` + - `AGENTS.md` - existing tracked image assets in `assets/` - `.expo-shared/assets.json` if it existed before - Keep the fresh Expo entrypoint `index.ts`. @@ -40,6 +41,7 @@ - `.eslintrc` - `.eslintignore` - `README.md` + - `AGENTS.md` - custom assets not present in the scaffold, such as `assets/gradientRNBanner.png` - existing tracked image assets in `assets/` - `.expo-shared/assets.json` if it existed before diff --git a/examples/basic/AGENTS.md b/examples/basic/AGENTS.md new file mode 100644 index 000000000..5b28cfc58 --- /dev/null +++ b/examples/basic/AGENTS.md @@ -0,0 +1,7 @@ +# React Native Testing Library in this project + +This project uses `@testing-library/react-native`. Its APIs and testing conventions can differ from your training data. +Before writing or changing RNTL tests, read the relevant guide in +`node_modules/@testing-library/react-native/docs/`, starting with +`node_modules/@testing-library/react-native/docs/guides/llm-guidelines.md`. +Prefer those package docs over stale assumptions, and follow deprecation notices. diff --git a/examples/cookbook/AGENTS.md b/examples/cookbook/AGENTS.md new file mode 100644 index 000000000..5b28cfc58 --- /dev/null +++ b/examples/cookbook/AGENTS.md @@ -0,0 +1,7 @@ +# React Native Testing Library in this project + +This project uses `@testing-library/react-native`. Its APIs and testing conventions can differ from your training data. +Before writing or changing RNTL tests, read the relevant guide in +`node_modules/@testing-library/react-native/docs/`, starting with +`node_modules/@testing-library/react-native/docs/guides/llm-guidelines.md`. +Prefer those package docs over stale assumptions, and follow deprecation notices.