Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问许可证需确认审计提醒

syncfusion-angular-inline-ai-assistsyncfusion Angular inline AI assist 命令行

Agent Skill

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

总安装

1,094

周安装

47

GitHub Stars

公开资料未说明

下载量

384
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合在代码变更或协作事项整理场景中使用。syncfusion-angular-inline-ai-assist 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 仓库安装,支持 Codex、Claude 等宿主环境。
  • 使用前建议确认权限范围和维护状态,避免触发文件读写操作。
  • 注意可能涉及联网和命令执行,需评估安全风险。

SKILL.md

Syncfusion Angular Inline AI Assist Component

Component Overview

The Inline AI Assist component provides intelligent text processing capabilities that enhance user productivity. It leverages advanced natural language processing to enable AI-powered text suggestions, content generation, and editing features directly within Angular applications.

Key Capabilities:

  • Response Modes - Popup (floating) or Inline (in-place) response display with configurable dimensions
  • Command System - Predefined AI operations with icons, grouping, and custom command items
  • Response Actions - Custom response toolbar items for accept/reject workflows
  • Template System - Flexible editor and response templates for custom layouts
  • Events & Interactions - Comprehensive events for lifecycle (created, open, close) and user interactions
  • Toolbar Configuration - Inline toolbar with custom items, positioning, and alignment
  • Methods - Programmatically add prompts, update responses, open/close popups, and control behavior
  • Globalization - Multi-language support with RTL capabilities and locale-based formatting
  • Customizable UI - CSS classes, z-index control, popup dimensions, and theme integration

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup
  • Angular environment configuration
  • Basic component implementation
  • CSS imports and theme setup
  • Initial configuration with relateTo and target properties

Core Configuration

📄 Read: references/core-configuration.md

  • Prompt text and placeholder configuration
  • Prompt/response collection management
  • Response display modes (Popup vs Inline)
  • Popup dimensions (width, height, z-index)
  • CSS customization and styling

Commands and Responses

📄 Read: references/commands-and-responses.md

  • Command settings and command items
  • Adding preset AI operations with grouping
  • Response settings and response items
  • Built-in accept/reject actions
  • Custom response toolbar items and event handling

Templates and Toolbars

📄 Read: references/templates-and-toolbars.md

  • Editor template customization
  • Response template layout
  • Inline toolbar configuration and items
  • Toolbar positioning, alignment, and styling
  • Tab key navigation in toolbars

Events and Methods

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

  • Lifecycle events (created, open, close)
  • Prompt request event handling
  • Component methods (addResponse, executePrompt, showPopup, hidePopup)
  • Event arguments and callback patterns

Localization and Styling

📄 Read: references/localization-and-styling.md

  • Localization and multi-language support
  • Right-to-left (RTL) text direction
  • Custom CSS class styling
  • Theme integration
  • Text content customization

Quick Start Example

import { Component, ViewChild } from '@angular/core';
import { InlineAIAssistModule, InlineAIAssistComponent, InlinePromptRequestEventArgs, ResponseSettingsModel, ResponseItemSelectEventArgs } from '@syncfusion/ej2-angular-interactive-chat';

@Component({
    imports: [InlineAIAssistModule],
    standalone: true,
    selector: 'app-root',
    template: `
        <div id="container" style="height: 350px; width: 650px;">
            <button id="summarizeBtn" class="e-btn e-primary" (click)="onClick()">Content Summarize</button>
            <div id="editableText" contenteditable="true">
                <p>Inline AI Assist component provides intelligent text processing capabilities that enhance user productivity.</p>
            </div>
            <ejs-inlineaiassist id="inlineAssist" #inlineAssistComponent
                [relateTo]="'#summarizeBtn'"
                [responseSettings]="responseSetting"
                popupWidth="500px"
                (promptRequest)="onPromptRequest($event)">
            </ejs-inlineaiassist>
        </div>
    `,
    styles: [`#editableText { width: 100%; min-height: 120px; padding: 12px; border: 1px solid; }`]
})
export class AppComponent {
    @ViewChild('inlineAssistComponent')
    public inlineAssistComponent!: InlineAIAssistComponent;

    public itemSelect = (args: ResponseItemSelectEventArgs) => {
        if (args.command.label === 'Accept') {
            const editable = document.getElementById('editableText') as HTMLElement;
            if (editable && this.inlineAssistComponent.prompts.length > 0) {
                const lastResponse = this.inlineAssistComponent.prompts[this.inlineAssistComponent.prompts.length - 1].response;
                editable.innerHTML = '<p>' + lastResponse + '</p>';
            }
            this.inlineAssistComponent.hidePopup();
        }
    }

    public responseSetting: ResponseSettingsModel = {
        itemSelect: this.itemSelect
    }

    onClick(): void {
        this.inlineAssistComponent.showPopup();
    }

    public onPromptRequest = (args: InlinePromptRequestEventArgs) => {
        setTimeout(() => {
            let response = 'Connect this component to OpenAI or Azure AI services for real-time prompt processing.';
            this.inlineAssistComponent.addResponse(response);
        }, 1000);
    };
}

Common Patterns

Pattern 1: Response Handling with Item Selection

// Handle accept/reject responses
public itemSelect = (args: ResponseItemSelectEventArgs) => {
    if (args.command.label === 'Accept') {
        // Apply the AI response to your content
        const content = this.inlineAssistComponent.prompts[this.inlineAssistComponent.prompts.length - 1].response;
        this.applyResponse(content);
        this.inlineAssistComponent.hidePopup();
    } else if (args.command.label === 'Discard') {
        this.inlineAssistComponent.hidePopup();
    }
}

Pattern 2: Executing Predefined Prompts

// Execute a specific prompt with custom command
public executeCommand(prompt: string) => {
    this.inlineAssistComponent.showPopup();
    this.inlineAssistComponent.executePrompt(prompt);
}

// Example usage: Summarize, Translate, or Make Professional
this.executeCommand('Summarize the content');

Pattern 3: Command Groups for Organization

// Organize commands into logical groups
public commandSetting: CommandSettingsModel = {
    commands: [
        { label: 'Summarize', prompt: 'Summarize...', groupBy: 'Improve content' },
        { label: 'Shorten', prompt: 'Shorten...', groupBy: 'Improve content' },
        { label: 'Translate', prompt: 'Translate...', groupBy: 'Edit content' },
    ]
}

Pattern 4: Inline vs Popup Modes

// Toggle between response display modes
public responseMode: string = 'Popup'; // or 'Inline'

// Use Inline for seamless in-place editing
// Use Popup for review-based workflows

Key Properties and Configuration

PropertyPurposeExample
relateToPosition relative to DOM element[relateTo]="'#button'"
targetAppend location in DOM[target]="'#container'"
responseModeDisplay mode (Popup/Inline)[responseMode]="'Popup'"
popupWidth / popupHeightPopup dimensionspopupWidth="500px"
placeholderPrompt textarea placeholder[placeholder]="'Ask AI...'"
cssClassCustom CSS styling[cssClass]="'custom'"
enableStreamingReal-time streaming responses[enableStreaming]="true"
enablePersistencePreserve state across reloads[enablePersistence]="true"
commandSettingsPredefined AI commands[commandSettings]="cmdSettings"
responseSettingsResponse action items[responseSettings]="respSettings"
inlineToolbarSettingsInline toolbar items[inlineToolbarSettings]="toolbar"
editorTemplateCustom prompt input template[editorTemplate]="template"
responseTemplateCustom response display template[responseTemplate]="template"
localeLanguage/localization[locale]="'de'"
enableRtlRight-to-left text direction[enableRtl]="true"

Common Use Cases

  1. Text Summarization: Create a button that triggers content summarization via AI
  2. Grammar & Style: Help users improve writing with grammar and style suggestions
  3. Content Translation: Add quick translation options for multiple languages
  4. Code Generation: Assist users in generating code snippets based on descriptions
  5. Email Composition: Enhance email writing with AI suggestions and rephrasing
  6. Document Enhancement: Improve document quality with AI-powered editing
  7. Accessibility Support: Provide AI assistance for users with accessibility needs
  8. Multilingual Support: Enable global applications with localized AI assistance

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.65%
按下载量换算145

Claude

29.73%
按下载量换算114

Cursor

19.17%
按下载量换算74

Gemini CLI

10.92%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills