Agent skill

Cometchat React V7 Components

by cometchat in cometchat/cometchat-skills

The React v7 UI Kit component catalog — which drop-in components exist and how to compose/swap them (conversations, messages, users, groups, threads, calling, bubbles).

MITAuto-check passedFrontend & Design

Install Cometchat React V7 Components

skills CLI
$ npx skills add cometchat/cometchat-skills --skill cometchat-react-v7-components -a claude-code

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

GitHub CLI
$ gh skill install cometchat/cometchat-skills cometchat-react-v7-components --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-react-v7-components .claude/skills/cometchat-react-v7-components && 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-react-v7-components
GitHub stars
129
Token cost
~2.4k tokens
SKILL.md length
893 words
Files
1
Skills in repo
97
Repo updated
First seen
Licence
MIT

At a glance

The React v7 UI Kit component catalog — which drop-in components exist and how to compose/swap them (conversations, messages, users, groups, threads, calling, bubbles).

  • Tasks that involve Design systems
  • SKILL.md covers Companion skills (read first), Use this skill when, Prerequisites & install and Component catalog (BAKED…, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cometchat React V7 Components is an agent skill from cometchat/cometchat-skills. The React v7 UI Kit component catalog — which drop-in components exist and how to compose/swap them (conversations, messages, users, groups, threads, calling, bubbles). Triggers: 'what cometchat components are there', 'customize the message list', 'swap the message bubble', 'add a users list'.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: React =18; @cometchat/chat-uikit-react ^7 (7.1.x, verified 7.1.0)

It sits in Frontend & Design, covering Design systems. It works with CometChat and React. 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 Design systems

Example prompts

  • “what cometchat components are there”
  • “customize the message list”
  • “swap the message bubble”
  • “/cometchat-react-v7-components”

Requirements

  • Compatibility (from SKILL.md): React >=18; @cometchat/chat-uikit-react ^7 (7.1.x, verified 7.1.0)

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    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

    React >=18; @cometchat/chat-uikit-react ^7 (7.1.x, verified 7.1.0)

    From compatibility in the SKILL.md frontmatter.

Context cost

Cometchat React V7 Components loads about 2.4k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 893 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

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). 893 words, ~2,447 tokens.

Download SKILL.mdSave it as .claude/skills/cometchat-react-v7-components/SKILL.md (or your agent's skills folder).
name
cometchat-react-v7-components
description
The React v7 UI Kit component catalog — which drop-in components exist and how to compose/swap them (conversations, messages, users, groups, threads, calling, bubbles). Triggers: 'what cometchat components are there', 'customize the message list', 'swap the message bubble', 'add a users list'.
compatibility
React >=18; @cometchat/chat-uikit-react ^7 (7.1.x, verified 7.1.0)
license
MIT
metadata.author
CometChat
metadata.version
1.0.1
metadata.tags
cometchat react components uikit catalog v7

Ground truth: @cometchat/chat-uikit-react@7. Component names below are from the live v7 components docs (see ../cometchat-react-v7-core/references/docs-map.md → /ui-kit/react/components-overview). Status: catalog-verified vs installed 7.1.0 (exports-only web-v7.json). Fetch each component's prop table from its .md twin (../cometchat-react-v7-core/references/docs-map.md) — do NOT bake it; never read .d.ts.

Companion skills (read first)

  • cometchat-react-v7-core — install, credentials, init→login→render, provider. This skill ASSUMES it.

Use this skill when

Choosing, composing, or swapping UI Kit components; "which components exist"; customizing a list/message/bubble.

Prerequisites & install

Covered by core. This skill adds no new package.

Component catalog (BAKED closed list — from live v7 docs; confirm vs web-v7.json)

Conversations & lists: CometChatConversations, CometChatUsers, CometChatGroups, CometChatGroupMembers. Messages: CometChatMessageHeader, CometChatMessageList, CometChatMessageComposer, CometChatMessageBubble, CometChatThreadHeader, CometChatMessageInformation, CometChatReactions, CometChatReactionList. Message bubbles: CometChatTextBubble, CometChatImagesBubble, CometChatVideosBubble, CometChatAudiosBubble, CometChatVoiceNoteBubble, CometChatFilesBubble, CometChatPollBubble, CometChatStickerBubble, CometChatCollaborativeDocumentBubble, CometChatCollaborativeWhiteboardBubble, CometChatCardBubble, CometChatGroupActionBubble, CometChatCallActionBubble, CometChatCallBubble. Calling UI: CometChatCallButtons, CometChatIncomingCall, CometChatOutgoingCall, CometChatOngoingCall, CometChatCallLogs. Search & AI: CometChatSearch, CometChatAIAssistantChat, CometChatSmartReplies, CometChatConversationStarter, CometChatConversationSummary. Moderation / notifications feed: CometChatModerationView, CometChatNotificationFeed, CometChatFlagMessageDialog (end-user report/flag dialog). Interactive/dialogs: CometChatCreatePoll (poll-authoring dialog; pairs with CometChatPollBubble). Base/util: CometChatProvider, CometChatAvatar, CometChatButton, CometChatFullScreenViewer, CometChatConfirmDialog, CometChatContextMenu, CometChatErrorBoundary.

This is the closed list — if a name isn't here (and in web-v7.json), it does not exist; do not use it. Phantoms removed 2026-07-30 (AUDIT-008 — reviewer G0 catalog sweep vs installed @cometchat/chat-uikit-react@7.1.0 .d.ts). These names were in earlier drafts but DO NOT exist in v7 — never emit them: CometChatTypingIndicator (typing renders inside CometChatMessageHeader; CometChatTypingDisplay is a type, not a component), CometChatEmojiKeyboard (emoji is the built-in EMOJI button in CometChatMessageComposer), CometChatMediaRecorder (voice recording is built into CometChatMessageComposer, hideVoiceRecordingButton default false), CometChatListItem (list items are internal item-views of the list components), CometChatToast (no standalone toast component). Note CometChatNotifications is a Chat SDK class (@cometchat/chat-sdk-javascript, push token registration) — NOT a UI Kit component; don't render it.

Swap / compose slots

  • v7 components are compound components: compose behavior via namespace sub-components (e.g. Root, View, EmptyState) and prop-driven slots rather than deep prop sprawl. Fetch the exact composition API + props from the component's .md twin (../cometchat-react-v7-core/references/docs-map.md) before emitting — never the .d.ts.
  • Custom UI goes in a component's view slot, INSIDE it — never as a sibling on top. Stable props + view slots for the 4 drop-ins are baked in ../cometchat-react-v7-core/references/component-props.md (Conversations headerView/searchView, MessageHeader trailingView/auxiliaryButtonView, MessageList headerView/footerView, Composer auxiliaryButtonView/headerView) — use them before hand-rolling or hanging controls outside the component.
  • Prefer configuring the highest-level component (e.g. CometChatConversations) over rebuilding it from base components.
  • Reuse built-in triggers before hand-rolling UI. Map each requested action to an existing prop/callback/slot FIRST; only add custom buttons when none exists. Discovery order: prop table + each prop's "when to use it" note in docs → if undescribed, fetch the component's .md twin (../cometchat-react-v7-core/references/docs-map.md) → then custom. Known wiring points: CometChatMessageHeader onItemClick (open user/group profile on header click) and onSearchOptionClicked (built-in search button, showSearchOption default true); CometChatConversations onSearchBarClicked (conversation search); CometChatMessageList onThreadRepliesClick (thread panel). See AUDIT-006.

Creating a group (host-composed — NO kit component; offer ALL THREE types incl. password)

v7 ships no CometChatCreateGroup component — the create-group form is HOST-BUILT. Build it from the guide-group-chat-setup guide (docs-map "Task guides"), which shows the full form. It MUST offer all THREE group types — Public · Private · Password-protected — not just public/private (AUDIT-081). The Password type REQUIRES a password field; create the group with the Chat SDK (symbols verified vs installed 7.x SDK):

tsx
import { CometChat } from "@cometchat/chat-sdk-javascript";
// type ∈ CometChat.GROUP_TYPE.PUBLIC | .PRIVATE | .PASSWORD   ("public" | "private" | "password")
const group = new CometChat.Group(guid, groupName, CometChat.GROUP_TYPE.PASSWORD, password); // 4th arg = password (REQUIRED for the PASSWORD type)
await CometChat.createGroup(group);

Show the password input ONLY when the Password type is chosen, and require it before submit (public/private need no password). Dropping the Password option (offering only public/private) is a create-group defect — the SDK (Group(guid, name, type, password?), GROUP_TYPE.PASSWORD) and the guide both support it.

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

Banned members — view + unban (SDK fallback; NO kit component or UI-Kit doc)

The group-details contract requires view-banned-members, but v7 ships no banned-members drop-in — CometChatGroupMembers shows only ACTIVE members (it exposes the ban ACTION via hideBanMemberOption, not a banned view), and the UI-Kit guide/component docs don't cover viewing banned users (AUDIT-082). So surface them via the Chat SDK (UI-Kit-first → SDK-fallback, RULES.md §13; symbols verified vs installed 7.x SDK + documented at sdk/javascript/group-kick-ban-members). Add a scope-gated "Banned members" affordance in group details (admins/owners only):

tsx
import { CometChat } from "@cometchat/chat-sdk-javascript";

// FETCH — paginate by calling fetchNext() again on the SAME request object (max limit 100)
const req = new CometChat.BannedMembersRequestBuilder(guid).setLimit(30).build(); // .setSearchKeyword(kw) optional
const banned = await req.fetchNext();          // Promise<CometChat.GroupMember[]>

// UNBAN (admin/owner only), then refresh the list
await CometChat.unbanGroupMember(guid, uid);   // Promise<boolean>

Gate the whole affordance on the logged-in user's group scope (admin/owner) — a plain member shouldn't see it. Render the banned list with an "Unban" action per row (refresh on success). Mirrors the official sample app's "Banned Members" section (the sample_banned_members string). This closes the ban round-trip: ban (in CometChatGroupMembers) → view banned → unban.

Common pitfalls (BAKED)

  • Default-on affordances that need stitching. A drop-in can render a live-looking control BY DEFAULT that no-ops until the host wires a callback + companion panel. When FETCHing props, flag these and either wire or hide them — never let one dead-end. Known cases (v7): CometChatConversations showSearchBar (default true) only client-side-filters loaded names → wire onSearchBarClicked→CometChatSearch or set showSearchBar={false}; CometChatMessageList thread-reply indicator → wire onThreadRepliesClick + thread panel or set hideReplyInThreadOption. See features.json needs_stitching and AUDIT.md.
  • Emitting a contracted component (e.g. CometChatConversations, CometChatGroupMembers) without its FULL contracts.json min_capabilities ships an incomplete/inconsistent screen — include the full minimum every time (a group details screen MUST have view/add/kick/ban/banned/scope).
  • Create-group form offering only Public/Private (AUDIT-081). No kit create-group component exists, so the form is host-built — it MUST include the Password-protected type (with a password field required on submit), not just public/private. See "Creating a group" above.
  • Referencing a component that isn't in the catalog (phantom). Rebuilding a drop-in from base parts when a prop/slot exists. Assuming v6 prop names — v7 changed the composition model; fetch current props.

Verify it works

The component renders and its data populates (list fills, message sends). If it's empty, confirm it's inside CometChatProvider with a logged-in user.

© 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

Just SKILL.md in skills/cometchat-react-v7-components of cometchat/cometchat-skills.

Open the folder on GitHubat commit 911b108

Compare with similar skills

Cometchat React V7 Components 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 React V7 Components compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cometchat React V7 Components this skillcometchat/cometchat-skills129—~2.4kAutomated safety check: PassMIT
Creative Tim UI Blockscreativetimofficial/ui12k—~2.1kAutomated safety check: NotesMIT
Cosscrafter-station/petdex4.2k—~1.4kAutomated safety check: PassMIT
Ss Learnbitjaru/styleseed970—~1.3kAutomated safety check: PassMIT
UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar5.7k1 repos~1.1kAutomated safety check: PassMIT
Design StyleCastor6/tactus3761 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Creative Tim UI Blocks

    creativetimofficial/ui

    Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.

    12k GitHub stars~2.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check: notes
  • Coss

    crafter-station/petdex

    Helps implement coss UI components correctly. An agent skill from crafter-station/petdex.

    4.2k GitHub stars~1.4k tokensUpdated 8 days ago
    Frontend & DesignAuto-check passed
  • Ss Learn

    bitjaru/styleseed

    Capture a human-approved UI design lesson as a privacy-minimized local StyleSeed candidate, review it, and prepare an opt-in share package without transmitting project code, prompts, screenshots, or…

    970 GitHub stars~1.3k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • UI/UX Design System Advisor

    Galaxy-Dawn/claude-scholar

    Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.

    5.7k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Design Style

    Castor6/tactus

    A skill your agent uses whenever the user asks to build, create, design, develop, improve, or style any frontend interface or visual element.

    376 GitHub starsUsed in 1 repo~2.1k tokens
    Frontend & DesignAuto-check passed
  • Building With Lobe UI

    lobehub/lobe-ui

    Build UI with the LobeHub design ecosystem — @lobehub/ui (plus its base-ui, chat, mobile, awesome, brand, mdx, i18n namespaces), @lobehub/icons, @lobehub/charts, @lobehub/fluent-emoji and…

    2.2k GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-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

Works with

Questions about Cometchat React V7 Components

What does Cometchat React V7 Components do?

The React v7 UI Kit component catalog — which drop-in components exist and how to compose/swap them (conversations, messages, users, groups, threads, calling, bubbles). Cometchat React V7 Components is an agent skill from cometchat/cometchat-skills. The React v7 UI Kit component catalog — which drop-in components exist and how to compose/swap them (conversations, messages, users, groups, threads, calling, bubbles).

When should I use Cometchat React V7 Components?

Cometchat React V7 Components fits situations like: tasks that involve Design systems.

How do I install Cometchat React V7 Components in Claude Code?

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

How do I install Cometchat React V7 Components in Codex?

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

Can I use Cometchat React V7 Components 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-react-v7-components -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-react-v7-components, .gemini/skills/cometchat-react-v7-components, .github/skills/cometchat-react-v7-components and .opencode/skills/cometchat-react-v7-components in your project.

What does Cometchat React V7 Components need to run?

SKILL.md names no scripts, command-line tools or credentials: Cometchat React V7 Components is instructions for the agent only. Compatibility (from SKILL.md): React >=18; @cometchat/chat-uikit-react ^7 (7.1.x, verified 7.1.0).

Does Cometchat React V7 Components 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 React V7 Components 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 React V7 Components use?

Cometchat React V7 Components 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 React V7 Components use?

About 2.4k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cometchat React V7 Components?

Skills that share tags, products or a category with Cometchat React V7 Components: Creative Tim UI Blocks (creativetimofficial/ui, 12k stars), Coss (crafter-station/petdex, 4.2k stars), Ss Learn (bitjaru/styleseed, 970 stars) and UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cometchat React V7 Components?

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.