/cometchat-skills:cometchatfrom cometchat-skills
Entry point for CometChat tasks across platforms. Detects framework/UI Kit version (React, Angular, iOS, Android, React Native, Flutter) and routes to the appropriate skill for new integrations, upgrades, or migrations from Sendbird/Stream.
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.
Ground truth: routing is
peers.yaml(data); shared rules areRULES.md. This is a THIN classifier — detect + dispatch only. No workflows, credential logic, or component detail here; those live incometchat-onboarding+ the resolved family's skills +RULES.md.
User wants to add CometChat to a project, upgrade an existing one, or migrate one off Sendbird / Stream. Triggers: "add chat", "add cometchat", "add voice/video calling", "upgrade my v6 UI Kit to v7", "add chat to my iOS app", "add chat in Swift", "upgrade my v4 iOS UI Kit to v5".
This applies to EVERY agent and EVERY install mode, whether or not a row above matched.
core skill -> references/docs-map.md and follow it to the docs page. Append .md to any docs URL for the clean Markdown twin.grep node_modules. NEVER read *.d.ts. They expose internal, unsupported and version-drifting surface that is not the public API — code written from them breaks on the next kit release, and often does not work at the version in front of you either.Full text: RULES.md -> "Fetch discipline".
First, before routing: is the CometChat Docs MCP connected? If the CometChat docs tools (search_cometchat_docs, from the cometchat server) are not available, say so in your first reply, before any code is written, with the step to connect it, and ask whether to wait or continue on web docs (RULES.md → Canonical doc channel). Migrations don't ask: say it and continue.
0. Migration OFF Sendbird or Stream (GetStream) → straight to that vendor's skill. No onboarding. Triggers: "migrate my app to CometChat", "migrate / switch / move from Sendbird|Stream|GetStream|Twilio", "replace Sendbird|Stream Chat with CometChat". Run npx @cometchat/skills detect --json: each migrate_from entry names the vendor's skill (cometchat-migrate-from-{sendbird,getstream,twilio}, routed in peers.yaml migrations:); a vendor the user NAMES counts even if detect misses it. That skill runs the whole migration in one prompt (detect → replace → remove what CometChat lacks → verify → final list of removed features) and lands on the <family> core itself. "Migrate to CometChat" with neither vendor detected nor named → say no Sendbird/Stream usage was found, then continue at rule 1/2. Data-only ("migrate only my data from Sendbird|Stream", "import my users/messages into CometChat") → the same vendor skill in its data-only mode (references/data-only.md): the named vendor is enough (no code detection needed), and it changes only scripts/cometchat-migration/ and writes the COMETCHAT_MIGRATION.md report. Twilio has no data-only mode: say so and offer the full migration, and never change app code on a data-only request. A plain "add chat" on a repo where migrate_from is set → onboarding, which names the vendor in its plan and offers the migration.
npx @cometchat/skills detect --json — the authority: existing_cometchat: true means a CometChat UI Kit/SDK dependency is present (@cometchat/chat-uikit-*/chat-sdk-*/calls-sdk-*, com.cometchat:*, cometchat_*, CometChatUIKitSwift). If it can't run, READ the repo for that same dependency. A .cometchat/ folder is NOT evidence — the installer and earlier setups create it. (Account actions go through the CometChat MCP's cometchat_* tools, which don't detect projects; RULES.md → "Account actions go through the CometChat MCP".) Present ⇒ the plan/approve journey has already happened. Treat the ask as a TASK, not an integration: resolve <family> (rule 4), pick the <type> from the map in rule 5, open that skill directly. This is the COMMON case in a live app — "change my avatar", "add a logout button", "add polls", "restyle the bubble", "my custom view isn't showing" — and none of it is onboarding. Routing it through the gate re-asks questions the user already answered; having NO branch for it is worse, because the agent then falls out of the flow and guesses from node_modules (AUDIT-106).cometchat-onboarding FIRST. This is a mandatory gate, not optional: onboarding runs the framework-agnostic DISCOVER → UNDERSTAND → PLAN journey (whole-repo detect, intent questions with recommended defaults, the full plan artifact, the modify/approve gate) BEFORE any framework core. It then hands a scoped build directive down to the framework core. Do NOT route straight to a -core skill for a first-contact add request — onboarding gates it. (Onboarding short-circuits on an already-integrated repo — see its Re-entry section.) Clone of a named app ("build a clone", "make it like ", screenshots of an app to match) → onboarding's clone mode (references/clone-mode.md), even on an integrated repo: the one-line request is complete, so never ask the user to spell out the process.cometchat-<family>-migration (that IS the reconciliation). The version_conflict STOP still applies to add requests; onboarding surfaces it in the plan and reconciles before hand-off.<family> ONCE, from the project — never assume. Every skill file is named cometchat-<family>-<type>. Take <family> from the dir_prefix of the matching row in peers.yaml — the detect probe's framework, else its detect_signals against what you READ (package.json/lockfile, angular.json, settings.gradle(.kts) + app/build.gradle(.kts), pubspec.yaml, *.xcodeproj/*.xcworkspace/Package.swift): React web → react-v7; Angular (angular.json detected) → angular-v5; React Native / Expo → react-native; Android (settings.gradle(.kts) detected) → android-v6 (a calls-sdk-android-only / "calling from scratch" ask → the android-calls row, cometchat-android-v5-calls-sdk); Flutter (pubspec.yaml) → flutter-v6; iOS → ios. Routing a project to another family's skill is a defect — a React Native app sent to a react-v7 skill gets web-only APIs that do not exist on native (no UIKitSettingsBuilder, login takes an object, callbacks are on*Press not on*Click), and the reverse is equally broken. If no row matches the detected framework, say the platform is not in this pack — do NOT substitute the nearest one.cometchat-<family>-core. It pulls in additional SHIPPED skills ONLY as the approved plan names them (progressive disclosure). Route to the <type> below, always under the resolved <family>:
cometchat-<family>-componentscometchat-<family>-placementcometchat-<family>-customizationcometchat-<family>-featurescometchat-<family>-callscometchat-<family>-push (THIN + docs-first — fetches the notifications docs; live delivery is a manual device check)cometchat-<family>-migrationcometchat-<family>-patterns on react-v7 (Vite/Next/CRA/React Router/Astro), angular-v5, flutter-v6. react-native: the split pair cometchat-react-native-expo-patterns (Expo) / cometchat-react-native-bare-patterns (RN CLI/bare) — pick by whether expo is a dependency. iOS and Android have NO patterns skill.cometchat-analytics.cometchat-audit (read-only; routes fixes to the owning skills).cometchat-a11y. localization / i18n / translate the UI / RTL → cometchat-i18n. (Cross-family, installed for every family.)cometchat-security (cross-family: server + access-control model; client login stays in the family core/production). data residency / GDPR / retention / audit logs / eDiscovery → cometchat-compliance. on-prem / self-host / private cloud → cometchat-self-host. moderation / safety / profanity / image moderation → cometchat-moderation. These four are installed for every family (like onboarding).cometchat-<family>-{production,testing,troubleshooting} on every UI family (react-v7, angular-v5, react-native, ios, android-v6, flutter-v6). events → android-v6, flutter-v6.react-native only — cometchat-react-native-sdk (the method→contract fallback map; kit v5 removed the detail/management screens, so SDK calls are on the main road for RN, not an escape hatch).android-v6 only — cohort-split skills (pick cohort from gradle files: kotlin-* = XML Views, compose-* = Jetpack Compose): cometchat-android-v6-{kotlin,compose}-{components,placement,customization}; also builder-settings, extensions. Headless Chat SDK v5 (build-your-own-UI) → cometchat-android-v5-sdk.cometchat-js-v5-sdk (web) · cometchat-react-native-v5-sdk · cometchat-ios-v5-sdk · cometchat-android-v5-calls-sdk · cometchat-flutter-v5-sdk. Not installed? npx @cometchat/skills add --family <js|react-native|ios|android|flutter>-calls adds it alongside the UI Kit skills. The prebuilt call UI stays cometchat-<family>-calls.@angular/core/angular.json matches the angular row in peers.yaml; route to that row's dir_prefix + core and the rest of its family (v5 kit, catalog-verified vs 5.1.0); never tell an Angular user their platform is unsupported.Routing data: peers.yaml. Rules: RULES.md. This file stays small on purpose.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cometchat/cometchat-skills --plugin cometchat-skills98 skills in this plugin
/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'./cometchat-analyticsSee what your chat is doing — pull usage & message metrics via REST, stream real-time events to your data/observability stack via webhooks, monitor client-side errors & the init/login path, and read push/call logs. Cross-family: metrics/webhooks are server-side; client error monitoring wires per family. Triggers: 'chat analytics', 'usage metrics', 'message volume', 'monitor cometchat', 'observability', 'send chat events to datadog/segment/bigquery', 'track delivery', 'error monitoring for chat', 'dashboards for chat'./cometchat-android-v5-calls-sdkAdd voice & video calling to any Android app FROM SCRATCH with the headless CometChat Calls SDK v5 (`com.cometchat:calls-sdk-android:5.0.4`) — no UI Kit. Kotlin: initFromSettings→login→generateToken→joinSession into a RelativeLayout, lifecycle-bound listeners, meet-style session rooms AND 1:1 ringing (Chat SDK v5 signaling + Calls SDK media), call logs, layouts, audio modes, recording, PiP, background service. Triggers: 'add calling from scratch android', 'standalone video call kotlin', 'headless calls sdk android', 'build my own call UI android', 'meeting room join by session id android', 'one-on-one ringing call without uikit android'.Other plugins' skills for the same job