[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73NM13SJ0VKKC1F6RWKH2RW":3,"skill-same:01M73NM13SJ0VKKC1F6RWKH2RW":54},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M73NM13SJ0VKKC1F6RWKH2RW","angular-cdk-integration",null,"Create components using Angular CDK utilities including drag-drop, overlay, portal, scrolling, a11y, clipboard, and platform detection for ng-events project","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fangular-cdk-integration\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: angular-cdk-integration\ndescription: Create components using Angular CDK utilities including drag-drop, overlay, portal, scrolling, a11y, clipboard, and platform detection for ng-events project\nlicense: MIT\n---\n\n# Angular CDK Integration Skill\n\nThis skill guides the creation of components and features using Angular CDK (@angular\u002Fcdk) utilities in the ng-events construction site management system.\n\n## When to Use This Skill\n\n**Triggers**: \"Angular CDK\", \"drag and drop\", \"overlay\", \"portal\", \"virtual scroll\", \"accessibility\", \"clipboard\", \"platform detection\", \"CDK utilities\"\n\nUse this skill when:\n- Implementing drag-and-drop functionality\n- Creating overlays, tooltips, or popovers\n- Building virtual scrolling lists\n- Managing focus and accessibility\n- Detecting platform\u002Fbrowser capabilities\n- Working with clipboard operations\n- Managing scrolling behavior\n\n## Core CDK Modules\n\n### 1. Drag and Drop (@angular\u002Fcdk\u002Fdrag-drop)\n\n**Purpose**: Create draggable elements and drop zones\n\n```typescript\nimport { Component } from '@angular\u002Fcore';\nimport { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular\u002Fcdk\u002Fdrag-drop';\nimport { CommonModule } from '@angular\u002Fcommon';\nimport { CdkDropList, CdkDrag } from '@angular\u002Fcdk\u002Fdrag-drop';\n\n@Component({\n  selector: 'app-task-board',\n  standalone: true,\n  imports: [CommonModule, CdkDropList, CdkDrag],\n  template: `\n    \u003Cdiv class=\"task-board\">\n      \u003Cdiv class=\"column\" cdkDropList #todoList=\"cdkDropList\"\n           [cdkDropListData]=\"todo\"\n           [cdkDropListConnectedTo]=\"[inProgressList, doneList]\"\n           (cdkDropListDropped)=\"drop($event)\">\n        \u003Ch3>To Do\u003C\u002Fh3>\n        @for (task of todo; track task.id) {\n          \u003Cdiv cdkDrag class=\"task-card\">\n            {{ task.title }}\n            \u003Cdiv *cdkDragPlaceholder class=\"drag-placeholder\">\u003C\u002Fdiv>\n          \u003C\u002Fdiv>\n        }\n      \u003C\u002Fdiv>\n      \n      \u003Cdiv class=\"column\" cdkDropList #inProgressList=\"cdkDropList\"\n           [cdkDropListData]=\"inProgress\"\n           [cdkDropListConnectedTo]=\"[todoList, doneList]\"\n           (cdkDropListDropped)=\"drop($event)\">\n        \u003Ch3>In Progress\u003C\u002Fh3>\n        @for (task of inProgress; track task.id) {\n          \u003Cdiv cdkDrag class=\"task-card\">{{ task.title }}\u003C\u002Fdiv>\n        }\n      \u003C\u002Fdiv>\n      \n      \u003Cdiv class=\"column\" cdkDropList #doneList=\"cdkDropList\"\n           [cdkDropListData]=\"done\"\n           [cdkDropListConnectedTo]=\"[todoList, inProgressList]\"\n           (cdkDropListDropped)=\"drop($event)\">\n        \u003Ch3>Done\u003C\u002Fh3>\n        @for (task of done; track task.id) {\n          \u003Cdiv cdkDrag class=\"task-card\">{{ task.title }}\u003C\u002Fdiv>\n        }\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  `,\n  styles: [`\n    .task-board {\n      display: flex;\n      gap: 20px;\n    }\n    \n    .column {\n      flex: 1;\n      min-height: 400px;\n      background: #f5f5f5;\n      padding: 16px;\n      border-radius: 4px;\n    }\n    \n    .task-card {\n      background: white;\n      padding: 12px;\n      margin-bottom: 8px;\n      border-radius: 4px;\n      cursor: move;\n    }\n    \n    .task-card:active {\n      box-shadow: 0 5px 5px -3px rgba(0,0,0,.2);\n    }\n    \n    .drag-placeholder {\n      background: #ccc;\n      border: dotted 2px #999;\n      height: 40px;\n      transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n    }\n  `]\n})\nexport class TaskBoardComponent {\n  todo = [\n    { id: '1', title: 'Task 1' },\n    { id: '2', title: 'Task 2' }\n  ];\n  \n  inProgress = [\n    { id: '3', title: 'Task 3' }\n  ];\n  \n  done = [\n    { id: '4', title: 'Task 4' }\n  ];\n  \n  drop(event: CdkDragDrop\u003CTask[]>) {\n    if (event.previousContainer === event.container) {\n      moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);\n    } else {\n      transferArrayItem(\n        event.previousContainer.data,\n        event.container.data,\n        event.previousIndex,\n        event.currentIndex\n      );\n    }\n  }\n}\n```\n\n### 2. Overlay (@angular\u002Fcdk\u002Foverlay)\n\n**Purpose**: Create floating panels and popups\n\n```typescript\nimport { Component, inject } from '@angular\u002Fcore';\nimport { Overlay, OverlayRef } from '@angular\u002Fcdk\u002Foverlay';\nimport { ComponentPortal } from '@angular\u002Fcdk\u002Fportal';\n\n@Component({\n  selector: 'app-menu-trigger',\n  standalone: true,\n  template: `\n    \u003Cbutton (click)=\"openMenu()\">Open Menu\u003C\u002Fbutton>\n  `\n})\nexport class MenuTriggerComponent {\n  private overlay = inject(Overlay);\n  private overlayRef: OverlayRef | null = null;\n  \n  openMenu(): void {\n    if (this.overlayRef) {\n      this.overlayRef.dispose();\n      this.overlayRef = null;\n      return;\n    }\n    \n    const positionStrategy = this.overlay\n      .position()\n      .flexibleConnectedTo(this.elementRef)\n      .withPositions([\n        {\n          originX: 'start',\n          originY: 'bottom',\n          overlayX: 'start',\n          overlayY: 'top'\n        }\n      ]);\n    \n    this.overlayRef = this.overlay.create({\n      positionStrategy,\n      scrollStrategy: this.overlay.scrollStrategies.reposition(),\n      hasBackdrop: true,\n      backdropClass: 'cdk-overlay-transparent-backdrop'\n    });\n    \n    const menuPortal = new ComponentPortal(MenuComponent);\n    this.overlayRef.attach(menuPortal);\n    \n    \u002F\u002F Close on backdrop click\n    this.overlayRef.backdropClick().subscribe(() => {\n      this.overlayRef?.dispose();\n      this.overlayRef = null;\n    });\n  }\n}\n```\n\n### 3. Virtual Scrolling (@angular\u002Fcdk\u002Fscrolling)\n\n**Purpose**: Efficiently render large lists\n\n```typescript\nimport { Component, signal } from '@angular\u002Fcore';\nimport { ScrollingModule } from '@angular\u002Fcdk\u002Fscrolling';\nimport { CommonModule } from '@angular\u002Fcommon';\n\n@Component({\n  selector: 'app-task-list-virtual',\n  standalone: true,\n  imports: [CommonModule, ScrollingModule],\n  template: `\n    \u003Ccdk-virtual-scroll-viewport itemSize=\"50\" class=\"viewport\">\n      \u003Cdiv *cdkVirtualFor=\"let task of tasks()\" class=\"task-item\">\n        \u003Ch4>{{ task.title }}\u003C\u002Fh4>\n        \u003Cp>{{ task.description }}\u003C\u002Fp>\n      \u003C\u002Fdiv>\n    \u003C\u002Fcdk-virtual-scroll-viewport>\n  `,\n  styles: [`\n    .viewport {\n      height: 400px;\n      width: 100%;\n      border: 1px solid #ccc;\n    }\n    \n    .task-item {\n      height: 50px;\n      padding: 10px;\n      border-bottom: 1px solid #eee;\n    }\n  `]\n})\nexport class TaskListVirtualComponent {\n  tasks = signal(Array.from({ length: 10000 }, (_, i) => ({\n    id: `task-${i}`,\n    title: `Task ${i}`,\n    description: `Description for task ${i}`\n  })));\n}\n```\n\n### 4. Clipboard (@angular\u002Fcdk\u002Fclipboard)\n\n**Purpose**: Copy text to clipboard\n\n```typescript\nimport { Component, inject } from '@angular\u002Fcore';\nimport { Clipboard, ClipboardModule } from '@angular\u002Fcdk\u002Fclipboard';\n\n@Component({\n  selector: 'app-share-link',\n  standalone: true,\n  imports: [ClipboardModule],\n  template: `\n    \u003Cdiv class=\"share-container\">\n      \u003Cinput [value]=\"shareLink\" readonly #linkInput \u002F>\n      \u003Cbutton \n        [cdkCopyToClipboard]=\"shareLink\"\n        (cdkCopyToClipboardCopied)=\"onCopied($event)\">\n        Copy Link\n      \u003C\u002Fbutton>\n      @if (copied) {\n        \u003Cspan class=\"success\">Copied!\u003C\u002Fspan>\n      }\n    \u003C\u002Fdiv>\n  `\n})\nexport class ShareLinkComponent {\n  private clipboard = inject(Clipboard);\n  shareLink = 'https:\u002F\u002Fng-events.com\u002Fblueprints\u002F123';\n  copied = false;\n  \n  onCopied(success: boolean): void {\n    if (success) {\n      this.copied = true;\n      setTimeout(() => this.copied = false, 2000);\n    }\n  }\n}\n```\n\n### 5. Platform Detection (@angular\u002Fcdk\u002Fplatform)\n\n**Purpose**: Detect browser and platform capabilities\n\n```typescript\nimport { Component, inject, OnInit } from '@angular\u002Fcore';\nimport { Platform } from '@angular\u002Fcdk\u002Fplatform';\n\n@Component({\n  selector: 'app-platform-aware',\n  standalone: true,\n  template: `\n    \u003Cdiv class=\"platform-info\">\n      \u003Ch3>Platform Information\u003C\u002Fh3>\n      \u003Cul>\n        \u003Cli>Browser: {{ browser }}\u003C\u002Fli>\n        \u003Cli>Mobile: {{ isMobile }}\u003C\u002Fli>\n        \u003Cli>iOS: {{ isIOS }}\u003C\u002Fli>\n        \u003Cli>Android: {{ isAndroid }}\u003C\u002Fli>\n      \u003C\u002Ful>\n    \u003C\u002Fdiv>\n  `\n})\nexport class PlatformAwareComponent implements OnInit {\n  private platform = inject(Platform);\n  \n  browser = '';\n  isMobile = false;\n  isIOS = false;\n  isAndroid = false;\n  \n  ngOnInit(): void {\n    this.isMobile = this.platform.IOS || this.platform.ANDROID;\n    this.isIOS = this.platform.IOS;\n    this.isAndroid = this.platform.ANDROID;\n    \n    if (this.platform.FIREFOX) this.browser = 'Firefox';\n    else if (this.platform.EDGE) this.browser = 'Edge';\n    else if (this.platform.SAFARI) this.browser = 'Safari';\n    else if (this.platform.WEBKIT) this.browser = 'WebKit';\n    else this.browser = 'Unknown';\n  }\n}\n```\n\n## Integration Checklist\n\nWhen using Angular CDK:\n- [ ] Import specific CDK modules (not full @angular\u002Fcdk)\n- [ ] Use standalone components with CDK directives\n- [ ] Implement proper cleanup (subscriptions, overlays)\n- [ ] Test accessibility with screen readers\n- [ ] Handle mobile\u002Ftouch interactions\n- [ ] Consider performance (virtual scrolling for lists >100 items)\n- [ ] Integrate with Blueprint multi-tenancy when needed\n- [ ] Follow three-layer architecture (CDK in UI layer only)\n\n## Best Practices\n\n### DO ✅\n- Use CDK for complex UI interactions\n- Leverage virtual scrolling for large datasets\n- Use overlay service for tooltips\u002Fmenus\n- Detect platform for feature support\n- Clean up overlays and portals on destroy\n\n### DON'T ❌\n- Use CDK in services or repositories (UI layer only)\n- Create overlays without disposal logic\n- Skip accessibility considerations\n- Ignore mobile touch events\n\n## References\n\n- [Angular CDK Documentation](https:\u002F\u002Fmaterial.angular.io\u002Fcdk\u002Fcategories)\n- [Drag and Drop Guide](https:\u002F\u002Fmaterial.angular.io\u002Fcdk\u002Fdrag-drop\u002Foverview)\n- [Virtual Scrolling Guide](https:\u002F\u002Fmaterial.angular.io\u002Fcdk\u002Fscrolling\u002Foverview)\n\n---\n\n**Version**: 1.0.0  \n**Compatible with**: @angular\u002Fcdk 20.x, Angular 20.3.x  \n**Last Updated**: 2025-12-25\n","# Angular CDK Integration Skill\n\nThis skill guides the creation of components and features using Angular CDK (@angular\u002Fcdk) utilities in the ng-events construction site management system.\n\n## When to Use This Skill\n\n**Triggers**: \"Angular CDK\", \"drag and drop\", \"overlay\", \"portal\", \"virtual scroll\", \"accessibility\", \"clipboard\", \"platform detection\", \"CDK utilities\"\n\nUse this skill when:\n- Implementing drag-and-drop functionality\n- Creating overlays, tooltips, or popovers\n- Building virtual scrolling lists\n- Managing focus and accessibility\n- Detecting platform\u002Fbrowser capabilities\n- Working with clipboard operations\n- Managing scrolling behavior\n\n## Core CDK Modules\n\n### 1. Drag and Drop (@angular\u002Fcdk\u002Fdrag-drop)\n\n**Purpose**: Create draggable elements and drop zones\n\n```typescript\nimport { Component } from '@angular\u002Fcore';\nimport { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular\u002Fcdk\u002Fdrag-drop';\nimport { CommonModule } from '@angular\u002Fcommon';\nimport { CdkDropList, CdkDrag } from '@angular\u002Fcdk\u002Fdrag-drop';\n\n@Component({\n  selector: 'app-task-board',\n  standalone: true,\n  imports: [CommonModule, CdkDropList, CdkDrag],\n  template: `\n    \u003Cdiv class=\"task-board\">\n      \u003Cdiv class=\"column\" cdkDropList #todoList=\"cdkDropList\"\n           [cdkDropListData]=\"todo\"\n           [cdkDropListConnectedTo]=\"[inProgressList, doneList]\"\n           (cdkDropListDropped)=\"drop($event)\">\n        \u003Ch3>To Do\u003C\u002Fh3>\n        @for (task of todo; track task.id) {\n          \u003Cdiv cdkDrag class=\"task-card\">\n            {{ task.title }}\n            \u003Cdiv *cdkDragPlaceholder class=\"drag-placeholder\">\u003C\u002Fdiv>\n          \u003C\u002Fdiv>\n        }\n      \u003C\u002Fdiv>\n      \n      \u003Cdiv class=\"column\" cdkDropList #inProgressList=\"cdkDropList\"\n           [cdkDropListData]=\"inProgress\"\n           [cdkDropListConnectedTo]=\"[todoList, doneList]\"\n           (cdkDropListDropped)=\"drop($event)\">\n        \u003Ch3>In Progress\u003C\u002Fh3>\n        @for (task of inProgress; track task.id) {\n          \u003Cdiv cdkDrag class=\"task-card\">{{ task.title }}\u003C\u002Fdiv>\n        }\n      \u003C\u002Fdiv>\n      \n      \u003Cdiv class=\"column\" cdkDropList #doneList=\"cdkDropList\"\n           [cdkDropListData]=\"done\"\n           [cdkDropListConnectedTo]=\"[todoList, inProgressList]\"\n           (cdkDropListDropped)=\"drop($event)\">\n        \u003Ch3>Done\u003C\u002Fh3>\n        @for (task of done; track task.id) {\n          \u003Cdiv cdkDrag class=\"task-card\">{{ task.title }}\u003C\u002Fdiv>\n        }\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  `,\n  styles: [`\n    .task-board {\n      display: flex;\n      gap: 20px;\n    }\n    \n    .column {\n      flex: 1;\n      min-height: 400px;\n      background: #f5f5f5;\n      padding: 16px;\n      border-radius: 4px;\n    }\n    \n    .task-card {\n      background: white;\n      padding: 12px;\n      margin-bottom: 8px;\n      border-radius: 4px;\n      cursor: move;\n    }\n    \n    .task-card:active {\n      box-shadow: 0 5px 5px -3px rgba(0,0,0,.2);\n    }\n    \n    .drag-placeholder {\n      background: #ccc;\n      border: dotted 2px #999;\n      height: 40px;\n      transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n    }\n  `]\n})\nexport class TaskBoardComponent {\n  todo = [\n    { id: '1', title: 'Task 1' },\n    { id: '2', title: 'Task 2' }\n  ];\n  \n  inProgress = [\n    { id: '3', title: 'Task 3' }\n  ];\n  \n  done = [\n    { id: '4', title: 'Task 4' }\n  ];\n  \n  drop(event: CdkDragDrop\u003CTask[]>) {\n    if (event.previousContainer === event.container) {\n      moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);\n    } else {\n      transferArrayItem(\n        event.previousContainer.data,\n        event.container.data,\n        event.previousIndex,\n        event.currentIndex\n      );\n    }\n  }\n}\n```\n\n### 2. Overlay (@angular\u002Fcdk\u002Foverlay)\n\n**Purpose**: Create floating panels and popups\n\n```typescript\nimport { Component, inject } from '@angular\u002Fcore';\nimport { Overlay, OverlayRef } from '@angular\u002Fcdk\u002Foverlay';\nimport { ComponentPortal } from '@angular\u002Fcdk\u002Fportal';\n\n@Component({\n  selector: 'app-menu-trigger',\n  standalone: true,\n  template: `\n    \u003Cbutton (click)=\"openMenu()\">Open Menu\u003C\u002Fbutton>\n  `\n})\nexport class MenuTriggerComponent {\n  private overlay = inject(Overlay);\n  private overlayRef: OverlayRef | null = null;\n  \n  openMenu(): void {\n    if (this.overlayRef) {\n      this.overlayRef.dispose();\n      this.overlayRef = null;\n      return;\n    }\n    \n    const positionStrategy = this.overlay\n      .position()\n      .flexibleConnectedTo(this.elementRef)\n      .withPositions([\n        {\n          originX: 'start',\n          originY: 'bottom',\n          overlayX: 'start',\n          overlayY: 'top'\n        }\n      ]);\n    \n    this.overlayRef = this.overlay.create({\n      positionStrategy,\n      scrollStrategy: this.overlay.scrollStrategies.reposition(),\n      hasBackdrop: true,\n      backdropClass: 'cdk-overlay-transparent-backdrop'\n    });\n    \n    const menuPortal = new ComponentPortal(MenuComponent);\n    this.overlayRef.attach(menuPortal);\n    \n    \u002F\u002F Close on backdrop click\n    this.overlayRef.backdropClick().subscribe(() => {\n      this.overlayRef?.dispose();\n      this.overlayRef = null;\n    });\n  }\n}\n```\n\n### 3. Virtual Scrolling (@angular\u002Fcdk\u002Fscrolling)\n\n**Purpose**: Efficiently render large lists\n\n```typescript\nimport { Component, signal } from '@angular\u002Fcore';\nimport { ScrollingModule } from '@angular\u002Fcdk\u002Fscrolling';\nimport { CommonModule } from '@angular\u002Fcommon';\n\n@Component({\n  selector: 'app-task-list-virtual',\n  standalone: true,\n  imports: [CommonModule, ScrollingModule],\n  template: `\n    \u003Ccdk-virtual-scroll-viewport itemSize=\"50\" class=\"viewport\">\n      \u003Cdiv *cdkVirtualFor=\"let task of tasks()\" class=\"task-item\">\n        \u003Ch4>{{ task.title }}\u003C\u002Fh4>\n        \u003Cp>{{ task.description }}\u003C\u002Fp>\n      \u003C\u002Fdiv>\n    \u003C\u002Fcdk-virtual-scroll-viewport>\n  `,\n  styles: [`\n    .viewport {\n      height: 400px;\n      width: 100%;\n      border: 1px solid #ccc;\n    }\n    \n    .task-item {\n      height: 50px;\n      padding: 10px;\n      border-bottom: 1px solid #eee;\n    }\n  `]\n})\nexport class TaskListVirtualComponent {\n  tasks = signal(Array.from({ length: 10000 }, (_, i) => ({\n    id: `task-${i}`,\n    title: `Task ${i}`,\n    description: `Description for task ${i}`\n  })));\n}\n```\n\n### 4. Clipboard (@angular\u002Fcdk\u002Fclipboard)\n\n**Purpose**: Copy text to clipboard\n\n```typescript\nimport { Component, inject } from '@angular\u002Fcore';\nimport { Clipboard, ClipboardModule } from '@angular\u002Fcdk\u002Fclipboard';\n\n@Component({\n  selector: 'app-share-link',\n  standalone: true,\n  imports: [ClipboardModule],\n  template: `\n    \u003Cdiv class=\"share-container\">\n      \u003Cinput [value]=\"shareLink\" readonly #linkInput \u002F>\n      \u003Cbutton \n        [cdkCopyToClipboard]=\"shareLink\"\n        (cdkCopyToClipboardCopied)=\"onCopied($event)\">\n        Copy Link\n      \u003C\u002Fbutton>\n      @if (copied) {\n        \u003Cspan class=\"success\">Copied!\u003C\u002Fspan>\n      }\n    \u003C\u002Fdiv>\n  `\n})\nexport class ShareLinkComponent {\n  private clipboard = inject(Clipboard);\n  shareLink = 'https:\u002F\u002Fng-events.com\u002Fblueprints\u002F123';\n  copied = false;\n  \n  onCopied(success: boolean): void {\n    if (success) {\n      this.copied = true;\n      setTimeout(() => this.copied = false, 2000);\n    }\n  }\n}\n```\n\n### 5. Platform Detection (@angular\u002Fcdk\u002Fplatform)\n\n**Purpose**: Detect browser and platform capabilities\n\n```typescript\nimport { Component, inject, OnInit } from '@angular\u002Fcore';\nimport { Platform } from '@angular\u002Fcdk\u002Fplatform';\n\n@Component({\n  selector: 'app-platform-aware',\n  standalone: true,\n  template: `\n    \u003Cdiv class=\"platform-info\">\n      \u003Ch3>Platform Information\u003C\u002Fh3>\n      \u003Cul>\n        \u003Cli>Browser: {{ browser }}\u003C\u002Fli>\n        \u003Cli>Mobile: {{ isMobile }}\u003C\u002Fli>\n        \u003Cli>iOS: {{ isIOS }}\u003C\u002Fli>\n        \u003Cli>Android: {{ isAndroid }}\u003C\u002Fli>\n      \u003C\u002Ful>\n    \u003C\u002Fdiv>\n  `\n})\nexport class PlatformAwareComponent implements OnInit {\n  private platform = inject(Platform);\n  \n  browser = '';\n  isMobile = false;\n  isIOS = false;\n  isAndroid = false;\n  \n  ngOnInit(): void {\n    this.isMobile = this.platform.IOS || this.platform.ANDROID;\n    this.isIOS = this.platform.IOS;\n    this.isAndroid = this.platform.ANDROID;\n    \n    if (this.platform.FIREFOX) this.browser = 'Firefox';\n    else if (this.platform.EDGE) this.browser = 'Edge';\n    else if (this.platform.SAFARI) this.browser = 'Safari';\n    else if (this.platform.WEBKIT) this.browser = 'WebKit';\n    else this.browser = 'Unknown';\n  }\n}\n```\n\n## Integration Checklist\n\nWhen using Angular CDK:\n- [ ] Import specific CDK modules (not full @angular\u002Fcdk)\n- [ ] Use standalone components with CDK directives\n- [ ] Implement proper cleanup (subscriptions, overlays)\n- [ ] Test accessibility with screen readers\n- [ ] Handle mobile\u002Ftouch interactions\n- [ ] Consider performance (virtual scrolling for lists >100 items)\n- [ ] Integrate with Blueprint multi-tenancy when needed\n- [ ] Follow three-layer architecture (CDK in UI layer only)\n\n## Best Practices\n\n### DO ✅\n- Use CDK for complex UI interactions\n- Leverage virtual scrolling for large datasets\n- Use overlay service for tooltips\u002Fmenus\n- Detect platform for feature support\n- Clean up overlays and portals on destroy\n\n### DON'T ❌\n- Use CDK in services or repositories (UI layer only)\n- Create overlays without disposal logic\n- Skip accessibility considerations\n- Ignore mobile touch events\n\n## References\n\n- [Angular CDK Documentation](https:\u002F\u002Fmaterial.angular.io\u002Fcdk\u002Fcategories)\n- [Drag and Drop Guide](https:\u002F\u002Fmaterial.angular.io\u002Fcdk\u002Fdrag-drop\u002Foverview)\n- [Virtual Scrolling Guide](https:\u002F\u002Fmaterial.angular.io\u002Fcdk\u002Fscrolling\u002Foverview)\n\n---\n\n**Version**: 1.0.0  \n**Compatible with**: @angular\u002Fcdk 20.x, Angular 20.3.x  \n**Last Updated**: 2025-12-25\n",{"name":5,"license":15,"description":7},"master","63f17866001c5ca854bf2fa0b678ce277133de5b","skills\u002Fmarketplace\u002Fangular-cdk-integration",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill angular-cdk-integration",{"tool":40,"command":41},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill angular-cdk-integration",{"tool":43,"command":44},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill angular-cdk-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fangular-cdk-integration\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"skill-report.json","REFERENCE","参考文档",30369,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fangular-cdk-integration\u002Fskill-report.json",[55,63,70,77,84,91],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":62},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":62},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":62},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"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":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":62},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":62},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]