Skip to content

Commit 9ef26f0

Browse files
Resolve cofilct
1 parent deed3dd commit 9ef26f0

1 file changed

Lines changed: 25 additions & 159 deletions

File tree

Document-Processing/Skills/docx-editor-sdk.md

Lines changed: 25 additions & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ This guide introduces **Syncfusion DOCX Editor SDK Skills**, a knowledge package
1414
Syncfusion<sup style="font-size:70%">&reg;</sup> DOCX Editor SDK Skills eliminate common issues with generic AI suggestions by grounding the assistant in accurate Syncfusion<sup style="font-size:70%">&reg;</sup> DOCX Editor SDK library APIs, supported features, and platform-specific configuration for the following platforms:
1515

1616

17-
| Framework | Skills |
17+
| DOCX Editor SDK Component | Skills |
18+
|---|---|
1819
| [React](https://help.syncfusion.com/document-processing/word/word-processor/react/overview) | syncfusion-react-docx-editor |
20+
| [Angular](https://help.syncfusion.com/document-processing/word/word-processor/angular/overview) | syncfusion-angular-docx-editor |
1921
| [Blazor](https://help.syncfusion.com/document-processing/word/word-processor/blazor/overview) | syncfusion-blazor-docx-editor |
22+
| [ASP.NET Core](https://help.syncfusion.com/document-processing/word/word-processor/asp-net-core/overview) | syncfusion-aspnetcore-docx-editor |
2023
| [WPF](https://help.syncfusion.com/document-processing/word/word-processor/wpf/overview) | syncfusion-wpf-docx-editor |
24+
| [UWP](https://help.syncfusion.com/document-processing/word/word-processor/uwp/overview) | syncfusion-uwp-docx-editor |
2125

2226
Each platform's skill file includes component initialization, property configuration, event handling and common usage patterns specific to that framework.
2327

@@ -26,102 +30,33 @@ Each platform's skill file includes component initialization, property configura
2630
Before installing Syncfusion<sup style="font-size:70%">&reg;</sup> DOCX Editor SDK Skills, ensure the following tools are available on your machine:
2731

2832
- **[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.)
3033

3134
## Installation
3235

33-
Use one of the following commands to install [Syncfusion<sup style="font-size:70%">&reg;</sup> DOCX Editor SDK Skills](https://github.com/syncfusion/docx-editor-sdk-skills). You can also browse Syncfusion<sup style="font-size:70%">&reg;</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<sup style="font-size:70%">&reg;</sup> DOCX Editor SDK Skills based on your preference. Users can also explore Syncfusion<sup style="font-size:70%">&reg;</sup> skills from the [marketplace](https://skills.sh/syncfusion/).
3937

38+
```bash
39+
# Install all DOCX Editor SDK skills at once
4040
npx skills add syncfusion/docx-editor-sdk-skills -y
4141

42-
{% endhighlight %}
43-
{% endtabs %}
44-
45-
To install a specific platform skill, use the following command (for example, to install DOCX editor Blazor skills):
46-
47-
{% tabs %}
48-
{% highlight bash tabtitle="npm" %}
49-
50-
npx skills add syncfusion/docx-editor-sdk-skills --skill syncfusion-blazor-docx-editor
51-
52-
{% endhighlight %}
53-
{% endtabs %}
54-
55-
Choose and install skills interactively from the terminal:
56-
57-
{% tabs %}
58-
{% highlight bash tabtitle="npm" %}
59-
42+
# Choose and install skills interactively from the terminal
6043
npx skills add syncfusion/docx-editor-sdk-skills
61-
62-
{% endhighlight %}
63-
{% endtabs %}
64-
65-
The terminal will show a list of available skills. Use the arrow keys to navigate, space bar to select the skills you want, and Enter to confirm.
66-
67-
{% tabs %}
68-
{% highlight bash tabtitle="npm" %}
69-
70-
Select skills to install (space to toggle)
71-
│ ◻ syncfusion-react-docx-editor
72-
│ ◻ syncfusion-angular-docx-editor
73-
│ ◻ syncfusion-blazor-docx-editor
74-
│ ◻ syncfusion-aspnetcore-docx-editor
75-
│ ◻ syncfusion-uwp-docx-editor
76-
│ ◻ syncfusion-wpf-docx-editor
77-
│ .....
78-
79-
{% endhighlight %}
80-
{% endtabs %}
81-
82-
Next, select which AI agent you're using and where to store the skills.
83-
{% tabs %}
84-
{% highlight bash tabtitle="npm" %}
85-
86-
│ ── Additional agents ─────────────────────────────
87-
│ Search:
88-
│ ↑↓ move, space select, enter confirm
89-
90-
│ ❯ ○ Augment (.augment/skills)
91-
│ ○ Claude Code (.claude/skills)
92-
│ ○ OpenClaw (skills)
93-
│ ○ CodeBuddy (.codebuddy/skills)
94-
│ ○ Command Code (.commandcode/skills)
95-
│ ○ Continue (.continue/skills)
96-
│ ○ Cortex Code (.cortex/skills)
97-
│ ○ Crush (.crush/skills)
98-
| ....
99-
100-
{% endhighlight %}
101-
{% endtabs %}
102-
103-
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+
```
11745

11846
This registers the Syncfusion<sup style="font-size:70%">&reg;</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).
11947

12048
To learn more about the Skills CLI, refer [here](https://skills.sh/docs).
12149

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<sup style="font-size:70%">&reg;</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+
12256
## How Syncfusion<sup style="font-size:70%">&reg;</sup> DOCX Editor SDK Agent Skills Work
12357

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<sup style="font-size:70%">&reg;</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<sup style="font-size:70%">&reg;</sup> Skills, and automatically chooses the appropriate platform based on the detected project type.
59+
12560
2. **Enforces Syncfusion<sup style="font-size:70%">&reg;</sup> best practices** including:
12661
- Suggesting the correct NuGet packages or npm packages based on the detected application type.
12762
- 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).
13065
- Produces production-ready React, Angular, Blazor, ASP.NET Core, TypeScript, or Vue code and inserts it into the user's project files.
13166
- Triggered by keywords such as `"create"`, `"add"`, `"insert"`, `"apply"`, `"code"`, `"snippet"`, `"how to"`, `"show me"`, `"sample"`, or `"example"`.
13267

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<sup style="font-size:70%">&reg;</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
20569

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<sup style="font-size:70%">&reg;</sup> docx editor code for tasks such as:
20771

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."
20976

210-
Verify that skills are installed in the correct agent directory, restart the IDE, and confirm that the agent supports external skill files.
21177

21278
## See also
21379

214-
- [Syncfusion DOCX Editor Documentation](https://help.syncfusion.com/document-processing/word/word-processor/overview)
80+
- [Syncfusion DOCX Editor SDK Documentation](https://help.syncfusion.com/document-processing/word/word-processor/overview)
21581
- [Agent Skills Standards](https://agentskills.io/home)
21682
- [SKills CLI](https://skills.sh/docs)
21783

0 commit comments

Comments
 (0)