[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MF6YHMP9Z8CWKB1NWJDGDS":3,"skill-same:01M6MF6YHMP9Z8CWKB1NWJDGDS":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6MF6YHMP9Z8CWKB1NWJDGDS","cometchat-angular-v5-customization",null,"Brand and customize the CometChat Angular UI Kit — CSS variable tokens, light\u002Fdark via ThemeService, localization, date\u002Ftime formats, global config, and swapping component regions with ng-template. Triggers: 'change the chat colours', 'match my brand angular', 'dark mode', 'translate the chat', 'change the date format', 'custom avatar in the list'.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-angular-v5-customization\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"cometchat angular v5 customization","cometchat","angular","customization","template","ui","localization","my","dark-mode","list","formats","verified","config","ng","component","change","kit","mode","time","translate","css","2026-11-10 10:12:30",false,"---\nname: cometchat-angular-v5-customization\ndescription: \"Brand and customize the CometChat Angular UI Kit — CSS variable tokens, light\u002Fdark via ThemeService, localization, date\u002Ftime formats, global config, and swapping component regions with ng-template. Triggers: 'change the chat colours', 'match my brand angular', 'dark mode', 'translate the chat', 'change the date format', 'custom avatar in the list'.\"\nlicense: \"MIT\"\ncompatibility: \"@cometchat\u002Fchat-uikit-angular ^5 (5.1.0–5.2.2 verified); Angular 17-21\"\nmetadata:\n  author: \"CometChat\"\n  version: \"1.0.0\"\n  tags: \"cometchat angular customization theming v5 branding dark-mode localization tokens\"\n---\n\n> **Ground truth:** `@cometchat\u002Fchat-uikit-angular@5` (5.1.0–5.2.2 verified). Theme tokens, `ThemeService` and the global config are FETCHED from `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Ftheming.md`, `\u002Fcustomization\u002Fglobal-config.md`, `\u002Fcustomization\u002Flocalization.md`, `\u002Fcustomization\u002Fdate-time-formatting.md` and `\u002Fmessage-bubble-styling.md` — base + paths in `cometchat-angular-v5-core\u002Freferences\u002Fdocs-map.md`. CSS variable names are version-pinned; never invent a token.\n\n## Companion skills (read first)\n- `cometchat-angular-v5-core` — install and `references\u002Ftheming.md` for the token basics. Assumed.\n- `cometchat-angular-v5-components` — view slots, when the change is structural rather than visual.\n\n## Use this skill when\nChanging how the kit **looks or reads**: colours, fonts, dark mode, language, date formats, or replacing a region's markup.\n\n**Cloning a named app, or mixing kit components with your own UI?** Measure the target's colors, type, spacing and radii into ONE token source, theme the kit from it, and style every custom component from the same tokens so kit and custom parts look like one design; host a kit component in your own dialog\u002Fpanel when only its placement differs. Flow: `cometchat-onboarding` → `references\u002Fclone-mode.md` (Design sync, build levels L0–L6).\n\n## Pick the smallest lever\n| Want | Use | Cost |\n| --- | --- | --- |\n| Different colours \u002F spacing | CSS variables | one stylesheet |\n| Light ↔ dark | `ThemeService` | one line |\n| Different language | `CometChatLocalize` | config |\n| Different date format | per-component `*DateTimeFormat` inputs | one input |\n| Different markup in a region | `*View` slot + `ng-template` | a template |\n| Different behaviour | not customization — see `features` or `components` | — |\n\nReach for the first that works. Replacing a whole region to change a colour throws away selection, presence and receipts.\n\n## CSS variables\nEvery visual is a `--cometchat-*` custom property. Override wherever it cascades — usually `styles.css`.\n```css\n:root {\n  --cometchat-primary-color: #6851D6;\n  --cometchat-border-color-default: #DCDCDC;\n  --cometchat-text-color-primary: #141414;\n}\n```\nScope to part of the app by setting them on a wrapper instead of `:root`. Full token list: `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Ftheming.md`.\n\nNever target generated class names with descendant selectors — they change between releases. Never use `!important`; if a token is not applying, the kit stylesheet is not registered (`angular.json` → `styles`) or your rule is not in the cascade path.\n\n## Light \u002F dark — ThemeService does it all\n```ts\nimport { Component, inject } from '@angular\u002Fcore';\nimport { ThemeService } from '@cometchat\u002Fchat-uikit-angular';\n\n@Component({ selector: 'app-root', standalone: true, template: '\u003Crouter-outlet \u002F>' })\nexport class AppComponent {\n  constructor() { inject(ThemeService).initFromPreference(); }\n}\n```\nThat single call respects the OS `prefers-color-scheme`, applies `data-theme` to `\u003Chtml>` via the `DOCUMENT` token (SSR-safe), and keeps its own `matchMedia` listener so the UI follows the OS live.\n\n> ⚠️ **It does NOT persist, despite its docstrings.** Verified against shipped 5.1.0: `initFromPreference()` claims to read `localStorage` first and `setTheme()`\u002F`toggleTheme()` claim to persist, but the class never touches `localStorage` — a manual toggle is lost on reload. If the user needs a toggle that survives reload, add persistence **around** the service (`cometchat-angular-v5-core\u002Freferences\u002Ftheming.md`) rather than replacing it; a second `matchMedia` listener will drift from `currentTheme()`.\n\nToggle: `themeService.toggleTheme()` — do not compute the next value yourself. Set a specific mode: `themeService.setTheme('dark')`. Read: `themeService.currentTheme()` — a signal, so it works directly in templates.\n\n> **Divergence from the docs.** `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Ftheming.md` documents `setTheme()`, `toggleTheme()` and setting `data-theme` by hand, but does **not** mention `initFromPreference()` or following the OS `prefers-color-scheme`. `initFromPreference()` is real and verified against the installed 5.1.0 kit — prefer it over a hand-written `matchMedia` listener. Do not \"correct\" it away because the guide omits it; the omission is a docs gap, not evidence the method is wrong.\n\n> Do **not** hand-roll a `matchMedia('(prefers-color-scheme: dark)')` listener. That is the React recipe; React's kit cannot read the OS. Angular's can, and duplicating it creates state that drifts from `currentTheme()`.\n\n## Localization\n`CometChatLocalize` ships 19 languages. Set the language once at startup; the `TranslatePipe` and `getLocalizedString()` read from it. To override individual strings or add a language, fetch `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Flocalization.md` — the override shape is version-specific and worth reading rather than guessing.\n\n## Date & time formats\nPer-component inputs, not global CSS: `lastMessageDateTimeFormat` (conversations), `messageSentAtDateTimeFormat` (search), `callInitiatedDateTimeFormat` (call logs), `lastActiveAtDateTimeFormat` (message header). Pipes `CalendarDatePipe`, `MessageDatePipe` and `ConversationDatePipe` are exported if you need the same formatting in your own markup.\n\n## Global config\n`COMETCHAT_GLOBAL_CONFIG` is an injection token for app-wide kit defaults. Prefer it over repeating the same input on every component instance. Details: `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Fglobal-config.md`.\n\n## Structural changes\nReplacing markup rather than styling it is a **view slot** — `itemView`, `titleView`, `subtitleView`, `leadingView`, `trailingView`, `headerView`, `emptyView`, `errorView`, `loadingView`. See `cometchat-angular-v5-components`. Override the smallest slot that does the job.\n\n### Avatar and sender name on every message (BAKED — verified vs 5.2.2, same code in 5.1.0 and 5.2.0)\nWhat to check and why: `cometchat-onboarding\u002Freferences\u002Fclone-mode.md` → *Message chrome*. This is the Angular how-to.\n**Kit default:** avatar and sender name on every LEFT-aligned (incoming) message, in 1:1 chats AND groups; your own messages sit on the right with neither. The bubble's rule is `alignment === left` with no group check (`shouldShowLeadingView` \u002F `shouldShowHeaderView` in `CometChatMessageBubbleComponent`); call and action rows are centered and never get them.\nWhen the target shows avatars and names (Slack, Discord, Teams), do BOTH steps yourself, without asking. Together they put your avatar and name on every message, own and others', in 1:1 chats and groups:\n1. **Alignment:** `[messageAlignment]=\"align\"` with `align = MessageListAlignment.left` on `\u003Ccometchat-message-list>`. Everything moves left, so your own messages get the avatar and name too. The enum is numeric (`left = 0`, `standard = 1`); the docs' `[messageAlignment]=\"'left'\"` is a strict-template error (TS2322) and would not match at runtime anyway.\n2. **Per-message slots:** register a `leadingView` (avatar) and `headerView` (name) through `MessageBubbleConfigService` (root singleton; `setGlobalViews` covers every message type). A registered slot renders even on right-aligned bubbles, so this also works if the target keeps your own messages on the right, and it is where the target's own avatar size and name style go:\n```ts\nimport { Component, Input, OnDestroy, OnInit, TemplateRef, ViewChild, inject } from '@angular\u002Fcore';\nimport type { BaseMessage, Group, User } from '@cometchat\u002Fchat-sdk-javascript';\nimport { CometChatAvatarComponent, CometChatMessageListComponent, MessageBubbleConfigService, MessageListAlignment } from '@cometchat\u002Fchat-uikit-angular';\n\n@Component({\n  selector: 'app-channel-messages',\n  standalone: true,\n  imports: [CometChatMessageListComponent, CometChatAvatarComponent],\n  template: `\n    \u003Ccometchat-message-list [user]=\"user\" [group]=\"group\" [messageAlignment]=\"align\" \u002F>\n    \u003Cng-template #senderAvatar let-m>\n      \u003Ccometchat-avatar [image]=\"m.getSender()?.getAvatar() ?? ''\" [name]=\"m.getSender()?.getName() ?? ''\" \u002F>\n    \u003C\u002Fng-template>\n    \u003Cng-template #senderName let-m>\u003Cspan class=\"cc-sender-name\">{{ m.getSender()?.getName() }}\u003C\u002Fspan>\u003C\u002Fng-template>\n  `,\n})\nexport class ChannelMessagesComponent implements OnInit, OnDestroy {\n  @Input() user?: User;\n  @Input() group?: Group;\n  readonly align = MessageListAlignment.left;\n  @ViewChild('senderAvatar', { static: true }) senderAvatar!: TemplateRef\u003C{ $implicit: BaseMessage }>;\n  @ViewChild('senderName', { static: true }) senderName!: TemplateRef\u003C{ $implicit: BaseMessage }>;\n  private readonly bubbles = inject(MessageBubbleConfigService);\n  \u002F\u002F static: true -> the templates exist in ngOnInit, before the list renders its first bubble.\n  ngOnInit(): void { this.bubbles.setGlobalViews({ leadingView: this.senderAvatar, headerView: this.senderName }); }\n  \u002F\u002F Root singleton: clear on destroy, or every other message list keeps a dead template.\n  ngOnDestroy(): void { this.bubbles.setGlobalViews({ leadingView: null, headerView: null }); }\n}\n```\n  The slot context is `{ $implicit: message }`. Style `.cc-sender-name` from your token source (e.g. `font: 600 15px var(--cometchat-font-family)`). Multi-attachment batches show the avatar and name once by themselves (the list passes `hideAvatar` \u002F `hideSenderName` to the follow-on bubbles, which also hides your slot). `hideAvatar` on the list, or `hideAvatar` in `COMETCHAT_GLOBAL_CONFIG`, still wins over the slot; check both are unset. Service API: `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcomponents\u002Fcometchat-message-list.md` (MessageBubbleConfigService section).\n- **Once per run** isn't reachable: the slot only receives its own message, not the previous one (L4).\n- **Verified:** names and logic read from the shipped 5.2.2 fesm2022 + `.d.ts` (5.1.0 and 5.2.0 identical); snippet compiles with `ng build` `strictTemplates` + strict TS. Not yet run in a browser: open a 1:1 chat and a group and check your own and others' messages.\n\n## Common pitfalls\n1. **Hand-rolling OS theme detection** — `ThemeService.initFromPreference()` already does it.\n2. **Replacing `itemView` for a colour change** — loses selection, presence and receipts.\n3. **Styling generated class names** — breaks on the next kit release.\n4. **`!important` wars** — the stylesheet is not registered, or the rule is out of cascade.\n5. **Two theme sources** — `ThemeService` plus your own `data-theme` writer; they drift.\n\n## Verify it works\nBrand colours apply in both themes · dark mode survives a reload ONLY if you persisted the choice yourself (the kit does not — see the warning above); without that, a reload falls back to the OS setting · the OS theme is respected on first load · localized strings render · overridden regions keep click, presence and receipts working.\n\n## Explain what you built (REQUIRED close)\nTell the developer what changed, naming the files: what you themed — which tokens changed and whether light\u002Fdark follows the OS. Flag anything dev-only as dev-only, and say what you did **not** touch — this is additive.\n\n**Then offer these THREE options as a SELECTABLE choice and WAIT for the pick — never auto-continue (`RULES.md` §19):**\n1. **Add another feature** → a feature from `features.angular-v5.json`, or deeper structural customization via view slots. **Never offer an `auto` entry** (reactions, mentions, receipts, typing, media) — those are core in v5 and already on.\n2. **Add a feature** (search, calls, polls, AI) → `cometchat-angular-v5-features`.\n3. **Test it manually** → do nothing further; hand back so the user runs it.\n","> **Ground truth:** `@cometchat\u002Fchat-uikit-angular@5` (5.1.0–5.2.2 verified). Theme tokens, `ThemeService` and the global config are FETCHED from `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Ftheming.md`, `\u002Fcustomization\u002Fglobal-config.md`, `\u002Fcustomization\u002Flocalization.md`, `\u002Fcustomization\u002Fdate-time-formatting.md` and `\u002Fmessage-bubble-styling.md` — base + paths in `cometchat-angular-v5-core\u002Freferences\u002Fdocs-map.md`. CSS variable names are version-pinned; never invent a token.\n\n## Companion skills (read first)\n- `cometchat-angular-v5-core` — install and `references\u002Ftheming.md` for the token basics. Assumed.\n- `cometchat-angular-v5-components` — view slots, when the change is structural rather than visual.\n\n## Use this skill when\nChanging how the kit **looks or reads**: colours, fonts, dark mode, language, date formats, or replacing a region's markup.\n\n**Cloning a named app, or mixing kit components with your own UI?** Measure the target's colors, type, spacing and radii into ONE token source, theme the kit from it, and style every custom component from the same tokens so kit and custom parts look like one design; host a kit component in your own dialog\u002Fpanel when only its placement differs. Flow: `cometchat-onboarding` → `references\u002Fclone-mode.md` (Design sync, build levels L0–L6).\n\n## Pick the smallest lever\n| Want | Use | Cost |\n| --- | --- | --- |\n| Different colours \u002F spacing | CSS variables | one stylesheet |\n| Light ↔ dark | `ThemeService` | one line |\n| Different language | `CometChatLocalize` | config |\n| Different date format | per-component `*DateTimeFormat` inputs | one input |\n| Different markup in a region | `*View` slot + `ng-template` | a template |\n| Different behaviour | not customization — see `features` or `components` | — |\n\nReach for the first that works. Replacing a whole region to change a colour throws away selection, presence and receipts.\n\n## CSS variables\nEvery visual is a `--cometchat-*` custom property. Override wherever it cascades — usually `styles.css`.\n```css\n:root {\n  --cometchat-primary-color: #6851D6;\n  --cometchat-border-color-default: #DCDCDC;\n  --cometchat-text-color-primary: #141414;\n}\n```\nScope to part of the app by setting them on a wrapper instead of `:root`. Full token list: `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Ftheming.md`.\n\nNever target generated class names with descendant selectors — they change between releases. Never use `!important`; if a token is not applying, the kit stylesheet is not registered (`angular.json` → `styles`) or your rule is not in the cascade path.\n\n## Light \u002F dark — ThemeService does it all\n```ts\nimport { Component, inject } from '@angular\u002Fcore';\nimport { ThemeService } from '@cometchat\u002Fchat-uikit-angular';\n\n@Component({ selector: 'app-root', standalone: true, template: '\u003Crouter-outlet \u002F>' })\nexport class AppComponent {\n  constructor() { inject(ThemeService).initFromPreference(); }\n}\n```\nThat single call respects the OS `prefers-color-scheme`, applies `data-theme` to `\u003Chtml>` via the `DOCUMENT` token (SSR-safe), and keeps its own `matchMedia` listener so the UI follows the OS live.\n\n> ⚠️ **It does NOT persist, despite its docstrings.** Verified against shipped 5.1.0: `initFromPreference()` claims to read `localStorage` first and `setTheme()`\u002F`toggleTheme()` claim to persist, but the class never touches `localStorage` — a manual toggle is lost on reload. If the user needs a toggle that survives reload, add persistence **around** the service (`cometchat-angular-v5-core\u002Freferences\u002Ftheming.md`) rather than replacing it; a second `matchMedia` listener will drift from `currentTheme()`.\n\nToggle: `themeService.toggleTheme()` — do not compute the next value yourself. Set a specific mode: `themeService.setTheme('dark')`. Read: `themeService.currentTheme()` — a signal, so it works directly in templates.\n\n> **Divergence from the docs.** `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Ftheming.md` documents `setTheme()`, `toggleTheme()` and setting `data-theme` by hand, but does **not** mention `initFromPreference()` or following the OS `prefers-color-scheme`. `initFromPreference()` is real and verified against the installed 5.1.0 kit — prefer it over a hand-written `matchMedia` listener. Do not \"correct\" it away because the guide omits it; the omission is a docs gap, not evidence the method is wrong.\n\n> Do **not** hand-roll a `matchMedia('(prefers-color-scheme: dark)')` listener. That is the React recipe; React's kit cannot read the OS. Angular's can, and duplicating it creates state that drifts from `currentTheme()`.\n\n## Localization\n`CometChatLocalize` ships 19 languages. Set the language once at startup; the `TranslatePipe` and `getLocalizedString()` read from it. To override individual strings or add a language, fetch `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Flocalization.md` — the override shape is version-specific and worth reading rather than guessing.\n\n## Date & time formats\nPer-component inputs, not global CSS: `lastMessageDateTimeFormat` (conversations), `messageSentAtDateTimeFormat` (search), `callInitiatedDateTimeFormat` (call logs), `lastActiveAtDateTimeFormat` (message header). Pipes `CalendarDatePipe`, `MessageDatePipe` and `ConversationDatePipe` are exported if you need the same formatting in your own markup.\n\n## Global config\n`COMETCHAT_GLOBAL_CONFIG` is an injection token for app-wide kit defaults. Prefer it over repeating the same input on every component instance. Details: `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcustomization\u002Fglobal-config.md`.\n\n## Structural changes\nReplacing markup rather than styling it is a **view slot** — `itemView`, `titleView`, `subtitleView`, `leadingView`, `trailingView`, `headerView`, `emptyView`, `errorView`, `loadingView`. See `cometchat-angular-v5-components`. Override the smallest slot that does the job.\n\n### Avatar and sender name on every message (BAKED — verified vs 5.2.2, same code in 5.1.0 and 5.2.0)\nWhat to check and why: `cometchat-onboarding\u002Freferences\u002Fclone-mode.md` → *Message chrome*. This is the Angular how-to.\n**Kit default:** avatar and sender name on every LEFT-aligned (incoming) message, in 1:1 chats AND groups; your own messages sit on the right with neither. The bubble's rule is `alignment === left` with no group check (`shouldShowLeadingView` \u002F `shouldShowHeaderView` in `CometChatMessageBubbleComponent`); call and action rows are centered and never get them.\nWhen the target shows avatars and names (Slack, Discord, Teams), do BOTH steps yourself, without asking. Together they put your avatar and name on every message, own and others', in 1:1 chats and groups:\n1. **Alignment:** `[messageAlignment]=\"align\"` with `align = MessageListAlignment.left` on `\u003Ccometchat-message-list>`. Everything moves left, so your own messages get the avatar and name too. The enum is numeric (`left = 0`, `standard = 1`); the docs' `[messageAlignment]=\"'left'\"` is a strict-template error (TS2322) and would not match at runtime anyway.\n2. **Per-message slots:** register a `leadingView` (avatar) and `headerView` (name) through `MessageBubbleConfigService` (root singleton; `setGlobalViews` covers every message type). A registered slot renders even on right-aligned bubbles, so this also works if the target keeps your own messages on the right, and it is where the target's own avatar size and name style go:\n```ts\nimport { Component, Input, OnDestroy, OnInit, TemplateRef, ViewChild, inject } from '@angular\u002Fcore';\nimport type { BaseMessage, Group, User } from '@cometchat\u002Fchat-sdk-javascript';\nimport { CometChatAvatarComponent, CometChatMessageListComponent, MessageBubbleConfigService, MessageListAlignment } from '@cometchat\u002Fchat-uikit-angular';\n\n@Component({\n  selector: 'app-channel-messages',\n  standalone: true,\n  imports: [CometChatMessageListComponent, CometChatAvatarComponent],\n  template: `\n    \u003Ccometchat-message-list [user]=\"user\" [group]=\"group\" [messageAlignment]=\"align\" \u002F>\n    \u003Cng-template #senderAvatar let-m>\n      \u003Ccometchat-avatar [image]=\"m.getSender()?.getAvatar() ?? ''\" [name]=\"m.getSender()?.getName() ?? ''\" \u002F>\n    \u003C\u002Fng-template>\n    \u003Cng-template #senderName let-m>\u003Cspan class=\"cc-sender-name\">{{ m.getSender()?.getName() }}\u003C\u002Fspan>\u003C\u002Fng-template>\n  `,\n})\nexport class ChannelMessagesComponent implements OnInit, OnDestroy {\n  @Input() user?: User;\n  @Input() group?: Group;\n  readonly align = MessageListAlignment.left;\n  @ViewChild('senderAvatar', { static: true }) senderAvatar!: TemplateRef\u003C{ $implicit: BaseMessage }>;\n  @ViewChild('senderName', { static: true }) senderName!: TemplateRef\u003C{ $implicit: BaseMessage }>;\n  private readonly bubbles = inject(MessageBubbleConfigService);\n  \u002F\u002F static: true -> the templates exist in ngOnInit, before the list renders its first bubble.\n  ngOnInit(): void { this.bubbles.setGlobalViews({ leadingView: this.senderAvatar, headerView: this.senderName }); }\n  \u002F\u002F Root singleton: clear on destroy, or every other message list keeps a dead template.\n  ngOnDestroy(): void { this.bubbles.setGlobalViews({ leadingView: null, headerView: null }); }\n}\n```\n  The slot context is `{ $implicit: message }`. Style `.cc-sender-name` from your token source (e.g. `font: 600 15px var(--cometchat-font-family)`). Multi-attachment batches show the avatar and name once by themselves (the list passes `hideAvatar` \u002F `hideSenderName` to the follow-on bubbles, which also hides your slot). `hideAvatar` on the list, or `hideAvatar` in `COMETCHAT_GLOBAL_CONFIG`, still wins over the slot; check both are unset. Service API: `{DOCS_BASE}\u002Fui-kit\u002Fangular\u002Fcomponents\u002Fcometchat-message-list.md` (MessageBubbleConfigService section).\n- **Once per run** isn't reachable: the slot only receives its own message, not the previous one (L4).\n- **Verified:** names and logic read from the shipped 5.2.2 fesm2022 + `.d.ts` (5.1.0 and 5.2.0 identical); snippet compiles with `ng build` `strictTemplates` + strict TS. Not yet run in a browser: open a 1:1 chat and a group and check your own and others' messages.\n\n## Common pitfalls\n1. **Hand-rolling OS theme detection** — `ThemeService.initFromPreference()` already does it.\n2. **Replacing `itemView` for a colour change** — loses selection, presence and receipts.\n3. **Styling generated class names** — breaks on the next kit release.\n4. **`!important` wars** — the stylesheet is not registered, or the rule is out of cascade.\n5. **Two theme sources** — `ThemeService` plus your own `data-theme` writer; they drift.\n\n## Verify it works\nBrand colours apply in both themes · dark mode survives a reload ONLY if you persisted the choice yourself (the kit does not — see the warning above); without that, a reload falls back to the OS setting · the OS theme is respected on first load · localized strings render · overridden regions keep click, presence and receipts working.\n\n## Explain what you built (REQUIRED close)\nTell the developer what changed, naming the files: what you themed — which tokens changed and whether light\u002Fdark follows the OS. Flag anything dev-only as dev-only, and say what you did **not** touch — this is additive.\n\n**Then offer these THREE options as a SELECTABLE choice and WAIT for the pick — never auto-continue (`RULES.md` §19):**\n1. **Add another feature** → a feature from `features.angular-v5.json`, or deeper structural customization via view slots. **Never offer an `auto` entry** (reactions, mentions, receipts, typing, media) — those are core in v5 and already on.\n2. **Add a feature** (search, calls, polls, AI) → `cometchat-angular-v5-features`.\n3. **Test it manually** → do nothing further; hand back so the user runs it.\n",{"name":5,"license":15,"metadata":45,"description":7,"compatibility":49},{"tags":46,"author":47,"version":48},"cometchat angular customization theming v5 branding dark-mode localization tokens","CometChat","1.0.0","@cometchat\u002Fchat-uikit-angular ^5 (5.1.0–5.2.2 verified); Angular 17-21","main","cebc3dce495d7eb80d3b1d5841f877a4a92e162d","plugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-angular-v5-customization",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-angular-v5-customization",{"tool":66,"command":67},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-angular-v5-customization",{"tool":69,"command":70},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-angular-v5-customization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-angular-v5-customization\u002FSKILL.md",true,[],[75,84,92,100,108,116],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":83},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":83},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":83},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":83},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":83},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":83},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]