/cometchat-skills:cometchat-react-native-migrationfrom cometchat-skills
Migrates a React Native app from CometChat UI Kit v4 to v5, covering 16 removed components, their replacements, composite-to-modular rewrite, and theming changes.
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: the public-export diff between kit v4 and
@cometchat/[email protected], verified againstcatalogs/rn-v5.json(216 symbols) — every removal below is confirmed absent, not assumed. Docs:/ui-kit/react-native/upgrading-from-v4·property-changes.
cometchat-react-native-core — the v5 install, provider chain and ordering you are migrating to.CometChatConversationsWithMessages is gone" · "CometChatDetails not found"v5 changes the peer set as well as the API — reinstall from core's list rather than bumping one
package.
v4 shipped end-to-end components. One tag gave you a list, a message view, details and threads. v5 removes them so each piece is customizable — which is better, and is also a rewrite of your chat screen, not a version bump. Budget accordingly.
| v4 | v5 |
|---|---|
CometChatConversationsWithMessages | CometChatConversations + a message screen |
CometChatUsersWithMessages | CometChatUsers + a message screen |
CometChatGroupsWithMessages | CometChatGroups + a message screen |
CometChatMessages | CometChatMessageHeader + CometChatMessageList + CometChatMessageComposer |
CometChatThreadedMessages | CometChatThreadHeader on its own screen |
The message screen is three components in a flex: 1 container — see core. Navigation between list
and pane is placement.
CometChatDetails · CometChatContacts · CometChatAddMembers · CometChatBannedMembers ·
CometChatTransferOwnership · CometChatUserMemberWrapper
⚠️ This is the migration's real cost. v5 ships nothing equivalent. You build these screens on the SDK:
Screen SDK user / group details CometChat.getUser·getGroup·updateGroupadd members addMembersToGroupbanned members BannedMembersRequestBuilder·unbanGroupMembertransfer ownership transferGroupOwnership
CometChatGroupMemberslists active members only. If your v4 app could ban, it could also show and unban — keep that pair, or you ship a one-way door.Do not invent a layout: the official sample app has real implementations —
github.com/cometchat/cometchat-uikit-react-native/tree/v5/examples/SampleApp. Those are sample-app directory paths, never imports.
CometChatCallLogDetails · CometChatCallLogHistory · CometChatCallLogParticipants ·
CometChatCallLogRecordings · CometChatCallLogsWithDetails are gone. CometChatCallLogs (the list)
remains; details come from CometChatCalls.CallLogRequestBuilder in the calls SDK.
- let myTheme = new CometChatTheme({});
- myTheme.palette.setMode("dark");
+ <CometChatThemeProvider theme={{ mode: "dark" }}>
CometChatContext / CometChatProvider are gone. Read the active theme with useTheme().
Details in customization.
core).placement).customization).WithMessages, CometChatDetails, CometChatMessages.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
cometchat, react-native, migration, chat-uikit, v4-to-v5, breaking-changes
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'./cometchat-analyticsSee what your chat is doing — pull usage & message metrics via REST, stream real-time events to your data/observability stack via webhooks, monitor client-side errors & the init/login path, and read push/call logs. Cross-family: metrics/webhooks are server-side; client error monitoring wires per family. Triggers: 'chat analytics', 'usage metrics', 'message volume', 'monitor cometchat', 'observability', 'send chat events to datadog/segment/bigquery', 'track delivery', 'error monitoring for chat', 'dashboards for chat'./cometchat-android-v5-calls-sdkAdd voice & video calling to any Android app FROM SCRATCH with the headless CometChat Calls SDK v5 (`com.cometchat:calls-sdk-android:5.0.4`) — no UI Kit. Kotlin: initFromSettings→login→generateToken→joinSession into a RelativeLayout, lifecycle-bound listeners, meet-style session rooms AND 1:1 ringing (Chat SDK v5 signaling + Calls SDK media), call logs, layouts, audio modes, recording, PiP, background service. Triggers: 'add calling from scratch android', 'standalone video call kotlin', 'headless calls sdk android', 'build my own call UI android', 'meeting room join by session id android', 'one-on-one ringing call without uikit android'./cometchat-android-v5-sdkBuild chat on Android with the headless CometChat Chat SDK v5 and your OWN UI — init/login ordering, the method map, request-builder pagination, listener lifecycle, and a production-ready app surface (optimistic updates, error states, sized shell). Use when the app needs custom UI instead of the drop-in UI Kit. Triggers: 'cometchat android sdk', 'chat with my own ui android', 'headless cometchat android', 'send message with chat-sdk-android', 'cometchat message listener kotlin'./cometchat-android-v6-builder-settingsThe CometChat Android v6 settings and session API reference — the assets/cometchat-settings.json file that initFromSettings reads (appId, region, credentials, uiKit toggles), the legacy UIKitSettings builder, and the CometChatUIKit session methods (login, loginWithAuthToken, logout, getLoggedInUser, createUser). Use when configuring init options or wiring auth beyond the core golden path. Triggers: 'cometchat settings json android', 'uikitsettings builder options', 'login with auth token android', 'create a cometchat user from the app', 'enable calling in settings'.Other plugins' skills for the same job