Agent skill

Cometchat Flutter V6 Migration

by cometchat in cometchat/cometchat-skills

Upgrade a Flutter app from CometChat UI Kit v5 → v6 (cometchatchatuikit ^5 → ^6).

MITAuto-check passedMobile

Install Cometchat Flutter V6 Migration

skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-migration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cometchat/cometchat-skills cometchat-flutter-v6-migration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cometchat/cometchat-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cometchat-flutter-v6-migration .claude/skills/cometchat-flutter-v6-migration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cometchat-flutter-v6-migration
GitHub stars
129
Token cost
~2.2k tokens
SKILL.md length
969 words
Files
2 (incl. references)
Skills in repo
97
Repo updated
First seen
Licence
MIT

At a glance

Upgrade a Flutter app from CometChat UI Kit v5 → v6 (cometchatchatuikit ^5 → ^6).

  • Works in 5 steps: Confirm the starting point. pubspec.yaml… → Update deps. Bump the kit; drop… → Scan for removed symbols — grep the map… → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers Companion skills (read first), Use this skill when, Prerequisites & install and Migration workflow (BAKED), plus 4 more sections
  • Calls flutter

What it does

Cometchat Flutter V6 Migration is an agent skill from cometchat/cometchat-skills. Upgrade a Flutter app from CometChat UI Kit v5 → v6 (cometchatchatuikit ^5 → ^6). Reads the repo's CometChat usage, applies the breaking-change map (removed shells, the deleted extension architecture, GetX → BLoC, renamed widgets), and verifies the build. Triggers: 'upgrade my v5 uikit to v6', 'migrate cometchat flutter v5 to v6', 'cometchat flutter v5 to v6', 'bump cometchatchatuikit'.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/migration-guide.md`). Compatibility notes: Flutter =3.38.9; FROM cometchatchatuikit ^5 → ^6 (6.1.x, verified 6.1.0); cometchatsdk ^5.0.6

It sits in Mobile, covering Cross-platform mobile apps, iOS development and Design systems. It works with CometChat and Flutter. The repository describes itself as: Add CometChat chat & messaging and voice & video calls to any React, Next.js, React Native, Angular, Android, iOS, or Flutter project through your AI coding agent. Works with… The licence is MIT.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps
  • Tasks that involve iOS development
  • Tasks that involve Design systems

Example prompts

  • “upgrade my v5 uikit to v6”
  • “migrate cometchat flutter v5 to v6”
  • “cometchat flutter v5 to v6”
  • “/cometchat-flutter-v6-migration”

Requirements

  • Compatibility (from SKILL.md): Flutter >=3.38.9; FROM cometchat_chat_uikit ^5 → ^6 (6.1.x, verified 6.1.0); cometchat_sdk ^5.0.6

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Confirm the starting point. pubspec.yaml has cometchat_chat_uikit ^5 (already ^6 → STOP, nothing to migrate). Note platform floors…
  2. Update deps. Bump the kit; drop cometchat_uikit_shared and cometchat_calls_uikit; bump cometchat_sdk/cometchat_calls_sdk; expect one…
  3. Scan for removed symbols — grep the map in references/migration-guide.md. Produce a concrete change list BEFORE editing.
  4. Apply the map (below + the reference), then re-point imports: everything now comes from…
  5. Re-verify — flutter analyze clean, no v5 symbol remains, the app builds and chat renders.

What it can do on your machine

Read from SKILL.md and the folder at commit 911b108. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • flutter

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Flutter >=3.38.9; FROM cometchat_chat_uikit ^5 → ^6 (6.1.x, verified 6.1.0); cometchat_sdk ^5.0.6

    From compatibility in the SKILL.md frontmatter.

Context cost

Cometchat Flutter V6 Migration loads about 2.2k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 107 tokens; SKILL.md has 969 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cometchat/cometchat-skills at commit 911b108, republished under its MIT licence (© cometchat). 969 words, ~2,197 tokens.

Download SKILL.mdSave it as .claude/skills/cometchat-flutter-v6-migration/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
cometchat-flutter-v6-migration
description
Upgrade a Flutter app from CometChat UI Kit v5 → v6 (`cometchat_chat_uikit` ^5 → ^6). Reads the repo's CometChat usage, applies the breaking-change map (removed shells, the deleted extension architecture, GetX → BLoC, renamed widgets), and verifies the build. Triggers: 'upgrade my v5 uikit to v6', 'migrate cometchat flutter v5 to v6', 'cometchat flutter v5 to v6', 'bump cometchat_chat_uikit'.
compatibility
Flutter >=3.38.9; FROM cometchat_chat_uikit ^5 → ^6 (6.1.x, verified 6.1.0); cometchat_sdk ^5.0.6
license
MIT
metadata.author
CometChat
metadata.version
1.0.0
metadata.tags
cometchat flutter migration upgrade v5 v6 uikit

Ground truth: the removed-symbol map in references/migration-guide.md is derived from a REAL diff — every prior-pack symbol was compiled against the published 6.1.0, and the 45 that no longer resolve are recorded with their replacement (COVERAGE-flutter-v6.md). v6 target symbols are catalog-verified. The prop-by-prop table is FETCHED from upgrading-from-v5. Transform the user's code — never wipe it; work on a branch and confirm before bulk edits.

Companion skills (read first)

  • cometchat-flutter-v6-core — the v6 init/login/render the migrated app lands on. This skill ASSUMES it.
  • cometchat-flutter-v6-components — the v6 widget catalog (the target names).

Use this skill when

"upgrade my v5 UI Kit to v6", "migrate CometChat Flutter v5→v6", "bump cometchat_chat_uikit". Precondition: the project currently has cometchat_chat_uikit ^5.

Prerequisites & install

A clean branch. Then flutter pub add cometchat_chat_uikit:^6.1.0 (and cometchat_calls_sdk:^5.0.4 if the app calls). Remove cometchat_uikit_shared and cometchat_calls_uikit — neither exists as a package in v6; calling now ships inside the chat package behind a second barrel.

Expect pub get to fail once on a peer constraint. The kit tightens transitive pins (e.g. 6.1.0 needs permission_handler ^12, so an app on ^11 will not resolve). Bump the app's pin to what the solver names — never downgrade the kit to fit the app.

Migration workflow (BAKED)

  1. Confirm the starting point. pubspec.yaml has cometchat_chat_uikit ^5 (already ^6 → STOP, nothing to migrate). Note platform floors (Android minSdk 26, iOS 15.1 — not the docs' 24 / 13.0; see DOCS-BACKLOG D7) and whether the app uses calls / GetX / extensions / custom templates.
  2. Update deps. Bump the kit; drop cometchat_uikit_shared and cometchat_calls_uikit; bump cometchat_sdk/cometchat_calls_sdk; expect one peer-constraint bump. flutter pub get.
  3. Scan for removed symbols — grep the map in references/migration-guide.md. Produce a concrete change list BEFORE editing.
  4. Apply the map (below + the reference), then re-point imports: everything now comes from package:cometchat_chat_uikit/cometchat_chat_uikit.dart, plus …/cometchat_calls_uikit.dart for call widgets.
  5. Re-verify — flutter analyze clean, no v5 symbol remains, the app builds and chat renders.

The five breaking changes that matter (BAKED)

1. The combined shells are GONE. v5's all-in-one widgets have no v6 equivalent — the host composes screens now.

v5v6
CometChatConversationsWithMessagesCometChatConversations + push a message screen
CometChatUsersWithMessages / CometChatGroupsWithMessagesCometChatUsers / CometChatGroups + push
CometChatMessagesCometChatMessageHeader + CometChatMessageList + CometChatMessageComposer
CometChatUI · CometChatMessenger · CometChatUserList · CometChatContactList · CometChatChatListcompose from the catalog (-placement)
This is the largest edit: a one-line v5 shell becomes a screen you assemble. Use the core golden path as the target shape.

2. The extension architecture is DELETED. The builder setters ..extensions · ..aiFeature · ..callingExtension are gone, along with CometChatUIKitChatExtensions · CometChatCallingExtension · DataSource / ExtensionsDataSource · ChatConfigurator · every *Extension and *ExtensionDecorator · CometChatUIKit.getDataSource(). Dashboard-enabled extensions now surface automatically; the replacement for getDataSource() defaults is MessageTemplateUtils (getTextMessageOptions, getAllMessageTypes, getAllMessageCategories). Two exceptions to "just delete it":

  • Calling had a replacement, not a removal. ..callingExtension = CometChatCallingExtension() becomes ..enableCalls = true + ..callingConfiguration = CallingConfiguration() on the classic builder, or uiKit.enableCalling on initFromSettings (-calls). Delete it without the pair and every call affordance vanishes silently.
  • CometChatUIKitChatAIFeatures still resolves — delete the ..aiFeature = … line because the setter is gone, not the class.

3. GetX controllers → BLoC. CometChatMessagesController, CometChatOngoingCallController and friends are gone; v6 widgets own their blocs internally. Delete the controller wiring; read list state via stateCallBack / onLoad instead (-events).

4. Renames. CometChatEditPreview → CometChatMessagePreview · CometChatCompactMessageComposer → CometChatMessageComposer · the AI views gained a View suffix (CometChatAISmartReplies → CometChatAISmartRepliesView, and the same for conversation-starter / summary) · call-log detail widgets folded into CometChatCallLogs.

5. Imports + barrels — budget for this one; it breaks the most files. package:cometchat_uikit_shared/... and the whole cometchat_calls_uikit package no longer resolve. Call widgets moved behind the calls barrel inside the chat package — a screen using them imports both (-calls). The trap: the v5 calls package re-exported the chat kit, the v6 calls barrel does not. Every file that imported only the calls package silently loses CometChatUIKit, CometChatThemeHelper, the theme classes and Translations. On the real sample_app this was 94 of 119 post-bump errors — more than all removed symbols combined. Re-point the imports, then add the chat barrel wherever a chat symbol reports undefined.

Beyond the five: things that fail as ordinary type errors. Changed callback signatures (CometChatConfirmDialog), a slot whose return type changed (options → trailingView), renamed props (messageId → goToMessageId), and an app that subclassed a kit list controller (now a ChangeNotifier, so GetBuilder rejects it). Nothing greps for these — the table in references/migration-guide.md lists each with its fix.

Show full SKILL.md (275 more words)Show less

Also check

  • Banned members — no v6 widget; use the SDK (BannedGroupMembersRequestBuilder + unbanGroupMember) to keep the ban round-trip closed.
  • Custom message types — v5 templates still map to CometChatMessageTemplate, but defaults now come from MessageTemplateUtils (-components).
  • Text formatters — CometChatTextFormatter is abstract in v6 and requires init, getMessageInputTextStyle, handlePreMessageSend, onChange, onScrollToBottom. A v5 subclass will not compile until those exist.
  • Theming — the v5 palette holder is gone; v6 uses ThemeData.extensions with CometChatColorPalette (-customization).
  • Init — consider moving to initFromSettings + cometchat-settings.json for telemetry attribution while you are here (core). It does not fit every app: one that takes App ID / region / auth key at runtime (a credentials screen, multi-tenant switching) cannot express that in a static asset — keep UIKitSettingsBuilder there and say why.

Common pitfalls (BAKED)

  • Porting extension registration instead of deleting it — the #1 v5→v6 error.
  • Looking for a v6 shell — there isn't one; compose the screens.
  • Leaving cometchat_uikit_shared or cometchat_calls_uikit in pubspec → unresolved imports.
  • Re-pointing the calls import without adding the chat barrel → a wave of "undefined" chat symbols that look like removals and are not.
  • Mixing majors — never run v5 and v6 side by side; finish the migration.
  • Bulk find-and-replace without reading — the shell→composition change is structural, not a rename.
  • Forgetting the platform floors (minSdk 26, iOS 15.1 — the docs' 24 / 13.0 are too low) → the build fails after the bump, which is exactly when it is hardest to attribute.

Verify it works

flutter analyze is clean; no symbol from the removed map remains (grep it); the app builds on both platforms; chat renders, messages send/receive, threads and search still work; calling (if used) still rings with both barrels imported. Then re-run the core "Verify before done".

© cometchat, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/cometchat-flutter-v6-migration of cometchat/cometchat-skills.

  • SKILL.md
  • references/migration-guide.md

Open the folder on GitHubat commit 911b108

Compare with similar skills

Cometchat Flutter V6 Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cometchat Flutter V6 Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cometchat Flutter V6 Migration this skillcometchat/cometchat-skills129—~2.2kAutomated safety check: PassMIT
Frontend UI StandardsMaxHan7/frontend-ui-standards-skill106—~2.4kAutomated safety check: PassMIT
Frontend Designavibebuilder/claude-prime120—~2.1kAutomated safety check: PassMIT
Design SystemWrongStack/WrongStack368—~3.9kAutomated safety check: PassMIT
Mobile App Builderrevfactory/harness-1001.3k—~1.8kAutomated safety check: PassApache-2.0
Apple Designvrcm-team/VRCM1791 repos~6.2kAutomated safety check: PassMIT

Similar skills

  • Frontend UI Standards

    MaxHan7/frontend-ui-standards-skill

    A skill your agent uses when implementing, refactoring, or reviewing frontend UI across SwiftUI, React, React Native, Flutter, web, or mobile apps.

    106 GitHub stars~2.4k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Frontend Design

    avibebuilder/claude-prime

    Builds distinctive, production-grade UIs that avoid generic AI aesthetics.

    120 GitHub stars~2.1k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Design System

    WrongStack/WrongStack

    Use this skill BEFORE writing or restyling ANY user-facing interface.

    368 GitHub stars~3.9k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Mobile App Builder

    revfactory/harness-100

    Full mobile app development pipeline. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~1.8k tokensUpdated 6 mo ago
    MobileAuto-check passed
  • Apple Design

    vrcm-team/VRCM

    Cross-platform UI/UX design reviewer grounded in Apple's Human Interface Guidelines (122 pages pulled from developer.apple.com, including 57 component pages) plus a design-craft lens for…

    179 GitHub starsUsed in 1 repo~6.2k tokens
    MobileAuto-check passed
  • Liquid Glass Widgets

    sdegenaar/liquid_glass_widgets

    Mastery guide and architectural rules for liquidglasswidgets.

    711 GitHub stars~3.8k tokensUpdated yesterday
    MobileAuto-check passed

More from cometchat/cometchat-skills

All 97 skills in this repo
  • CometChat Android Calls SDK v5

    cometchat/cometchat-skills

    Adds voice and video calling to an Android app in Kotlin with the headless CometChat Calls SDK v5, covering meeting-style rooms, 1:1 ringing calls, call logs and recording.

    129 GitHub stars~5.2k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Android v5 Headless SDK

    cometchat/cometchat-skills

    Builds chat on Android with your own UI against the headless CometChat Chat SDK v5, covering install, Jetifier conflicts, credentials and init-before-login ordering.

    129 GitHub stars~4k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Angular Component Picker

    cometchat/cometchat-skills

    Picks and customizes CometChat's Angular UI Kit components by their verified component list, exact input and output event names, and the surfaces that have no kit component at all.

    129 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Angular Features

    cometchat/cometchat-skills

    Enables or builds CometChat features such as polls, reactions, smart replies and pinned messages in an Angular app, first classifying how much client code each one needs.

    129 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • CometChat Angular Chat Placement

    cometchat/cometchat-skills

    Decides where CometChat chat UI goes in an Angular app: a dedicated route, a dashboard panel, a support widget or the full multi-pane app, with thread and search panels.

    129 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • Cometchat iOS V5 SDK

    cometchat/cometchat-skills

    Add voice & video calling to any iOS app FROM SCRATCH with the headless CometChat Calls SDK v5 (CometChatCallsSDK, via Swift Package Manager) — no UI Kit.

    129 GitHub stars~5.2k tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Cometchat Flutter V6 Migration

What does Cometchat Flutter V6 Migration do?

Upgrade a Flutter app from CometChat UI Kit v5 → v6 (cometchatchatuikit ^5 → ^6). Cometchat Flutter V6 Migration is an agent skill from cometchat/cometchat-skills. Upgrade a Flutter app from CometChat UI Kit v5 → v6 (cometchatchatuikit ^5 → ^6).

When should I use Cometchat Flutter V6 Migration?

Cometchat Flutter V6 Migration fits situations like: tasks that involve Cross-platform mobile apps; tasks that involve iOS development; tasks that involve Design systems.

How do I install Cometchat Flutter V6 Migration in Claude Code?

Run `npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-migration -a claude-code`. Or copy the skill folder (skills/cometchat-flutter-v6-migration in cometchat/cometchat-skills) into .claude/skills/cometchat-flutter-v6-migration in your project. Claude Code loads it when a task matches its description.

How do I install Cometchat Flutter V6 Migration in Codex?

Run `npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-migration -a codex`. Or copy the skill folder (skills/cometchat-flutter-v6-migration in cometchat/cometchat-skills) into .agents/skills/cometchat-flutter-v6-migration in your project. Codex loads it when a task matches its description.

Can I use Cometchat Flutter V6 Migration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cometchat/cometchat-skills --skill cometchat-flutter-v6-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cometchat-flutter-v6-migration, .gemini/skills/cometchat-flutter-v6-migration, .github/skills/cometchat-flutter-v6-migration and .opencode/skills/cometchat-flutter-v6-migration in your project.

What does Cometchat Flutter V6 Migration need to run?

Going by SKILL.md and its folder, Cometchat Flutter V6 Migration needs the command-line tools its instructions call (flutter). Compatibility (from SKILL.md): Flutter >=3.38.9; FROM cometchat_chat_uikit ^5 → ^6 (6.1.x, verified 6.1.0); cometchat_sdk ^5.0.6.

Does Cometchat Flutter V6 Migration access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cometchat Flutter V6 Migration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cometchat Flutter V6 Migration use?

Cometchat Flutter V6 Migration is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cometchat Flutter V6 Migration use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.

What are the alternatives to Cometchat Flutter V6 Migration?

Skills that share tags, products or a category with Cometchat Flutter V6 Migration: Frontend UI Standards (MaxHan7/frontend-ui-standards-skill, 106 stars), Frontend Design (avibebuilder/claude-prime, 120 stars), Design System (WrongStack/WrongStack, 368 stars) and Mobile App Builder (revfactory/harness-100, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cometchat Flutter V6 Migration?

cometchat (a GitHub organization) maintains it in cometchat/cometchat-skills, which has 129 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 5, 2026.

Source: cometchat/cometchat-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.