Agent skill

Cometchat React Native Bare Patterns

by cometchat in cometchat/cometchat-skills

Bare React Native CLI wiring for the CometChat UI Kit v5 — pod install, Android manifest permissions, and the gesture-handler import that must be the first line of your entry file.

MITAuto-check passedMobile

Install Cometchat React Native Bare Patterns

skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-native-bare-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cometchat/cometchat-skills cometchat-react-native-bare-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ 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-bare-patterns .claude/skills/cometchat-react-native-bare-patterns && rm -rf skills-src

Use ~/.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/

Facts

Skill name
cometchat-react-native-bare-patterns
GitHub stars
129
Token cost
~1.5k tokens
SKILL.md length
522 words
Files
1
Skills in repo
97
Repo updated
First seen
Licence
MIT

At a glance

Bare React Native CLI wiring for the CometChat UI Kit v5 — pod install, Android manifest permissions, and the gesture-handler import that must be the first line of your entry file.

  • Works in 3 steps: react-native-gesture-handler must be the… → iOS Podfile needs modular headers for… → Android permissions in the manifest
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers Companion skills (read first), Use this skill when, Prerequisites & install and The four native steps that are…, plus 5 more sections
  • Calls npm and npx

What it does

Cometchat React Native Bare Patterns is an agent skill from cometchat/cometchat-skills. Bare React Native CLI wiring for the CometChat UI Kit v5 — pod install, Android manifest permissions, and the gesture-handler import that must be the first line of your entry file. Triggers: CometChat React Native CLI, pod install CometChat, RN chat crashes on Android build, gesture handler crash release build, AndroidManifest CometChat permissions.

Its SKILL.md is about 1.5k 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 (CLI / bare); @cometchat/chat-uikit-react-native ^5.4.0

It sits in Mobile, covering Cross-platform mobile apps. It works with CometChat, React Native, Android and Expo. 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.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/cometchat-react-native-bare-patterns”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): React Native >=0.77 (CLI / bare); @cometchat/chat-uikit-react-native ^5.4.0

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. react-native-gesture-handler must be the FIRST import of your entry file
  2. iOS Podfile needs modular headers for two transitive pods
  3. Android permissions in the manifest

What it can do on your machine

Read from SKILL.md and the folder at commit 911b108. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    React Native >=0.77 (CLI / bare); @cometchat/chat-uikit-react-native ^5.4.0

    From compatibility in the SKILL.md frontmatter.

Context cost

Cometchat React Native Bare Patterns loads about 1.5k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 522 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from cometchat/cometchat-skills at commit 911b108, republished under its MIT licence (© cometchat). 522 words, ~1,469 tokens.

Download SKILL.mdSave it as .claude/skills/cometchat-react-native-bare-patterns/SKILL.md (or your agent's skills folder).
name
cometchat-react-native-bare-patterns
description
Bare React Native CLI wiring for the CometChat UI Kit v5 — pod install, Android manifest permissions, and the gesture-handler import that must be the first line of your entry file. Triggers: CometChat React Native CLI, pod install CometChat, RN chat crashes on Android build, gesture handler crash release build, AndroidManifest CometChat permissions.
compatibility
React Native >=0.77 (CLI / bare); @cometchat/chat-uikit-react-native ^5.4.0
license
MIT
metadata.author
CometChat
metadata.version
1.0.0
metadata.tags
chat cometchat react-native cli bare pods gradle manifest gesture-handler

Ground truth: @cometchat/chat-uikit-react-native@5 + catalog rn-v5.json. Docs: /ui-kit/react-native/react-native-cli-integration · react-native-conversation · react-native-tab-based-chat.

Companion skills (read first)

  • cometchat-react-native-core — install, provider chain, init→login→render. Assumed, not repeated here.
  • cometchat-react-native-expo-patterns — the Expo equivalent. Use that one for an Expo project.

Use this skill when

  • the project has real ios/ and android/ directories and no expo key in app.json
  • "add chat to my React Native CLI app" · "Android build fails after installing CometChat"

Prerequisites & install

bash
npm install @cometchat/chat-uikit-react-native@5 @cometchat/chat-sdk-react-native@4
npm install @react-native-clipboard/clipboard \
  react-native-svg react-native-video react-native-localize react-native-gesture-handler \
  react-native-safe-area-context @react-native-async-storage/async-storage@^2.1.2 dayjs
cd ios && pod install && cd ..

You own ios/ and android/, so native config is edited directly — the opposite of Expo, where those directories are generated and hand-edits get overwritten.

The four native steps that are not optional

1. react-native-gesture-handler must be the FIRST import of your entry file
js
import 'react-native-gesture-handler';
// …every other import after this

Not at the top of a screen — the very top of index.js, before anything else. Getting this wrong often works in debug and crashes in release, which is the worst possible failure shape: it passes local testing and breaks for users.

2. iOS Podfile needs modular headers for two transitive pods

@cometchat/chat-uikit-react-native is a Swift pod that depends on SPTPersistentCache and DVAssetLoaderDelegate, neither of which defines a module. On a static-library build — the React Native default — pod install fails outright:

The Swift pod react-native-cometchat-ui-kit depends upon SPTPersistentCache and DVAssetLoaderDelegate, which do not define modules.

Add these inside your target in ios/Podfile, then re-run pod install:

ruby
target 'YourApp' do
  pod 'SPTPersistentCache', :modular_headers => true
  pod 'DVAssetLoaderDelegate', :modular_headers => true
  # …
end

Both official CometChat sample apps carry exactly these two lines. The integration docs do not mention them (RN-G14), so a first pod install fails with an error that names two pods the developer has never heard of.

3. Android permissions in the manifest

android/app/src/main/AndroidManifest.xml — INTERNET at minimum; the camera/audio set only if you add calling. Fetch the exact list from the integration page rather than copying a partial set.

Show full SKILL.md (238 more words)Show less

Calling on bare RN

bash
npm install @cometchat/calls-sdk-react-native@5
# 6 REQUIRED peer deps — the calls SDK's declared peerDependencies. Pinned; do NOT float them.
npm install @react-native-async-storage/async-storage@^2.1.2 react-native-background-timer@^2.4.1 \
  react-native-performance@^5.1.2 react-native-svg@^15.12.0 react-native-url-polyfill@2.0.0 \
  react-native-webrtc@124.0.7
cd ios && pod install && cd ..

⚠️ react-native-url-polyfill + react-native-performance are bundle-critical (the UIKit module-scope require()s the calls SDK, so Metro resolves its peers even in a chat-only build). Keep react-native-performance on 5.x (a floated ^6 breaks later npm install with ERESOLVE). @react-native-community/netinfo / react-native-callstats are NOT declared peers — do not add them.

iOS permissions go in ios/<YourApp>/Info.plist:

xml
<key>NSCameraUsageDescription</key>
<string>Camera access for video calls</string>
<key>NSMicrophoneUsageDescription</key>
<string>Microphone access for voice/video calls</string>

Simulators cannot capture camera or microphone — verify calls on a real device.

After any native change — rebuild, don't reload

Metro reload only refreshes JavaScript. A new native module, a Gradle edit or a plist change needs a full rebuild (npx react-native run-ios / run-android). "I installed it and nothing changed" is almost always a missed rebuild.

What is the same as Expo

Everything above the native layer: providers, init → login → render, components, theming, navigation. Only install and native config differ.

Common pitfalls

  1. gesture-handler imported late — works in debug, crashes in release.
  2. Missing the Podfile modular-headers lines — pod install fails, naming two unfamiliar transitive pods.
  3. Skipping pod install after adding a package — iOS fails to link.
  4. Reloading instead of rebuilding after a native change.
  5. Copying Expo's app.json permission block into a bare app — it does nothing there.

Verify it works

  • index.js starts with the gesture-handler import.
  • iOS and Android both build clean from scratch.
  • npm run verify:fences:rn-v5 is green.
  • On device: chat renders, gestures respond, the composer survives the keyboard. Test a release build too — the gesture-handler ordering bug only shows there.

© cometchat, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cometchat-react-native-bare-patterns of cometchat/cometchat-skills.

Open the folder on GitHubat commit 911b108

Compare with similar skills

Cometchat React Native Bare Patterns 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.

Cometchat React Native Bare Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cometchat React Native Bare Patterns this skillcometchat/cometchat-skills129—~1.5kAutomated safety check: PassMIT
Expo Tailwind SetupCherryHQ/cherry-studio-app4k8 repos~3kAutomated safety check: PassMIT
Screenmapaleqsio/screenmap239—~7.2kAutomated safety check: PassMIT
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Expo UIarcboxlabs/linkcode155—~1.2kAutomated safety check: PassMIT
Simfleetentropyconquers/simfleet117—~1.5kAutomated safety check: PassMIT

Similar skills

  • Expo Tailwind Setup

    CherryHQ/cherry-studio-app

    Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling

    4k GitHub starsUsed in 8 repos~3k tokens
    MobileAuto-check passed
  • Screenmap

    aleqsio/screenmap

    Generate a visual navigation map of an Expo / React Native or NativeScript app.

    239 GitHub stars~7.2k tokensUpdated 3 days ago
    MobileAuto-check passed
  • Expo Brownfield Integration

    mweinbach/agent-coworker

    Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.

    156 GitHub starsUsed in 2 repos~900 tokens
    MobileAuto-check: notes
  • Expo UI

    arcboxlabs/linkcode

    Framework (OSS). An agent skill from arcboxlabs/linkcode.

    155 GitHub stars~1.2k tokensUpdated 9 days ago
    MobileAuto-check passed
  • Simfleet

    entropyconquers/simfleet

    Operate a simfleet device fleet: slimmed iOS simulators and Android emulators, parallel React Native worktree lanes with leased Metro ports, the native build cache, and per-agent device claims.

    117 GitHub stars~1.5k tokensUpdated 9 days ago
    MobileAuto-check passed
  • Code Review React Native

    talsec/Free-RASP-ReactNative

    Performs strict code reviews on React Native plugin projects covering TypeScript, the Kotlin (Android) and Swift (iOS) native bridges, and the Expo config plugin.

    175 GitHub stars~3.7k tokensUpdated 2 days ago
    MobileAuto-check passed

More from cometchat/cometchat-skills

All 97 skills in this repo
  • CometChat Android Calls SDK v5

    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.

    129 GitHub stars~5.2k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Android v5 Headless SDK

    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.

    129 GitHub stars~4k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Angular Component Picker

    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.

    129 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Angular Features

    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.

    129 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Angular Chat Placement

    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.

    129 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • Cometchat iOS V5 SDK

    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.

    129 GitHub stars~5.2k tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Cometchat React Native Bare Patterns

What does Cometchat React Native Bare Patterns do?

Bare React Native CLI wiring for the CometChat UI Kit v5 — pod install, Android manifest permissions, and the gesture-handler import that must be the first line of your entry file. Cometchat React Native Bare Patterns is an agent skill from cometchat/cometchat-skills. Bare React Native CLI wiring for the CometChat UI Kit v5 — pod install, Android manifest permissions, and the gesture-handler import that must be the first line of your entry file.

When should I use Cometchat React Native Bare Patterns?

Cometchat React Native Bare Patterns fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Cometchat React Native Bare Patterns in Claude Code?

Run `npx skills add cometchat/cometchat-skills --skill cometchat-react-native-bare-patterns -a claude-code`. Or copy the skill folder (skills/cometchat-react-native-bare-patterns in cometchat/cometchat-skills) into .claude/skills/cometchat-react-native-bare-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Cometchat React Native Bare Patterns in Codex?

Run `npx skills add cometchat/cometchat-skills --skill cometchat-react-native-bare-patterns -a codex`. Or copy the skill folder (skills/cometchat-react-native-bare-patterns in cometchat/cometchat-skills) into .agents/skills/cometchat-react-native-bare-patterns in your project. Codex loads it when a task matches its description.

Can I use Cometchat React Native Bare Patterns in Cursor, Gemini CLI or GitHub Copilot?

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-bare-patterns -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-bare-patterns, .gemini/skills/cometchat-react-native-bare-patterns, .github/skills/cometchat-react-native-bare-patterns and .opencode/skills/cometchat-react-native-bare-patterns in your project.

What does Cometchat React Native Bare Patterns need to run?

Going by SKILL.md and its folder, Cometchat React Native Bare Patterns needs the command-line tools its instructions call (npm and npx). Our summary lists: Node.js. Compatibility (from SKILL.md): React Native >=0.77 (CLI / bare); @cometchat/chat-uikit-react-native ^5.4.0.

Does Cometchat React Native Bare Patterns access the network?

SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Cometchat React Native Bare Patterns safe to install?

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.

What licence does Cometchat React Native Bare Patterns use?

Cometchat React Native Bare Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cometchat React Native Bare Patterns use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cometchat React Native Bare Patterns?

Skills that share tags, products or a category with Cometchat React Native Bare Patterns: Expo Tailwind Setup (CherryHQ/cherry-studio-app, 4k stars), Screenmap (aleqsio/screenmap, 239 stars), Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars) and Expo UI (arcboxlabs/linkcode, 155 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cometchat React Native Bare Patterns?

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.