Individual skill

cometchat-ios-migration

Upgrade an existing CometChat iOS integration from UI Kit v4 to v5 — composite components removed, theming replaced, properties renamed. Triggers: 'upgrade cometchat ios to v5', 'migrate from v4 uikit ios', 'CometChatConversationsWithMessages not found'.

plugins/cometchat/cometchat-skills/skills/cometchat-ios-migration/SKILL.md

Read pinned source

Source commit d780783eba4ecc7c8b9429f95c9362df95f07c61

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 4, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,533
Repository last updated
Nov 6, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

## Companion skills (read first)
- `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.

## Use this skill when
An existing v4 integration must move to v5, or a build breaks with `cannot find 'CometChatConversationsWithMessages' in scope` after an upgrade.

## The one change that dominates the migration
**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.

## Then the mechanical deltas