cometchat-ios-customization — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited cometchat-ios-customization (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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".
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 isConversationsStyle,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.
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.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.