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

syncfusion-aspnetcore-inline-ai-assistSynfusion aspnetcore 内联 AI 辅助

Agent Skill

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

总安装

222

周安装

9

GitHub Stars

公开资料未说明

下载量

70
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

同步融合 ASP.NET Core 内联 AI 辅助组件,提供智能代码建议功能。

  • 适用于开发过程中的自动补全、错误提示、最佳实践推荐等场景。
  • 通过 GitHub 安装并接入 AI 推理服务,支持上下文感知分析。
  • 使用前必须配置 API 密钥并限制调用频率,避免超额费用。
  • 涉及私有代码库时应启用本地部署模式保障数据安全。

SKILL.md

Syncfusion ASP.NET Core Inline AI Assist Control

Overview

The Inline AI Assist is a Syncfusion ASP.NET Core control that provides intelligent text processing capabilities with:

  • Real-time prompt processing connected to AI services (OpenAI, Azure Cognitive Services)
  • Multiple response modes: Inline (in-place updates) or Popup (floating dialog)
  • Command popups with built-in and custom command items
  • Response action items for user feedback and content acceptance
  • Event lifecycle: created, promptRequest, open, close
  • Public methods: addResponse, executePrompt, showPopup, hidePopup, showCommandPopup, hideCommandPopup
  • Template support: Custom editor templates and response templates
  • Globalization: Localization (L10n) and RTL support

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Prerequisites and system requirements
  • ASP.NET Core project setup with Razor pages
  • NuGet package installation (Syncfusion.EJ2.AspNet.Core)
  • Tag helper configuration in _ViewImports.cshtml
  • Script and stylesheet resources setup
  • Basic control rendering and first run

Positioning and Response Modes

📄 Read: references/positioning-and-modes.md

  • Configure relateTo property (position relative to elements)
  • Configure target property (where control appends)
  • ResponseMode property: Inline vs Popup modes
  • Dynamic mode switching
  • Complete positioning examples with use cases

Command Configuration

📄 Read: references/command-configuration.md

  • CommandSettings and command items
  • Command properties (id, label, prompt, iconCss, disabled, groupBy, tooltip)
  • PopupWidth and PopupHeight configuration
  • Command grouping and organization
  • ItemSelect event handling
  • Advanced command scenarios

Events and Handlers

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

  • created event (control rendering completion)
  • promptRequest event (with async handling)
  • open event (popup opened)
  • close event (popup closed)
  • Event flow and lifecycle
  • Best practices for event handlers

Public Methods and APIs

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

  • addResponse() - Add response programmatically
  • executePrompt() - Execute prompt dynamically
  • showPopup() - Open popup with optional positioning
  • hidePopup() - Close popup
  • showCommandPopup() - Show command menu
  • hideCommandPopup() - Hide command menu

Inline Assist Features

📄 Read: references/inline-assist-features.md

  • Prompt property configuration
  • Prompts collection (history management)
  • Placeholder text customization
  • Z-index property
  • Popup width and height configuration
  • CssClass for custom styling
  • Managing prompt-response collections

Response Settings and Templates

📄 Read: references/response-settings-templates.md

  • ResponseSettings configuration
  • Built-in response items (accept/reject)
  • Custom response items and grouping
  • EditorTemplate for footer customization
  • ResponseTemplate for response items
  • Template syntax and context variables
  • ItemSelect event handling

Advanced Features

📄 Read: references/advanced-features.md

  • Public methods (addResponse, executePrompt, showPopup, hidePopup, showCommandPopup, hideCommandPopup)
  • Inline toolbar settings and positioning
  • Toolbar items (type, text, iconCss, alignment, tooltip)
  • TabIndex for keyboard navigation
  • Globalization: L10n and localization
  • RTL (enableRtl property)
  • Accessibility features

Quick Start Example

@using Syncfusion.EJ2.InteractiveChat;

<style>
    #editableText {
        width: 100%;
        min-height: 120px;
        max-height: 300px;
        overflow-y: auto;
        font-size: 16px;
        padding: 12px;
        border-radius: 4px;
        border: 1px solid;
    }
</style>

<div class="container" style="height: 350px; width: 650px;">
    <button id="summarizeBtn" class="e-btn e-primary" onclick="onSummarizeClick()">Summarize</button>
    <div id="editableText" contenteditable="true">
        <p>Add your content here for AI processing...</p>
    </div>

    <ejs-inlineaiassist id="defaultInlineAssist"
        relateTo="#summarizeBtn"
        created="onCreated"
        promptRequest="onPromptRequest">
        <e-inlineaiassist-responsesettings itemSelect="onItemSelect"></e-inlineaiassist-responsesettings>
    </ejs-inlineaiassist>
</div>

<script>
    var inlineAssist;

    function onCreated() {
        inlineAssist = this;
    }

    function onPromptRequest(args) {
        setTimeout(function () {
            var response = 'Connect to your AI service for real processing...';
            inlineAssist.addResponse(response);
        }, 1000);
    }

    function onItemSelect(args) {
        if (args.command.label === 'Accept') {
            document.getElementById('editableText').innerHTML =
                '<p>' + inlineAssist.prompts[inlineAssist.prompts.length - 1].response + '</p>';
            inlineAssist.hidePopup();
        }
    }

    function onSummarizeClick() {
        if (inlineAssist) {
            inlineAssist.showPopup();
        }
    }
</script>

Common Patterns

1. Setup Inline vs Popup Modes

<!-- Popup mode (default) -->
<ejs-inlineaiassist id="assist1" responseMode="Popup" relateTo="#btn"></ejs-inlineaiassist>

<!-- Inline mode (updates content in-place) -->
<ejs-inlineaiassist id="assist2" responseMode="Inline" relateTo="#btn"></ejs-inlineaiassist>

2. Add Command Popups

<ejs-inlineaiassist id="assist3" relateTo="#btn">
    <e-inlineaiassist-commandsettings
        commands="commandsData"
        popupWidth="250px"
        popupHeight="200px"
        itemSelect="onCommandSelect">
    </e-inlineaiassist-commandsettings>
</ejs-inlineaiassist>

3. Handle Events

<ejs-inlineaiassist id="assist4"
    created="onCreated"
    promptRequest="onPromptRequest"
    open="onOpen"
    close="onClose">
</ejs-inlineaiassist>

4. Use Public Methods

// Show popup at current position
inlineAssist.showPopup();

// Execute prompt dynamically
inlineAssist.executePrompt('Your prompt text');

// Add response programmatically
inlineAssist.addResponse('Response text');

// Hide popup
inlineAssist.hidePopup();

Key Props

PropertyPurposeExample
relateToPosition control relative to DOM elementrelateTo="#btn" or relateTo=".container"
targetSpecify where control appends in DOMtarget="#container"
responseModeDisplay mode for responsesresponseMode="Popup" or "Inline"
promptDefault prompt textprompt="What are benefits?"
popupWidthControl widthpopupWidth="400px"
popupHeightControl heightpopupHeight="auto"
placeholderTextarea placeholder textplaceholder="Type prompt here..."
zIndexStacking contextzIndex="4000"
enableRtlRight-to-left layoutenableRtl="true"
localeLocalization languagelocale="de"
cssClassCustom CSS classcssClass="custom-class"

Common Use Cases

  1. Content Summarization Tool

- Place button near text editor - Use Popup mode for full interface - Add Accept/Reject response items - Connect promptRequest to summarization API

  1. Inline Text Suggestions

- Use Inline mode for in-place updates - Minimal UI footprint - Quick acceptance workflow - Stream responses for real-time feedback

  1. Multi-Command Workflow

- Show command popup for quick actions - Group commands by category (Improve, Edit) - Handle each command's promptRequest differently - Dynamic response handling per command

  1. Accessibility-Focused Implementation

- Enable RTL for Arabic/Hebrew content - Use localization for multiple languages - Configure tab navigation with tabIndex - Use semantic templates


适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39.82%
按下载量换算28

Claude

27.47%
按下载量换算19

Cursor

19.66%
按下载量换算14

Gemini CLI

10.41%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills