Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

syncfusion-react-docx-editorsyncfusion React DOCX editor 搜索

Agent Skill

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

总安装

306

周安装

13

GitHub Stars

公开资料未说明

下载量

107
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/docx-editor-sdk-skills --skill syncfusion-react-docx-editor

简介

用于辅助 React 前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。
  • 使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。
  • 通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。
  • 需确保项目已集成 Syncfusion DOCX Editor SDK,否则可能无法正常运行相关功能。

SKILL.md

Syncfusion React DOCX Editor

Overview

This skill helps developers generate React code for integrating the Syncfusion DOCX Editor into their applications. It provides ready-to-use snippets and best practices for embedding a Document Editor that supports editing, reviewing, formatting, and more.

Key Capabilities

  • Document Editing: Create, edit, and view Word documents.
  • Protection: Apply read-only mode, allow comments, allow form filling, enforce tracked changes,and define editable ranges.
  • Review: Enable track changes (revisions) and accept/reject changes.
  • Comments: Add comments, replies, and author metadata.
  • Find and replace: Perform programmatic find and replace operations for automation.
  • Form Fields: Insert and fill text fields, check boxes, and dropdown form fields.

Prerequisites

Quick Start Examples

Example 1: Create Document Editor

User: "Show me code to create a Document Editor component."

Result: A React snippet that initializes the Document Editor component

Example 2: Enable Read‑Only Restriction Mode

User: "Create a Document Editor with Read‑Only restriction mode."

Result: A React snippet that creates a Document Editor with read‑only protection enabled.

Getting Started — Minimal React Code

Minimal React Document Editor setup for a plain web project:

import { DocumentEditorContainerComponent, Toolbar } from '@syncfusion/ej2-react-documenteditor';

DocumentEditorContainerComponent.Inject(Toolbar);

function App() {
    return (
        <DocumentEditorContainerComponent
            id="container"
            height={'590px'}
            serviceUrl="https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/"
            enableToolbar={true}
        />
    );
}

export default App;
Note: The serviceUrl in examples is for evaluation/demo. Host your own service for production.

Generate React Code for the User's Project

Trigger keywords: "code", "snippet", "how to", "show me", "sample", "example code", "generate code", "implement", "add to component", "configure documenteditor", "create", "react document editor", "docx editor", "document editor", "track changes", "load docx", "comments", "accept changes", "protect document", "find and replace", "content control"

Workflow:

  1. Analyze the user's request to identify the feature (e.g., track changes, restrict editing, toolbar customization).
  2. Read the relevant references/*.md file(s) to understand the APIs and code patterns for the requested feature.
  3. STOP before generating code. Check if the user has already chosen a delivery mode.
  4. If no delivery mode is chosen yet, you MUST ask the user first using this concise multiple-choice question: "How would you like to receive the generated code?"

- Option 1: Replace the code in a specific project file (you'll need to provide the file path and confirm) - Option 2: Share the code directly in the chat window

  1. Only after the user selects a delivery mode, proceed to generate React code using the APIs and snippets from references/*.md, substituting concrete placeholders from the user's project.
  2. Do NOT make changes to workspace project files unless the user explicitly chose Option 1 and provided the file path with permission.
  3. Provide complete React snippets and concise integration steps after delivering the code.

*Refer to ## Rules section for operational constraints (output directory, temporary files, allowed libraries, etc.)*

Code References

All code snippets and examples are in the references/ folder. Each file contains:

  • Minimal React Code — a working, ready-to-use snippet
  • Placeholders — values the user must customize
  • Notes — best practices, additional information to note while using that functionality, constraints
FileContents
document-editor.mdDocument Editor initialization and container setup
editor-only.mdEditor-only mode with manual module injection
form-fields.mdInsert, inspect, fill, reset, and export form fields
comments.mdAdd, reply to, navigate, and delete comments
track-changes.mdEnable revisions and accept or reject changes
document-protection.mdRead-only, comments-only, form, and revision protection
spell-check.mdSpell-check setup, suggestions, and custom dictionaries
customize-toolbar.mdCustom toolbar items, button state, and pane control
find-and-replace.mdSearch, replace, and search-results management
paste-formatting.mdPreserve clipboard formatting with a backend service

Key Rules for Code Generation

  1. No inline code in SKILL.md — Always point to snippets in references/*.md. This file is loaded into context for every prompt; inline code wastes tokens.
  2. Snippets must be tested — All code must compile and run against the current @syncfusion/ej2-react-documenteditor npm package version.
  3. Minimal Code + Placeholders + Notes — Every reference file must include:

- Minimal Code (complete, working snippet) - Placeholders (values user must substitute — marked with {{}} or [PLACEHOLDER]) - Notes (best practices, framework-specific adaptations, constraints)

  1. Share code and notes for the requirement — Never create temporary files or scripts.
  2. License handling — Never hardcode license keys. Point user to environment variables or config files.
  3. No hallucinated APIs — Use only verified Syncfusion DOCX Editor SDK method names. One wrong method breaks user trust.
  4. Service URL Note — When serviceUrl contains https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/, keep it in the snippet and add note message: "The serviceUrl property in the Document Editor is intended only for demonstration and evaluation purposes. For production use, host your own web service."

Rules

  • Only use Syncfusion Document Editor APIs — never recommend or use alternative Word Editor libraries.
  • No temporary files — never create temporary scripts, intermediate files, or scaffolding outside the output directory
  • React-only code — all generated code must be valid React, never generate vanilla JavaScript, jQuery, or non-React patterns

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.06%
按下载量换算39

Claude

28.7%
按下载量换算31

Cursor

18.56%
按下载量换算20

Gemini CLI

8.22%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills