Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计提醒

syncfusion-angular-ai-assistviewsyncfusion Angular AI assistview 命令行

Agent Skill

syncfusion-angular-ai-assistview 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,164

周安装

48

GitHub Stars

公开资料未说明

下载量

380
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-angular-ai-assistview(syncfusion Angular AI assistview 命令行)
来源仓库:https://github.com/syncfusion/angular-ui-components-skills
仓库路径:skills/syncfusion-angular-ai-assistview
安装命令:
npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-ai-assistview
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-ai-assistview

简介

创建 AI 辅助视图组件,集成智能交互与内容推荐功能。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中构建对话式界面时使用。
  • 通过 GitHub 仓库安装,使用 npx 命令添加技能并指定路径。
  • 需评估 AI 模型调用成本与延迟,优化用户体验与资源消耗平衡。
  • 涉及用户输入处理时应做好过滤与脱敏,保障隐私安全。

SKILL.md

Syncfusion Angular AI AssistView Component

Component Overview

The Syncfusion AI AssistView is a powerful Angular component that provides a ready-to-use interface for building conversational AI applications.

Key Capabilities:

  • Conversation Management - Manage prompt-response pairs with history, persistence, and markdown rendering
  • AI Service Integration - Connect to OpenAI, Gemini, Ollama, Lite-LLM, and MCP providers with streaming support
  • Speech Features - Built-in speech-to-text with 11 configurable properties and 4 events
  • Toolbar System - Four toolbar types (header, prompt, response, footer) with custom actions and tag directives
  • View Management - Multiple views with programmatic activeView control and dynamic switching
  • Events & Interactions - Typed event arguments (PromptRequestEventArgs, PromptChangedEventArgs, StopRespondingEventArgs)
  • File Attachments - Support for file uploads with type/size restrictions and attachment click events
  • Templates - Customize prompts, responses, suggestions, and banners with flexible templates
  • Methods - Programmatically add/update responses, execute prompts, and control component behavior
  • Globalization - Full RTL support and localization for 12+ languages with locale-based formatting
  • Customizable UI - Height, width, CSS classes, HTML attributes, and theme customization

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and dependency setup
  • Angular environment configuration
  • Basic component initialization
  • CSS imports and theme configuration
  • First working example

Core Features & Conversation Management

📄 Read: references/assist-view-basics.md

  • Setting prompt text and placeholders
  • Managing prompt-response collections
  • Markdown response rendering
  • Configuring prompt suggestions
  • Customizing user and assistant avatars
  • UI controls (clear button, scroll-to-bottom)
  • Component configuration (height, width, showHeader, cssClass, htmlAttributes)
  • State persistence with enablePersistence
  • Globalization and localization (locale property with 12+ languages)
  • RTL support with enableRtl for Arabic, Hebrew, Persian, Urdu

Appearance & Styling

📄 Read: references/appearance-customization.md

  • Setting component width and height
  • Applying custom CSS classes
  • Theme customization
  • Responsive design patterns

Multiple Views & Custom Content

📄 Read: references/custom-views.md

  • Adding custom view models
  • View types (Assist and Custom)
  • View configuration and naming
  • Managing multiple views within one component
  • Programmatic view switching with activeView property
  • Dynamic view navigation patterns
  • View history and breadcrumb navigation
  • Workflow-based view switching
  • Conditional view display based on user roles

Programmatic Control & Methods

📄 Read: references/methods-and-actions.md

  • Adding prompt responses (string and object
  • Complete event arguments reference section
  • PromptRequestEventArgs with 6 properties (prompt, attachedFiles, promptSuggestions, cancel, etc.)
  • PromptChangedEventArgs with 5 properties (value, previousValue, element, event)
  • StopRespondingEventArgs for canceling responses
  • AttachmentClickEventArgs with FileInfo interface
  • Production-ready examples with all event types formats)
  • Executing prompts dynamically
  • Response handling patterns
  • Programmatic interaction

Complete documentation for all 4 toolbar types

  • Header Toolbar (toolbarSettings) - Global actions and navigation
  • Prompt Toolbar (promptToolbarSettings) - Actions on user prompts
  • Response Toolbar (responseToolbarSettings) - Actions on AI responses
  • Footer Toolbar (footerToolbarSettings) - Input area customization
  • ToolbarItemModel interface with 10 properties
  • ToolbarItemClickedEventArgs with dataIndex handling
  • Tag directive approach: <e-toolbarsettings>, <e-toolbaritem>
  • Property binding approach for dynamic toolbar items
  • Common patterns, best practices, and troubleshootingest, promptChanged)
  • File upload events (beforeAttachmentUpload, attachmentUploadSuccess)
  • Event handling patterns and best practices

File Attachments

📄 Read: references/file-attachments.md

  • File attachment configuration
  • Upload handling and validation
  • File size and type restrictions
  • Attachment display and management

Toolbar Configuration

📄 Read: references/toolbar-items.md

  • Toolbar customization
  • Built-in speech-to-text with speechToTextSettings (recommended approach)
  • SpeechToTextSettingsModel with 11 configurable properties
  • ButtonSettingsModel and TooltipSettingsModel interfaces
  • 4 speech events: onStart, onStop, transcriptChanged, onError
  • Event arguments: StartListeningEventArgs, StopListeningEventArgs, TranscriptChangedEventArgs, ErrorEventArgs
  • Language support with 10+ language codes (en-US, es-ES, fr-FR, de-DE, ja-JP, etc.)
  • Interim results handling with allowInterimResults
  • Custom Web Speech API implementation (alternative approach)
  • Text-to-speech setup and configuration
  • Browser compatibility and error handling

Templates & Custom Rendering

📄 Read: references/templates.md

  • Template system overview
  • Prompt templates
  • Response templates
  • Custom template creation

AI Service Integration

📄 Read: references/ai-integrations.md

  • Azure OpenAI integration setup
  • Gemini integration
  • Lite-LLM integration
  • Model Context Protocol (MCP) integration
  • Ollama integration
  • Security best practices and API management

Speech Features

📄 Read: references/speech-features.md

  • Speech-to-text setup and configuration
  • Text-to-speech setup and configuration
  • Audio handling
  • Browser compatibility considerations

Quick Start Example

Here's a minimal working example to get started:

import { Component } from '@angular/core';
import { AIAssistViewModule } from '@syncfusion/ej2-angular-interactive-chat';

@Component({
  imports: [AIAssistViewModule],
  standalone: true,
  selector: 'app-root',
  template: `
    <div ejs-aiassistview
      id='aiAssistView'
      [promptSuggestions]="suggestions"
      (promptRequest)="onPromptRequest($event)">
    </div>
  `,
  styles: [`
    :host ::ng-deep #aiAssistView {
      height: 100vh;
    }
  `]
})
export class AppComponent {
  suggestions = [
    'What is Angular?',
    'How to create components?',
    'Explain dependency injection'
  ];

  onPromptRequest(args: any) {
    // Handle prompt and provide response
    setTimeout(() => {
      const response = 'This is a sample response from your AI service.';
      // Add response using component method
    }, 1000);
  }
}

Common Patterns

Pattern 1: Basic Conversation Flow

  1. Initialize component with suggestions
  2. User enters prompt
  3. promptRequest event fires
  4. Call your AI service
  5. Use addPromptResponse() to display result
  6. Conversation history maintained automatically

Pattern 2: AI Service Integration with Streaming

  1. Enable streaming with [enableStreaming]="true"
  2. Configure AI provider credentials (OpenAI, Gemini, etc.)
  3. In promptRequest event, call provider API with streaming
  4. Use ReadableStream for chunked responses
  5. Handle stopRespondingClick event for cancellation
  6. Update UI with addPromptResponse() incrementally

Pattern 3: Custom View Management with activeView

  1. Define multiple view types (Assist, Custom)
  2. Use [activeView]="currentIndex" to control display
  3. Switch between views programmatically based on user action
  4. Track view history for back/forward navigation
  5. Each view can have different configuration
  6. Maintain separate state per view

Pattern 4: Complete Toolbar Configuration

  1. Configure header toolbar for global actions (new chat, export, settings)
  2. Set up prompt toolbar for user prompt actions (edit, copy, retry)
  3. Add response toolbar for AI response actions (copy, regenerate, like/dislike)
  4. Configure footer toolbar for input actions (formatting, attachments)
  5. Use tag directive or property binding approach
  6. Handle itemClicked events with dataIndex for context

Pattern 5: Speech-Enabled Interface

  1. Configure speechToTextSettings with language and options
  2. Enable allowInterimResults for real-time transcription
  3. Handle speech events: onStart, onStop, transcriptChanged, onError
  4. Automatically submit recognized text as prompts
  5. Provide visual feedback during listening state

Pattern 6: Event-Driven Actions with Typed Arguments

  1. Use PromptRequestEventArgs to access prompt, attachedFiles, and cancel flag
  2. Use PromptChangedEventArgs for real-time input validation
  3. Handle StopRespondingEventArgs to cancel long-running requests
  4. Use beforeAttachmentUpload for file validation 5

Common Patterns

Pattern 1: Basic Conversation Flowstreaming responses, multi-language support, and toolbar actions

  1. Code Assistant: Create coding helpers with syntax highlighting, code regeneration, and like/dislike feedback
  2. Voice-Enabled Assistant: Implement hands-free interfaces with built-in speech-to-text in 10+ languages
  3. Content Writer Assistant: Implement writing tools with grammar checking, real-time suggestions, and response streaming
  4. Data Analysis Tool: Create interfaces with multiple views (query, results, visualization) and view switching
  5. Learning Platform: Build educational assistants with RTL support for Arabic/Hebrew learners and persistent conversation history
  6. Multi-language Support: Implement interfaces with locale configuration for 12+ languages and RTL text direction
  7. Accessibility Assistant: Provide reading aid with speech features, keyboard navigation, and ARIA attributes
  8. Workflow Applications: Build step-by-step wizards with programmatic view control and conditional navigation
  9. Real-time AI Services: Integrate streaming AI providers with abort functionality and visual streaming indicatorser input | | promptSuggestions | string[] | [] | Provide quick starting prompts | | prompts | object[] | [] | Initialize conversation history | | showClearButton | boolean | false | Show button to clear input | | enableScrollToBottom | boolean | true | Show scroll-to-bottom indicator |

Layout & Appearance

PropertyTypeDefaultWhen to Use
widthstring \number'100%'Set container width
heightstring \number'100%'Set container height
cssClassstring''Apply custom CSS styling and themes
showHeaderbooleantrueControl header visibility
htmlAttributesobject{}Add custom HTML attributes (aria-*, data-*, etc.)

Streaming & Features

PropertyTypeDefaultWhen to Use
enableStreamingbooleanfalseEnable real-time streaming responses
speechToTextSettingsSpeechToTextSettingsModelnullConfigure built-in speech recognition
activeViewnumber0Programmatically switch between views

Globalization

PropertyTypeDefaultWhen to Use
localestring'en-US'Set language/culture (en-US, es-ES, fr-FR, de-DE, ja-JP, ar-SA, etc.)
enableRtlbooleanfalseEnable right-to-left text direction (Arabic, Hebrew, Persian, Urdu)
enablePersistencebooleanfalseSave component state between page reloads

Toolbar Configuration

PropertyTypeDefaultWhen to Use
toolbarSettingsToolbarSettingsModelnullConfigure header toolbar (global actions)
promptToolbarSettingsPromptToolbarSettingsModelnullConfigure prompt toolbar (edit, copy, retry)
responseToolbarSettingsResponseToolbarSettingsModelnullConfigure response toolbar (copy, regenerate, like/dislike)
footerToolbarSettingsFooterToolbarSettingsModelnullConfigure footer toolbar (formatting, attachments)

Pattern 3: Custom View Management

  1. Define multiple view types (Assist, Custom)
  2. Switch between views based on user action
  3. Each view can have different configuration
  4. Maintain separate state per view

Pattern 4: Event-Driven Actions

  1. Listen to promptChanged for input validation
  2. Handle beforeAttachmentUpload for file validation
  3. Use attachmentUploadSuccess for post-upload actions
  4. Leverage created event for initialization

Key Properties

PropertyTypeDefaultWhen to Use
promptstring''Pre-fill prompt text
promptPlaceholderstring'Type prompt for assistance...'Guide user input
promptSuggestionsstring[][]Provide quick starting prompts
promptsobject[][]Initialize conversation history
widthstring'100%'Set container width
heightstring'100%'Set container height
cssClassstring''Apply custom CSS styling
showClearButtonbooleanfalseShow button to clear input
enableScrollToBottombooleantrueShow scroll-to-bottom indicator

Common Use Cases

  1. Customer Support Chatbot: Build customer service interfaces with knowledge base integration
  2. Code Assistant: Create coding helpers with AI that can review and suggest code
  3. Content Writer Assistant: Implement writing tools with grammar and style suggestions
  4. Data Analysis Tool: Create interfaces for users to query and analyze data through natural language
  5. Learning Platform: Build educational assistants that answer student questions
  6. Internal Knowledge Bot: Create enterprise assistants for company documentation and FAQs
  7. Multi-language Support: Implement translation and localization features
  8. Accessibility Assistant: Provide reading aid or instruction assistance

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.97%
按下载量换算125

Claude

27.93%
按下载量换算106

Cursor

19.65%
按下载量换算75

Gemini CLI

10.41%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills