cometchat-core
Installation
SKILL.md
Purpose
This is the foundational skill for every CometChat React UI Kit v6 integration. It teaches Claude HOW CometChat works -- initialization, login, CSS, environment variables, SSR safety, and the provider pattern -- so Claude can write project-appropriate code instead of relying on templates.
Read this skill first, before any framework or placement skill.
1. Initialization
CometChat must be initialized exactly once before any UI component renders. Initialization is asynchronous and must complete fully before mounting any CometChat* component.
The UIKitSettingsBuilder
import { CometChatUIKit, UIKitSettingsBuilder } from "@cometchat/chat-uikit-react";