/cometchat-skills:cometchat-ios-componentsfrom cometchat-skills
Catalogue of CometChat iOS UI Kit components with real API shapes and customisation points. Use when picking or customising a component like conversation rows, message lists, or badges.
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 owns install, credentials, init → login → render and the golden-path chat surface. This skill ADDS the per-component catalogue; it never restates core's setup. Fetch exact API via cometchat-ios-core/references/docs-map.md.Choosing a component, or customising one: "what shows the member list?", "put a badge on the conversation row", "swap the message bubble".
| Component | For |
|---|---|
CometChatConversations | Recent-chats list · the usual entry point |
CometChatMessageHeader · CometChatMessageList · CometChatCompactMessageComposer | The chat screen — you compose these three yourself |
CometChatUsers · CometChatGroups · CometChatGroupMembers | Pickers and rosters |
CometChatSearch | Global search over conversations and messages |
CometChatThreadedMessageHeader | Thread parent header |
CometChatCallButtons · CometChatIncomingCall · CometChatOngoingCall · CometChatCallLogs | Calling → cometchat-ios-calls |
CometChatAvatar · CometChatBadge · CometChatStatusIndicator · CometChatDate · CometChatReceipt | Base building blocks |
CometChatMessageInformation · CometChatAIAssistanceChatHistory | Per-message detail · AI history |
CometChatScopeChange | Change a member's role. set(group:groupMember:), options: [(String, CometChat.MemberScope)] (property). Present it as a sheet. Through 5.1.22 its Cancel only called dismiss(), so a pushed one stranded the user; 5.2.3 pops when pushed (source), but presenting stays the safe default. CometChatGroupMembers already presents it on row tap. |
There is NO composite component.
CometChatMessages,CometChat{Users,Groups,Conversations}WithMessages,CometChatAddMembers,CometChatMessageHeaderOptionare v4 or non-existent — never emit them. If a symbol is not incatalogs/ios-v5.json, it does not exist in v5, whatever a page says.
Self and are chainable: set(user:), set(onItemClick:), set(subtitle:).list.avatarStyle = ..., conversations.onSearchClick = { ... }, groups.onSelectedItemProceed = { ... }.setXxx(xxx:) with the label repeated: CometChatMessageInformation uses setSubtitle(subtitle:), setBubbleView(bubbleView:), setListItemView(listItemView:), setOnError(onError:). Writing them in shape-1 form (set(subtitle:)) does not compile on that component.
Which is which is per component, and the kit is not consistent — CometChatConversations has set(subtitleView:)/set(trailView:) while CometChatUsers and CometChatGroups have set(subtitle:)/set(trailingView:), and CometChatGroupMembers uses the Conversations spelling. Never generalise a name across components — fetch the component's .md twin.Every list component exposes: set(listItemView:) (whole row) · set(leadingView:) · set(titleView:) · subtitle · trailing · set(options:) (swipe/overflow actions). Use these instead of building your own row above the list.
Empty/error/loading are assignable views inherited from CometChatListBase: emptyStateView, errorStateView, loadingView, plus emptyStateTitleText / emptyStateSubTitleText to retitle the built-in one. CometChatSearch is the exception — it does NOT inherit CometChatListBase, so it has none of that chrome; it uses set(emptyView:) / set(errorView:) / set(loadingView:) instead.
set(controller:) on any component that presents something (header, list, composer) or its built-in affordances render and do nothing.CometChatAvatar — use setAvatar(avatarUrl:with:) (its with: name renders initials when no URL loads). There is no set(user:). On 5.1.19 to 5.1.22 an avatar given a UIImage through set(image:) or init(image:) drew an empty circle (measured on 5.1.19: the kit repainted over it) and there was no no-arg init. 5.2.3 fixes both in source: a supplied image is kept (hasSuppliedImage in CometChatAvatar.swift) and CometChatAvatar() compiles. The image path has not been re-run on a device, so still prefer setAvatar for user and group avatars.set(listItemViewForMessage:) plus ...ForImage/Video/Audio/Document/Link/Conversation. There are no *ForMessage granular (title/subtitle/leading/trailing) slots — those exist for conversations only, as properties.The component renders at full size, its custom slot appears in the right place (inside the row, not above the list), and every rendered control does something when tapped.
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