You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -14,10 +14,14 @@ This guide introduces **Syncfusion DOCX Editor SDK Skills**, a knowledge package
14
14
Syncfusion<supstyle="font-size:70%">®</sup> DOCX Editor SDK Skills eliminate common issues with generic AI suggestions by grounding the assistant in accurate Syncfusion<supstyle="font-size:70%">®</sup> DOCX Editor SDK library APIs, supported features, and platform-specific configuration for the following platforms:
Each platform's skill file includes component initialization, property configuration, event handling and common usage patterns specific to that framework.
23
27
@@ -26,102 +30,33 @@ Each platform's skill file includes component initialization, property configura
26
30
Before installing Syncfusion<supstyle="font-size:70%">®</sup> DOCX Editor SDK Skills, ensure the following tools are available on your machine:
27
31
28
32
-**[Node.js](https://nodejs.org/en)** (v18 or later) — Required to run `npx` commands for installing skills.
29
-
- A supported AI agent or IDE that integrates with the Skills CLI (VS Code, Syncfusion® Code Studio, Cursor, etc.)
30
33
31
34
## Installation
32
35
33
-
Use one of the following commands to install [Syncfusion<supstyle="font-size:70%">®</sup> DOCX Editor SDK Skills](https://github.com/syncfusion/docx-editor-sdk-skills). You can also browse Syncfusion<supstyle="font-size:70%">®</sup> skills in the [marketplace](https://skills.sh/syncfusion/).
34
-
35
-
To install all DOCX Editor SDK skills at once, use the following command:
36
-
37
-
{% tabs %}
38
-
{% highlight bash tabtitle="npm" %}
36
+
Choose one of the following commands to install Syncfusion<supstyle="font-size:70%">®</sup> DOCX Editor SDK Skills based on your preference. Users can also explore Syncfusion<supstyle="font-size:70%">®</sup> skills from the [marketplace](https://skills.sh/syncfusion/).
Choose your installation scope (project-level or global), then confirm to complete the installation.
104
-
105
-
{% tabs %}
106
-
{% highlight bash tabtitle="npm" %}
107
-
108
-
◆ Installation scope
109
-
│ ● Project (Install in current directory (committed with your project))
110
-
│ ○ Global
111
-
112
-
◆ Proceed with installation?
113
-
│ ● Yes / ○ No
114
-
115
-
{% endhighlight %}
116
-
{% endtabs %}
44
+
```
117
45
118
46
This registers the Syncfusion<supstyle="font-size:70%">®</sup> skill pack so your AI assistant can automatically load it in supported IDEs such as [Code Studio](https://help.syncfusion.com/code-studio/reference/configure-properties/skills), [Visual Studio Code](https://code.visualstudio.com/docs/copilot/customization/agent-skills), and [Cursor](https://cursor.com/docs/skills).
119
47
120
48
To learn more about the Skills CLI, refer [here](https://skills.sh/docs).
121
49
50
+
## What's Included
51
+
52
+
1.**Docx Editor & API Knowledge** — Curated, skill-based guidance that captures how to create, edit, and manage Document Editing operations using Syncfusion<supstyle="font-size:70%">®</sup> platform-specific libraries (React, Angular, Blazor, ASP.NET Core, TypeScript, Vue), including key APIs, supported features, and common usage patterns.
53
+
2.**Platform-Specific Code Generation** — Each skill supports generating production-ready platform-specific code for your project. The assistant automatically detects the project type and provides code snippets that can be inserted directly into your application files (e.g., `Program.cs`, `Home.razor`, `app.ts`).
54
+
3.**Patterns & Best Practices** — Practical recommendations for API usage, platform-specific package selection, and docx editor workflows(such as document opening, formatting, track changes, add comments and document protection). All guidance is authored directly within the Skill file rather than being fetched from documentation.
55
+
122
56
## How Syncfusion<supstyle="font-size:70%">®</sup> DOCX Editor SDK Agent Skills Work
123
57
124
-
1.**Read the relevant skill files and choose modes based on the user's query** - The assistant retrieves component APIs and code patterns from the installed Syncfusion<supstyle="font-size:70%">®</sup> Skills, automatically selecting the appropriate platform based on your workspace or prompt.
58
+
1.**Reads the relevant Skill files based on the user's query**, with the assistant retrieving library APIs, code patterns, and best-practice guidance from the installed Syncfusion<supstyle="font-size:70%">®</sup> Skills, and automatically chooses the appropriate platform based on the detected project type.
59
+
125
60
2.**Enforces Syncfusion<supstyle="font-size:70%">®</sup> best practices** including:
126
61
- Suggesting the correct NuGet packages or npm packages based on the detected application type.
127
62
- Using only APIs and code patterns explicitly present in the skill reference files.
@@ -130,88 +65,19 @@ To learn more about the Skills CLI, refer [here](https://skills.sh/docs).
130
65
- Produces production-ready React, Angular, Blazor, ASP.NET Core, TypeScript, or Vue code and inserts it into the user's project files.
131
66
- Triggered by keywords such as `"create"`, `"add"`, `"insert"`, `"apply"`, `"code"`, `"snippet"`, `"how to"`, `"show me"`, `"sample"`, or `"example"`.
132
67
133
-
## Using the AI Assistant
134
-
135
-
Once skills are installed, the assistant can generate docx editor code. Below are some example prompts.
136
-
137
-
**Example Prompts:**
138
-
139
-
- "Create a DOCX Editor and enable track changes"
140
-
- "How to protect documents with comments only restriction in ASP.NET Core DOCX editor?"
141
-
- "How to enable spell checking in DOCX editor?"
142
-
- "How to search for text and replace it in React DOCX editor?"
143
-
144
-
## Skills CLI Commands
145
-
146
-
After installation, manage Syncfusion<supstyle="font-size:70%">®</sup> Agent Skills using the following commands:
147
-
148
-
### List Skills
149
-
150
-
View all installed skills in your current project or global environment:
151
-
152
-
{% tabs %}
153
-
{% highlight bash tabtitle="NPM" %}
154
-
155
-
npx skills list
156
-
157
-
{% endhighlight %}
158
-
{% endtabs %}
159
-
160
-
### Remove a Skill
161
-
162
-
Uninstall a specific skill from your environment:
163
-
164
-
{% tabs %}
165
-
{% highlight bash tabtitle="NPM" %}
166
-
167
-
npx skills remove <skill-name>
168
-
169
-
{% endhighlight %}
170
-
{% endtabs %}
171
-
172
-
Replace `<skill-name>` with the name of the skill you want to remove (for example, `syncfusion-blazor-docx-editor`).
173
-
174
-
### Check for Updates
175
-
176
-
Check if updates are available for your installed skills:
177
-
178
-
{% tabs %}
179
-
{% highlight bash tabtitle="NPM" %}
180
-
181
-
npx skills check
182
-
183
-
{% endhighlight %}
184
-
{% endtabs %}
185
-
186
-
### Update All Skills
187
-
188
-
Update all installed skills to their latest versions:
189
-
190
-
{% tabs %}
191
-
{% highlight bash tabtitle="NPM" %}
192
-
193
-
npx skills update
194
-
195
-
{% endhighlight %}
196
-
{% endtabs %}
197
-
198
-
## FAQ
199
-
200
-
**Which agents and IDEs are supported?**
201
-
202
-
Any Skills compatible agent or IDE that loads local skill files (Visual Studio Code, Cursor, CodeStudio, etc.).
203
-
204
-
**Are skills loaded automatically?**
68
+
### Using the AI Assistant
205
69
206
-
Yes. Once installed, supported agents automatically detect and load relevant skills for Syncfusion‑related queries without requiring additional configuration.
70
+
Once skills are installed, the assistant can be used to generate and update Syncfusion<supstyle="font-size:70%">®</sup> docx editor code for tasks such as:
207
71
208
-
**Skills are not being loaded**
72
+
- "Create DOCX Editor and enable track changes"
73
+
- "Insert a table with rows and columns into a Word document."
74
+
- "Insert images within a DOCX file."
75
+
- "Track changes and add comments to specific paragraphs in a Word document."
209
76
210
-
Verify that skills are installed in the correct agent directory, restart the IDE, and confirm that the agent supports external skill files.
0 commit comments