cometchat-core
Ground truth: the installed
@cometchat/chat-uikit-react@^6+@cometchat/chat-sdk-javascript@^4package types (node_modules/@cometchat/chat-uikit-react) +docs/ui-kit/react. Official docs: https://www.cometchat.com/docs/ui-kit/react/overview · Docs MCP:claude mcp add --transport http cometchat-docs https://www.cometchat.com/docs/mcp(or fetch the URL directly on agents without MCP). Verify any non-obvious symbol against the installed package types before relying on it.
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.
When to use
- Any React-family integration: Vite + React, Next.js (App or Pages Router), React Router v6/v7, Astro with React islands.
- BEFORE loading any framework-specific patterns skill (
cometchat-react-patterns,cometchat-nextjs-patterns, etc.) — those layer on top of this. - When the user is asking about CometChat init, login, env vars, CSS, provider pattern, SSR safety, or production auth.