/cometchat-skills:cometchat-ios-customizationfrom cometchat-skills
Brands and restyles the CometChat iOS UI Kit — theme colours, typography, per-component styles, localization, and sounds. Use for 'make it match our brand' or 'change how it looks' requests.
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.
Read when SKILL.md points to them.
cometchat-ios-core owns setup and the golden path. This skill ADDS appearance. Exact token lists live in the docs — fetch via cometchat-ios-core/references/docs-map.md (theme-introduction, color-resources, component-styling, message-bubble-styling)."match our brand", "change the accent colour", "use our font", "dark mode", "restyle the bubbles", "translate the UI".
Cloning a named app, or mixing kit components with your own UI? Measure the target's colors, type, spacing and radii into ONE token source, theme the kit from it, and style every custom component from the same tokens so kit and custom parts look like one design; host a kit component in your own dialog/panel when only its placement differs. Flow: cometchat-onboarding → references/clone-mode.md (Design sync, build levels L0–L6).
1. Global theme (start here). CometChatTheme exposes static colour vars — primaryColor, extendedPrimaryColor50...900, neutralColor50..., white, black. Set them once at startup, before rendering, and every component follows. This is the branding lever: one primary colour usually does the whole job.
2. Typography. CometChatTypography.setFont(name:) swaps the family app-wide. Do this alongside the theme, not per component.
3. Per-component styles. Each component takes a style object — ConversationsStyle, SearchStyle, AvatarStyle, BadgeStyle, ReceiptStyle, StatusIndicatorStyle, TypingIndicatorStyle, DateStyle and the per-bubble styles (TextBubbleStyle, AudioBubbleStyle, CallBubbleStyle, BaseMessageBubbleStyle, ...). These are assigned as properties, not passed through setters: conversations.avatarStyle = style, conversations.style = ConversationsStyle(). Reach for these only when the global theme cannot express what you need.
Style type names are mostly un-prefixed — it is
ConversationsStyle,AvatarStyle,DateStyle, with noCometChatprefix on any of them. 491 of the kit's 638 public types are un-prefixed, so prefixing a style name is the most common way to invent a type that does not exist. Checkcatalogs/ios-v5.jsonbefore writing one.
Kit default: avatar + name only on OTHERS' messages in GROUPS; none on your own rows, and 1:1 chats never get a name. When the target shows them on every message (Slack, Discord, Teams), apply the fix yourself, without asking, for own and others' messages in 1:1 and group chats: references/message-chrome.md (BAKED — verified vs 5.1.22): .leftAligned + hideAvatar = false + wrapped templates.
Do NOT write trait-collection observers or reassign theme values on appearance changes. The iOS
kit follows the OS light/dark setting by ITSELF: its components override traitCollectionDidChange
and its palette is built from dynamic colours. Flipping the simulator (or the device) between light
and dark repaints the whole surface with zero theming code in the host app.
This is the opposite of the web kit, where theme="system" does not exist and the core must sync
theme ↔ prefers-color-scheme (AUDIT-004). Do not carry that habit across — on iOS the work is
already done, and an observer you add is redundant at best.
For BRAND colours that must differ per appearance, build them with the kit's helper rather than branching on the current style yourself:
let brand = UIColor.dynamicColor(lightModeColor: .systemIndigo, darkModeColor: .systemTeal)
It resolves per trait collection automatically, so it keeps working when the OS setting changes.
CometChatLocalize for strings, CometChatSoundManager for the audio cues; per-component overrides via set(customSoundForMessages:). Never render a raw localisation key — the kit's keys are SCREAMING_SNAKE (TYPE_A_MESSAGE, CHATS); if one appears on screen it means a missing or wrong key, not a label.
component.set(avatarStyle:) does not exist on the list components; assignment does.The brand colour appears on send buttons, badges and highlights without per-component work; the font applies across every screen; dark mode flips cleanly; no SCREAMING_SNAKE keys are visible anywhere.
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