cometchat-angular-v5-patterns
Installation
SKILL.md
Ground truth: this skill is Angular PROJECT-SHAPE glue — CLI vs Nx, standalone vs NgModule,
environment.ts, SSR, lazy routes. CometChat API surface belongs tocometchat-angular-v5-core; fetch any symbol viacometchat-angular-v5-core/references/docs-map.md. Where the Angular UI Kit docs genuinely do not cover a shape (SSR / Angular Universal), this file says so explicitly and marks the guidance as the pack's own — absence from the guide is never silently presented as documented.
Companion skills (read first)
cometchat-angular-v5-core— install, credentials,init→login→render. Assumed.cometchat-angular-v5-placement— routing a chat page.
Use this skill when
The blocker is the project shape, not CometChat: a monorepo, NgModules, SSR, or where config lives.
Detect the shape first
| Signal | Shape | Deltas |
|---|---|---|
nx.json present |
Nx workspace | env files, project-level styles, path aliases |
angular.json + src/main.ts |
Angular CLI | the default; core's recipe applies as-is |
app.module.ts present |
NgModule app | components go in imports: of the module |
server.ts / @angular/ssr |
SSR / Universal | browser-only guards, see below |