/cometchat-skills:cometchat-react-native-featuresfrom cometchat-skills
Enables named CometChat features in React Native apps by consulting a feature oracle and executing the correct enablement branch (auto, dashboard extension, AI toggle, npm package, or SDK fallback).
Ships in cometchat-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ground truth:
features.rn-v5.json(48 entries) + catalogrn-v5.json. The oracle decides, not memory. Every claim below — whether a capability exists, whether it is on by default, which components render it — comes from that file. Fetch props viacore/references/docs-map.md.
cometchat-react-native-core — install, provider chain, init→login→render. Assumed, not repeated here.None beyond core unless the feature's branch says otherwise (only two features install a package).
Find the entry in features.rn-v5.json. If there is no entry, the feature does not exist — say so
rather than inventing an API. The entry tells you everything:
| Field | What it decides |
|---|---|
category · enablement | which branch below to take |
ui_components | what to render (all validated against the catalog) |
sdk_fallback | the SDK methods to use when the kit has no component |
needs_stitching | you must wire host state, not just drop a component in |
needs_dashboard | a dashboard toggle is required as well as code |
auto_rendered_ui | the kit renders it — emit no client code |
platform_delta | how React Native differs from React here. Read it before writing anything. |
docs_gap | the docs don't cover this yet — flag it, don't silently source-fill |
category: default, enablement: auto (12 features)Nothing to enable. Reactions, mentions, typing indicators, receipts, threads and attachments are core messaging in v5, not extensions.
⚠️ Do not offer these as "enable this extension". The dashboard still lists legacy Reactions and Mentions extensions; their own docs say they are already part of core and scheduled for deprecation. Suggesting them is a bug, not a helpful extra — it is the exact defect the React pack hit (AUDIT-077). Customization is via component props, not enablement.
enablement: dashboard-extension (20 features)Enable in the CometChat dashboard first, then wire any ui_components. Polls, stickers,
translation, link preview, whiteboard, document and similar. Without the dashboard step the code
compiles and silently does nothing.
Some are auto_rendered_ui: true (e.g. polls' bubble) — the message list renders them once enabled.
Emit no client code for those; hand-wiring produces a duplicate.
category: ai, needs_dashboard: true (4 features)Two steps, and the second is the one people miss: enable the feature in the dashboard and set the
code prop. The props default to off, so a dashboard-only change looks like nothing happened.
Smart replies, conversation starter, conversation summary, AI assistant.
Fetch the exact prop name from /ui-kit/react-native/ai-features.md — do not guess it.
enablement: npm-package (2 features)Only calling. React Native needs its own calls SDK:
npm install @cometchat/calls-sdk-react-native@5 # + its 6 pinned peer deps — exact list in cometchat-react-native-calls
cd ios && pod install
⚠️ Not @cometchat/calls-sdk-javascript — that is the web package and will not work.
Its peers include react-native-webrtc, a native module: declare camera and microphone permissions
(NSCameraUsageDescription / NSMicrophoneUsageDescription; CAMERA / RECORD_AUDIO).
Simulators cannot capture camera or mic — calling must be verified on a real device.
Depth lives in cometchat-react-native-calls.
Kit v5 removed the detail and management screens. sdk_fallback names the methods:
| Feature | Why | Use |
|---|---|---|
group-member-management | no add/ban/transfer components | addMembersToGroup · banGroupMember · unbanGroupMember · transferGroupOwnership · BannedMembersRequestBuilder |
user-group-details | no details component | getUser · getGroup · updateGroup |
call-log-details | only the list ships | CometChatCalls.CallLogRequestBuilder (calls SDK) |
Banned members have no UI surface at all. An app that can ban but cannot view or unban is an unclosed round-trip — ship both halves.
Do not invent a layout: cite the official sample app's implementation
(github.com/cometchat/cometchat-uikit-react-native/tree/v5/examples/SampleApp). Those are sample-app
directory paths, never imports.
Render the entry's ui_components and nothing else. A feature that is auto_rendered_ui gets no
client code. A feature that is needs_stitching gets host state and callbacks wired, not just a mount.
Never enable a neighbouring feature because it seemed related — that is unrequested scope.
reactions · typing-indicators · delivery-read-receipts · media-file-attachments (the whole
multi-attachment cluster) · and the three SDK-fallback features above carry a docs_gap marker.
Build from the catalog and kit source, and tell the developer the page is missing.
auto_rendered_ui feature — duplicate UI.features.rn-v5.json and you took its branch.catalogs/rn-v5.json.npm run verify:fences:rn-v5 is green.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cometchat/cometchat-skills --plugin cometchat-skills98 skills in this plugin
/cometchatEntry point for any CometChat task on any platform. Detects the framework + UI Kit version (React, Angular, iOS, Android, React Native, Flutter), then routes to that family's skills — for a NEW integration or a change to an existing one. Triggers: 'add chat', 'add cometchat', 'add chat to my app', 'add calling', 'change something in my chat', 'my chat is already set up', 'add a feature to the chat', 'add chat to my android app', 'integrate cometchat android', 'add chat to my ios app', 'integrate cometchat ios', 'add chat to my swift app', 'migrate my app to cometchat', 'migrate from sendbird', 'migrate from getstream / stream', 'replace sendbird / stream chat with cometchat', 'build a <app> clone', 'make a chat app like <app>', 'make it look and work like <app>'./cometchat-a11yKeep a CometChat integration accessible — the UI Kit is designed targeting WCAG 2.1 AA with keyboard navigation (verify per component in its docs; full conformance still needs manual testing), and this skill makes sure the HOST app doesn't break that, covering contrast, focus, screen-reader context, reduced motion, RTL, and calls accessibility. Cross-family. Triggers: 'is cometchat accessible', 'WCAG / 508 / ADA compliance', 'screen reader support', 'keyboard navigation', 'a11y audit', 'accessible chat', 'contrast/focus issues in chat'.Other plugins' skills for the same job