Test Guidelines
getsentry/sentry-react-native
Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.
Test a CometChat React Native integration — mock the SDK for Jest unit tests, assert init-before-render ordering and no-Auth-Key-in-source, and use Detox for the flows only a device can prove.
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-react-native-testing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cometchat-react-native-testing .claude/skills/cometchat-react-native-testing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cometchat-react-native-testing" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-react-native-testing into .claude/skills/cometchat-react-native-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-react-native-testing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-react-native-testingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-react-native-testing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cometchat-react-native-testing .agents/skills/cometchat-react-native-testing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cometchat-react-native-testing" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-react-native-testing into .agents/skills/cometchat-react-native-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-react-native-testing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-react-native-testing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cometchat-react-native-testing .cursor/skills/cometchat-react-native-testing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cometchat-react-native-testing" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-react-native-testing into .cursor/skills/cometchat-react-native-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-react-native-testing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cometchat/cometchat-skills.git --path skills/cometchat-react-native-testing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-react-native-testing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cometchat-react-native-testing .gemini/skills/cometchat-react-native-testing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cometchat-react-native-testing" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-react-native-testing into .gemini/skills/cometchat-react-native-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-react-native-testing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cometchat/cometchat-skills cometchat-react-native-testingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cometchat-react-native-testing .github/skills/cometchat-react-native-testing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cometchat-react-native-testing" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-react-native-testing into .github/skills/cometchat-react-native-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-react-native-testing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cometchat/cometchat-skills cometchat-react-native-testing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cometchat-react-native-testing .opencode/skills/cometchat-react-native-testing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cometchat-react-native-testing" agent skill from https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-react-native-testing into .opencode/skills/cometchat-react-native-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cometchat-react-native-testing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cometchat-react-native-testingTest a CometChat React Native integration — mock the SDK for Jest unit tests, assert init-before-render ordering and no-Auth-Key-in-source, and use Detox for the flows only a device can prove.
Cometchat React Native Testing is an agent skill from cometchat/cometchat-skills. Test a CometChat React Native integration — mock the SDK for Jest unit tests, assert init-before-render ordering and no-Auth-Key-in-source, and use Detox for the flows only a device can prove. Triggers: test CometChat React Native, mock CometChat SDK jest, detox CometChat, unit test chat screen RN, CI tests for chat.
Its SKILL.md is about 1000 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: React Native =0.77; Jest; @testing-library/react-native; Detox (e2e)
It sits in Testing & QA, covering Unit testing and Cross-platform mobile apps. It works with CometChat, React Native and Jest. The repository describes itself as: Add CometChat chat & messaging and voice & video calls to any React, Next.js, React Native, Angular, Android, iOS, or Flutter project through your AI coding agent. Works with… The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 911b108. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
React Native >=0.77; Jest; @testing-library/react-native; Detox (e2e)
From compatibility in the SKILL.md frontmatter.
Cometchat React Native Testing loads about 997 tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 398 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cometchat/cometchat-skills at commit 911b108, republished under its MIT licence (© cometchat). 398 words, ~997 tokens.
.claude/skills/cometchat-react-native-testing/SKILL.md (or your agent's skills folder).Ground truth:
catalogs/rn-v5.json+catalogs/rn-sdk-v4.json. Build the feature; do NOT test it unless asked. Use this skill only when the developer asks for tests. Never add a test framework, e2e suite or CI to a project that did not request one.
cometchat-react-native-core — install, provider chain, init→login→render. Assumed, not repeated here.React Native ships Jest. Add the renderer:
npm install --save-dev @testing-library/react-nativeCometChat opens a websocket and needs real credentials. Mock at the module boundary:
jest.mock("@cometchat/chat-sdk-react-native", () => ({
CometChat: {
init: jest.fn().mockResolvedValue(true),
login: jest.fn().mockResolvedValue({ getUid: () => "test-uid" }),
logout: jest.fn().mockResolvedValue(true),
AppSettings: { SUBSCRIPTION_TYPE_ALL_USERS: "ALL_USERS" },
},
}));The UI Kit also pulls native modules, so mock the peers your test path touches —
react-native-gesture-handler, react-native-svg, react-native-video,
@react-native-async-storage/async-storage. Without them the failure is a NativeModule error that
never mentions CometChat: the same confusing shape as a missing install.
Ordering — the invariant most likely to regress: init resolves before login, and no chat
component renders until login resolves.
No Auth Key in source — a cheap grep test that stops a shipped secret ever landing:
it("has no auth key in source", () => {
const src = require("fs").readFileSync("src/config.ts", "utf8");
expect(src).not.toMatch(/authKey\s*:\s*["'][A-Za-z0-9]{20,}/);
});Wiring, not rendering — that onItemPress navigates, that onBack returns, that an opened
surface can be closed. Unwired affordances are the defect class worth catching.
Do not assert on kit internals — bubble markup, class names, child order. Those change between minors, so the test breaks with nothing actually wrong.
| Flow | Why it cannot be a unit test |
|---|---|
| composer survives the keyboard | needs a real soft keyboard |
| hardware back navigates | needs the OS back gesture |
| gestures respond | proves GestureHandlerRootView is wired |
| release-build startup | catches the gesture-handler import-order crash |
Calls and push are outside Detox too — they need real hardware, real permissions and a second device. Record them as manual device checks rather than pretending they are automated.
Jest with mocks runs anywhere. Detox needs a simulator — heavier, but feasible. Neither can verify calls or push, so a green CI run is not evidence that either works.
npm run verify:fences:rn-v5 is green.© cometchat, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/cometchat-react-native-testing of cometchat/cometchat-skills.
Open the folder on GitHubat commit 911b108
Cometchat React Native Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cometchat React Native Testing this skillcometchat/cometchat-skills | 129 | — | ~997 | Automated safety check: Pass | MIT | |
| Test Guidelinesgetsentry/sentry-react-native | 1.8k | — | ~1.3k | Automated safety check: Pass | MIT | |
| React Native Testingcallstackincubator/agent-skills | 1.7k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Creating Reanimated Animationsgluestack/gluestack-ui | 5.3k | — | ~2.4k | Automated safety check: Pass | None | |
| React Native TestingHoangNguyen0403/agent-skills-standard | 570 | — | ~647 | Automated safety check: Pass | MIT | |
| Reactpedronauck/skills | 633 | 1 repos | ~1.5k | Automated safety check: Pass | None |
getsentry/sentry-react-native
Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.
callstackincubator/agent-skills
Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native).
gluestack/gluestack-ui
Generate React Native Reanimated animation code for React Native apps.
HoangNguyen0403/agent-skills-standard
Test React Native components with Jest and React Native Testing Library.
pedronauck/skills
Build React 19 components and hooks under React Compiler: state, Effects, memoization, props/refs, Actions, use(), compiler/lint setup, and Vitest tests.
ChrisWiles/claude-code-showcase
Jest patterns for React Native style tests: TDD discipline, mock factory functions, module and GraphQL hook mocking, custom render helpers and anti-patterns to avoid.
cometchat/cometchat-skills
Adds voice and video calling to an Android app in Kotlin with the headless CometChat Calls SDK v5, covering meeting-style rooms, 1:1 ringing calls, call logs and recording.
cometchat/cometchat-skills
Builds chat on Android with your own UI against the headless CometChat Chat SDK v5, covering install, Jetifier conflicts, credentials and init-before-login ordering.
cometchat/cometchat-skills
Picks and customizes CometChat's Angular UI Kit components by their verified component list, exact input and output event names, and the surfaces that have no kit component at all.
cometchat/cometchat-skills
Enables or builds CometChat features such as polls, reactions, smart replies and pinned messages in an Angular app, first classifying how much client code each one needs.
cometchat/cometchat-skills
Decides where CometChat chat UI goes in an Angular app: a dedicated route, a dashboard panel, a support widget or the full multi-pane app, with thread and search panels.
cometchat/cometchat-skills
Add voice & video calling to any iOS app FROM SCRATCH with the headless CometChat Calls SDK v5 (CometChatCallsSDK, via Swift Package Manager) — no UI Kit.
Works with
Categories
Test a CometChat React Native integration — mock the SDK for Jest unit tests, assert init-before-render ordering and no-Auth-Key-in-source, and use Detox for the flows only a device can prove. Cometchat React Native Testing is an agent skill from cometchat/cometchat-skills. Test a CometChat React Native integration — mock the SDK for Jest unit tests, assert init-before-render ordering and no-Auth-Key-in-source, and use Detox for the flows only a device can prove.
Cometchat React Native Testing fits situations like: tasks that involve Unit testing; tasks that involve Cross-platform mobile apps.
Run `npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a claude-code`. Or copy the skill folder (skills/cometchat-react-native-testing in cometchat/cometchat-skills) into .claude/skills/cometchat-react-native-testing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a codex`. Or copy the skill folder (skills/cometchat-react-native-testing in cometchat/cometchat-skills) into .agents/skills/cometchat-react-native-testing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cometchat/cometchat-skills --skill cometchat-react-native-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cometchat-react-native-testing, .gemini/skills/cometchat-react-native-testing, .github/skills/cometchat-react-native-testing and .opencode/skills/cometchat-react-native-testing in your project.
Going by SKILL.md and its folder, Cometchat React Native Testing needs the command-line tools its instructions call (npm). Our summary lists: Node.js. Compatibility (from SKILL.md): React Native >=0.77; Jest; @testing-library/react-native; Detox (e2e).
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cometchat React Native Testing is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 997 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cometchat React Native Testing: Test Guidelines (getsentry/sentry-react-native, 1.8k stars), React Native Testing (callstackincubator/agent-skills, 1.7k stars), Creating Reanimated Animations (gluestack/gluestack-ui, 5.3k stars) and React Native Testing (HoangNguyen0403/agent-skills-standard, 570 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cometchat (a GitHub organization) maintains it in cometchat/cometchat-skills, which has 129 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 5, 2026.
Source: cometchat/cometchat-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.