Логотип Cometchat Angular V5 Components

Cometchat Angular V5 Components

Организация
cometchat
cometchat-angular-v5-components

Choose, compose and customize CometChat Angular UI Kit components — the closed component list, real @Input/@Output names, view-slot overrides via ng-template, and the surfaces that have NO kit component and must be host-composed. Triggers: 'which components exist', 'customize the conversation list', 'custom message bubble', 'create a group', 'show banned members', 'swap the list item'.

Add to TypingMind

Обзор

Издательcometchat
Репозиторийcometchat-skills
Название навыкаcometchat-angular-v5-components
Звёзды
109
Форки
2
Файлы в комплекте
2
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 2

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — cometchat. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Cometchat Angular V5 Components в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-angular-v5-components
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cometchat/cometchat-skills.git /tmp/cometchat-skills
mkdir -p .claude/skills
cp -r /tmp/cometchat-skills/skills/cometchat-angular-v5-components .claude/skills/cometchat-angular-v5-components
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Cometchat Angular V5 Components в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Cometchat Angular V5 Components, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Cometchat Angular V5 Components не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Ground truth: the existence oracle is the angular-v5 catalog (references/catalog.md, generated from the installed 5.1.0 kit). Not listed = not importable. Exact inputs/outputs/view slots are FETCHED from each component's .md twin via cometchat-angular-v5-core/references/docs-map.md — every page opens with an AI Integration Quick Reference; read that first. Never answer an input or output from memory or from the type declarations.

Companion skills (read first)

  • cometchat-angular-v5-core — install, credentials, init→login→render, the golden-path surface. This skill ASSUMES it and never restates it.

Use this skill when

Picking which component to use, overriding part of one, or discovering that the thing asked for has no component at all.

Naming — three different strings per component

CometChatConversationsComponent (import) · <cometchat-conversations> (template) · "Conversations" (docs title). The bare CometChatConversations is internal-only and not importable — 109 such names exist. The AI-assistant exports are the sole suffix exception (CometChatAIAssistantChat).

Output names carry NO prefix

Angular outputs are plain: itemClick, select, error, closeClick, selectionChange. There is no cc prefix — that is React's convention. Binding (ccConversationClicked) silently never fires.

⚠️ An output that does not exist fails the SAME silent way — Angular treats an unknown event on a component as a plain DOM listener, so (closeClick) on <cometchat-message-header> compiles clean and never fires. closeClick is real on <cometchat-thread-header> but NOT on the message header (verified vs compiled 5.1.0). Use backClick there.

ComponentOutputs
<cometchat-conversations>itemClick select error searchBarClick contextMenuOpen contextMenuClose scrollToTop scrollToBottom selectionChange
<cometchat-users>itemClick select error empty selectionChange
<cometchat-groups>itemClick select error selectionChange
<cometchat-group-members>itemClick error empty selectionChange
<cometchat-message-list>threadRepliesClick reactionClick reactionListItemClick smartReplyClick conversationStarterClick messagePrivatelyClick replyClick error
<cometchat-message-composer>sendButtonClick textChange attachmentAdded attachmentRemoved mentionSelected closePreview error
<cometchat-message-header>backClick itemClick searchClick voiceCallClick videoCallClick conversationSummaryClick error
<cometchat-thread-header>closeClick backClick
<cometchat-search>backClick conversationClick messageClick searchError

Anything not listed: fetch the component's docs page (cometchat-angular-v5-core/references/docs-map.md). Do not guess an output name.

Component catalog (BAKED closed list)

Full per-component inputs live in the docs — this is the "which one do I reach for" map. Complete list: references/catalog.md.

Lists <cometchat-conversations> · <cometchat-users> · <cometchat-groups> · <cometchat-group-members> Message pane <cometchat-message-header> · <cometchat-message-list> · <cometchat-message-composer> · <cometchat-thread-header> Bubbles text · image · video · audio · file · card · poll · sticker · action · delete · call · collaborative-document · collaborative-whiteboard (all rendered BY the message list — see below) Calls <cometchat-call-buttons> · <cometchat-incoming-call> · <cometchat-outgoing-call> · <cometchat-ongoing-call> · <cometchat-call-logs> Search <cometchat-search> · <cometchat-search-bar> · <cometchat-search-conversations-list> · <cometchat-search-messages-list> AI CometChatAIAssistantChat · <cometchat-smart-replies> · <cometchat-conversation-starter> · <cometchat-conversation-summary> Reactions <cometchat-reactions> · <cometchat-reaction-list> · <cometchat-reaction-info> · <cometchat-emoji-keyboard> Support <cometchat-error-boundary> · <cometchat-notification-feed> · <cometchat-notification-badge> · <cometchat-change-scope> · <cometchat-flag-message-dialog> · <cometchat-media-recorder>

Do NOT hand-roll what the list already renders

Message bubbles, receipts, reaction pickers, typing indicators, attachment previews and the context menu are rendered by <cometchat-message-list> when the corresponding feature is on. Rebuilding them by hand loses realtime updates and every future fix. If an affordance looks broken it is nearly always a missing @Input() or an unsized container, not a missing component. <cometchat-conversations> / -users / -groups / -call-logs / -search / -message-list specifically all rely on an internal height: 100% down to their own scroll region — none sizes itself. Placed in a flex column without flex: 1; min-height: 0 (the .cc-fill class, cometchat-angular-v5-placement/references/core-surface.md), a list doesn't scroll: it grows past its container and gets silently clipped.

Building your OWN chrome? The kit exports the atoms too

The rule above covers what <cometchat-message-list> renders for you. A second case is your own UI — a signed-in user bar, a profile header, a custom row — where the kit still ships the piece you are about to rebuild:

AtomSelectorUse it for
CometChatAvatarComponent<cometchat-avatar>any user/group avatar — [image], [name], [loading]
CometChatListItemComponent<cometchat-list-item>a row with avatar + title + trailing content
CometChatButtonComponent<cometchat-button>an action button that matches kit styling
CometChatDateComponent<cometchat-date>a timestamp with the kit's formatting
CometChatPopoverComponent<cometchat-popover>anchored menus/pickers
html
<!-- ✅ themed, falls back to initials when there is no picture, follows light/dark -->
<cometchat-avatar [image]="user?.getAvatar()" [name]="user?.getName()"></cometchat-avatar>

<!-- ❌ hand-rolled: needs your own fallback URL, ignores the theme, drifts from the kit -->
<img [src]="user?.getAvatar() || 'https://…/astronaut.png'" class="my-avatar" />

A hand-rolled <img> is the common one. It forces you to invent a placeholder, it does not render initials when the user has no picture, and it ignores every avatar token in the theme. Before styling a presentational element yourself, check this table — and remember these are standalone components, so each one you use goes in the consuming component's imports: [].

Customizing part of a component — view slots

Override a region with a <ng-template> bound to a *View input. This is Angular's content projection; it replaces React's render props.

ts
import { Component, ViewChild, TemplateRef } from '@angular/core';
import { CometChatConversationsComponent } from '@cometchat/chat-uikit-angular';

@Component({
  selector: 'app-convo-list',
  standalone: true,
  imports: [CometChatConversationsComponent],
  templateUrl: './convo-list.component.html',
})
export class ConvoListComponent {
  @ViewChild('customItem', { static: true }) customItem!: TemplateRef<unknown>;

  // A trigger must have a handler in the SAME class, or the template fails to compile
  // (TS2339). `(itemClick)` emits a Conversation — discriminate it before binding the
  // subject to [user] or [group] (see cometchat-angular-v5-placement).
  open(conversation: CometChat.Conversation) { /* select the conversation */ }
}
html
<ng-template #customItem let-conversation>
  <div class="my-row">{{ conversation?.getConversationId() }}</div>
</ng-template>

<cometchat-conversations [itemView]="customItem" (itemClick)="open($event)"></cometchat-conversations>

Slots available per component (verified against the kit):

ComponentView slots
conversations · users · groupsheaderView menuView loadingView emptyView errorView itemView leadingView titleView subtitleView trailingView (+ searchView on conversations)
message-headerheaderView itemView leadingView titleView subtitleView trailingView backButtonView auxiliaryButtonView
message-listheaderView footerView emptyView errorView loadingView bubbleFooterView appendView

Override the smallest slot that does the job — replacing itemView when you only wanted a different subtitle loses selection, presence and receipts.

Surfaces with NO kit component (host-composed)

Requested often, and there is nothing to import. Build these yourself against the SDK — see references/host-composed.md.

  • Create a group — no component. Offer all three types: public, private, and password-protected.
  • Banned members — no component; <cometchat-group-members> covers view/kick/ban/scope but the banned LIST comes from the SDK.
  • Login / user picker — no component; app-owned.

Common pitfalls

  1. Component not in imports: [] → renders nothing, silently. Every component, every consuming component.
  2. Guessing an output name (ccItemClicked) → binding never fires and Angular does not warn.
  3. Replacing itemView for a cosmetic tweak → loses built-in selection/presence/receipts.
  4. Mixing [user] and [group] across header/list/composer → one conversation's header over another's messages.
  5. Hand-rolling bubbles → loses realtime updates.

Verify it works

The overridden region renders your template · the rest of the component is unchanged · clicks still fire · realtime updates still arrive · nothing collapsed to zero height.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Cometchat Angular V5 Components?

Choose, compose and customize CometChat Angular UI Kit components — the closed component list, real @Input/@Output names, view-slot overrides via ng-template, and the surfaces that have NO kit component and must be host-composed. Triggers: 'which components exist', 'customize the conversation list', 'custom message bubble', 'create a group', 'show banned members', 'swap the list item'.

Зачем использовать Cometchat Angular V5 Components в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Cometchat Angular V5 Components — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Cometchat Angular V5 Components в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-angular-v5-components. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Cometchat Angular V5 Components?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Cometchat Angular V5 Components?

С любым количеством. В TypingMind вы можете использовать Cometchat Angular V5 Components с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Cometchat Angular V5 Components?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — cometchat. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇