/cometchat-skills:cometchat-ios-migrationfrom cometchat-skills
Migrates CometChat iOS SDK from UI Kit v4 to v5, handling composite component removal, theming replacement, and property renames. Use when upgrading or encountering build errors like 'CometChatConversationsWithMessages not found'.
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.
cometchat-ios-core describes the v5 target state. This skill is the RECONCILIATION path to it. Build from the official guide — fetch /ui-kit/ios/upgrading-from-v4 via cometchat-ios-core/references/docs-map.md — then apply the deltas below.An existing v4 integration must move to v5, or a build breaks with cannot find 'CometChatConversationsWithMessages' in scope after an upgrade.
v4's composite components are gone. CometChatMessages, CometChatUsersWithMessages, CometChatGroupsWithMessages, CometChatConversationsWithMessages do not exist in v5, and neither do the configuration objects that fed them (MessageHeaderConfiguration, MessageListConfiguration, MessageComposerConfiguration).
That is not a rename — it is an inversion of ownership. v4 gave you one screen that did everything; v5 gives you three components and expects you to own the screen and the navigation. Every place the old code pushed a composite becomes a view controller you write, composed per cometchat-ios-core's golden path, with its five layout rules applied.
Budget for this honestly: it is the bulk of the work, and it is a design change in the host app, not a search-and-replace.
CometChatTheme's static colours plus per-component style objects. Re-derive the brand from the theme rather than porting v4 style code — cometchat-ios-customization.avatarStyle, badgeStyle, receiptStyle, statusIndicatorStyle, typingIndicatorStyle), onSearchClick, onSelectedItemProceed, the call-button click handlers.set(usersRequestBuilder:) → set(userRequestBuilder:) · set(subtitleView:) → set(subtitle:) and set(trailView:) → set(trailingView:) on Users/Groups only (Conversations and GroupMembers keep the old spelling) · set(sessionID:) → set(sessionId:) · set(callSettingBuilder:) → set(callSettingsBuilder:) · set(onDeclineClick:) → set(onCancelClick:) · set(parentMessage:) → set(parentMessageId:) on the list and composer, though the thread header still takes set(parentMessage:).CometChatUIKitSwift alone, Up to Next Major from 5.2.3: it resolves CometChatSDK (4.1.10+) itself, so remove any hand-added Chat SDK pin. Add CometChatCallsSDK (from 5.0.4) only if the app calls.Upgrade the dependency first and let the compiler enumerate the work — the errors are the migration checklist. Fix composites first (they cascade), then styling, then the renames. Do it additively: the host app's navigation, auth and design system stay theirs.
catalogs/ios-v5.json before porting it — if it is absent, it is gone, and a v5 doc page mentioning it is not evidence it exists.The project builds with no v4 symbols remaining; every screen that was a composite is now a composed screen that renders full-size, keyboard-avoids and navigates back; theming looks intentional rather than half-ported.
What SKILL.md sets; muted values are Claude Code's defaults
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