Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-react-ai-assistview(syncfusion React AI assistview 前端)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

syncfusion-react-ai-assistview 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 2,780。

总安装 1,905周安装 81GitHub Stars 1下载 667核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构。使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。涉及页面改动时应配合本地预览和构建检查确认视觉效果。

syncfusion-react-ai-assistview 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-react-ai-assistview

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/react-ui-components-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-react-ai-assistview 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-react-ai-assistview 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-react-ai-assistview 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

syncfusion-react-ai-assistview 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-react-ai-assistview 用的人多吗?

公开数据是累计安装 1,905 次,近一周安装 81 次,下载 667 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-react-ai-assistview 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
syncfusion-react-ai-assistview

syncfusion React AI assistview 前端 · 本页

1,9051接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Syncfusion React AI AssistView Component

Component Overview

The Syncfusion React AI AssistView component is a comprehensive interactive chat component designed for building AI-powered conversational interfaces. It provides:

Core Capabilities

  • Prompt-Response Management: Manage conversation history with automatic data collection
  • Real-time Streaming: Stream AI responses character-by-character for live typing effects
  • Template System: Customize every UI element (banners, prompt items, responses, suggestions, footer)
  • Multi-View Support: Switch between conversation assist view and custom content views
  • Voice Integration: Built-in Speech-to-Text (voice input) and Text-to-Speech (voice output)
  • File Attachments: Upload and include files with prompts
  • Advanced Toolbars: Configurable toolbars for header, footer, responses, and prompts
  • AI Service Integration: Direct integration with OpenAI, Azure OpenAI, and other AI services
  • Event-Driven Architecture: Hooks for prompt submission, changes, and component lifecycle

Key Features

  • Markdown Support: Render AI responses as formatted HTML via markdown parsing
  • Conversation History: Automatic tracking of all prompts and responses
  • Suggestion System: Display helpful prompt suggestions to guide users
  • Avatar Customization: Customize user and AI icons/avatars
  • Scroll Management: Auto-scroll or manual scroll-to-bottom button
  • Clear Functionality: Clear current prompt or entire conversation
  • Responsive Design: Works on desktop and mobile with responsive layouts

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Install @syncfusion/ej2-react-interactive-chat package
  • Add CSS theme imports
  • Create basic component initialization
  • Render component to DOM
  • First working functional component example

Configuration Essentials

📄 Read: references/configuration-essentials.md

  • Set initial prompt text and placeholders
  • Configure prompt suggestions and suggestion headers
  • Customize user and AI avatar icons
  • Control clear button visibility
  • Enable/disable scroll-to-bottom functionality
  • Manage component instance via refs
  • Set component dimensions (height and width)
  • Apply custom CSS classes for styling
  • Control header visibility
  • Configure globalization (locale, RTL support)
  • Enable state persistence across sessions

Conversation Management

📄 Read: references/conversation-management.md

  • Initialize with pre-configured conversation data
  • Add responses (string or object format)
  • Access and manage conversation history
  • Work with PromptModel data structure
  • Render markdown in responses
  • Persist and restore conversations

Events and Interactions

📄 Read: references/events-and-interactions.md

  • Handle component lifecycle (created event)
  • Respond to prompt submissions (promptRequest event)
  • Track prompt text changes (promptChanged event)
  • Access detailed event arguments (PromptChangedEventArgs, PromptRequestEventArgs)
  • Cancel prompt submissions programmatically
  • Handle stop responding events for long operations
  • Modify suggestions and toolbar items dynamically
  • Implement event-driven workflows
  • Integrate with AI services via event handlers

Toolbar Customization

📄 Read: references/toolbar-customization.md

  • Configure four toolbar types (header, footer, response, prompt)
  • Add custom toolbar items
  • Control toolbar positioning (Inline vs Bottom)
  • Customize toolbar icons
  • Handle item click events
  • Configure all ToolbarItemModel properties (align, cssClass, disabled, tabIndex, template, type, visible)
  • Create custom toolbar item templates
  • Control item visibility and enabled state dynamically
  • Set tab order for keyboard navigation
  • Manage attachment button behavior

File Attachments

📄 Read: references/file-attachments.md

  • Enable file attachment support
  • Configure upload endpoints (saveUrl, removeUrl)
  • Restrict file types (allowedFileType)
  • Set file size limits (maxFileSize)
  • Limit number of attachments (maximumCount)
  • Access attached files via attachedFiles array (FileInfo interface)
  • Handle attachment lifecycle events (beforeAttachmentUpload, attachmentUploadSuccess, attachmentUploadFailure, attachmentRemoved)
  • Validate files before upload
  • Initialize prompts with pre-attached files
  • Handle server-side file processing

Custom Views

📄 Read: references/custom-views.md

  • Create multiple views (Assist and Custom types)
  • Set view names and icons
  • Define view-specific templates
  • Configure activeView property to set initial view
  • Switch between views programmatically
  • Persist active view across sessions
  • Conditionally set initial view based on user role or state
  • Display side-by-side content panels
  • Use cases for multi-view layouts

Templating System

📄 Read: references/templating-system.md

  • Customize banner templates (welcome content)
  • Create prompt item templates (user message display)
  • Design response item templates (AI response display)
  • Build suggestion item templates
  • Create custom footer templates
  • Access template context data

AI Service Integration

📄 Read: references/ai-integration-setup.md

  • Integrate with Azure OpenAI, OpenAI, Gemini, Claude
  • Configure API credentials and authentication
  • Handle real-time prompt processing
  • Stream responses for live typing effects
  • Parse markdown responses with marked library
  • Error handling and rate limiting
  • Security considerations for API keys

Speech Capabilities

📄 Read: references/speech-capabilities.md

  • Enable Speech-to-Text (voice input)
  • Configure speech recognition language
  • Handle interim transcripts while speaking
  • Implement Text-to-Speech (voice output)
  • Customize button labels and icons
  • Handle speech events (start, stop, transcript, error)
  • Browser compatibility notes

Methods and APIs

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

  • Use addPromptResponse() method
  • Execute prompts dynamically with executePrompt()
  • Scroll to bottom programmatically
  • Access component instance via refs
  • Manage component state
  • Common patterns and gotchas

Quick Start Example

import { AIAssistViewComponent, PromptRequestEventArgs } from '@syncfusion/ej2-react-interactive-chat';
import * as React from 'react';
import * as ReactDOM from "react-dom";

function App() {
    const assistInstance = React.useRef<AIAssistViewComponent>(null);

    const onPromptRequest = (args: PromptRequestEventArgs) => {
        setTimeout(() => {
            let defaultResponse = 'For real-time AI processing, connect to your preferred service (OpenAI, Azure OpenAI, etc.).';
            assistInstance.current.addPromptResponse(defaultResponse);
        }, 1000);
    };

    return (
        <AIAssistViewComponent
            id="aiAssistView"
            ref={assistInstance}
            promptRequest={onPromptRequest}
            prompt={'Welcome! How can I help?'}
            promptSuggestions={['Ask about features', 'Get started guide']}
        />
    );
}

ReactDOM.render(<App />, document.getElementById('container'));

Common Patterns

Pattern 1: Basic Chat with Suggestions

Create a simple conversational interface with predefined suggestions:

  • Enable prompt suggestions to guide user interactions
  • Handle promptRequest event with simple responses
  • Display conversation history automatically

Pattern 2: AI Service Integration

Connect to real AI services for intelligent responses:

  • Use promptRequest event to capture user input
  • Call AI API with prompt text
  • Stream response character-by-character for live effect
  • Parse markdown responses for formatted output

Pattern 3: Multi-View Dashboard

Combine chat with supporting content:

  • Create Assist view for conversation
  • Add Custom view for settings/sidebar
  • Switch activeView based on user interaction
  • Share data between views

Pattern 4: Voice-Enabled Chat

Enable hands-free interaction with speech:

  • Enable speechToTextSettings to capture voice
  • Configure Text-to-Speech for response audio
  • Use toolbar for voice control buttons
  • Handle speech events for status feedback

Pattern 5: File-Attached Prompts

Support file uploads with prompts:

  • Enable attachments with enableAttachments property
  • Configure attachment endpoints and file restrictions
  • Include file data in prompt context
  • Send files to backend API

Key Props & Configuration

Essential Props

  • promptRequest: Event handler when user submits prompt
  • prompt: Initial/default text in prompt input
  • promptPlaceholder: Placeholder text for input area
  • promptSuggestions: Array of suggested prompts
  • prompts: Pre-configured conversation data

Customization Props

  • promptIconCss: CSS class for user avatar
  • responseIconCss: CSS class for AI avatar
  • showClearButton: Show/hide clear button (default: false)
  • showHeader: Show/hide component header (default: true)
  • enableScrollToBottom: Show scroll-to-bottom button (default: true)
  • height: Component height (string | number, default: '100%')
  • width: Component width (string | number, default: '100%')
  • cssClass: Custom CSS classes for styling
  • activeView: Currently displayed view index (number, default: 0)

Template Props

  • bannerTemplate: Welcome banner content
  • promptItemTemplate: User message display
  • responseItemTemplate: AI response display
  • promptSuggestionItemTemplate: Suggestion styling
  • footerTemplate: Custom prompt input area

Advanced Props

  • enableAttachments: Enable file uploads (default: false)
  • attachmentSettings: File upload configuration
  • speechToTextSettings: Voice input configuration
  • toolbarSettings: Header toolbar configuration
  • footerToolbarSettings: Footer toolbar configuration
  • responseToolbarSettings: Response action toolbar
  • promptToolbarSettings: Prompt toolbar configuration
  • locale: Localization/globalization setting (default: 'en-US')
  • enableRtl: Enable right-to-left rendering (default: false)
  • enablePersistence: Enable state persistence (default: false)

Event Props

  • created: Component lifecycle event
  • promptRequest: Prompt submission event
  • promptChanged: Prompt text change event
  • stopRespondingClick: Stop button click event
  • beforeAttachmentUpload: Before file upload event
  • attachmentUploadSuccess: File upload success event
  • attachmentUploadFailure: File upload failure event
  • attachmentRemoved: File removal event

Common Use Cases

Chat Bot with AI Integration

Build a customer service chatbot connected to OpenAI or Azure services:

  1. Set up component with suggestions
  2. Handle promptRequest to send to AI API
  3. Stream responses for real-time feedback
  4. Use templates for branded appearance

Voice-Enabled Assistant

Create hands-free voice interaction:

  1. Enable speechToTextSettings
  2. Configure Text-to-Speech toolbar button
  3. Handle speech events for status
  4. Provide visual feedback during voice capture

File Analysis Chat

Allow users to upload and discuss files:

  1. Enable attachments
  2. Configure file restrictions (type, size, count)
  3. Send files with prompts to backend
  4. Display file information in conversation

Multi-Feature Dashboard

Combine chat with settings and content:

  1. Create multiple views (Assist + Custom)
  2. Use templates for custom view content
  3. Implement view switching logic
  4. Share conversation state between views

平台分布

Codex

36.82%
按下载量换算246

Claude

26.44%
按下载量换算176

Cursor

19.28%
按下载量换算129

Gemini CLI

9.58%
按下载量换算64

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills