Skip to content

Commit 54b7d33

Browse files
Merge pull request #2500 from syncfusion-content/DocumentSDK_Skill_Changes-HF
1014801-Added UG documentation for document SDK skills-Updated Changes-HF
2 parents b825755 + a9cb083 commit 54b7d33

4 files changed

Lines changed: 543 additions & 83 deletions

File tree

Document-Processing-toc.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88
</li>
99
<li>
1010
<a href="/document-processing/System-Requirements">System Requirements</a>
11+
</li>
12+
<li>Skills
13+
<ul>
14+
<li>
15+
<a href="/document-processing/Skills/document-sdk">Document SDK</a>
16+
</li>
17+
<li>
18+
<a href="/document-processing/Skills/pdf-viewer-sdk">PDF Viewer SDK</a>
19+
</li>
20+
<li>
21+
<a href="/document-processing/Skills/docx-editor-sdk">DOCX Editor SDK</a>
22+
</li>
23+
<li>
24+
<a href="/document-processing/Skills/spreadsheet-editor-sdk">Spreadsheet Editor SDK</a>
25+
</li>
26+
</ul>
1127
</li>
1228
<li>AI Coding Assistant
1329
<ul>
@@ -114,7 +130,7 @@
114130
<a href="/document-processing/nuget-packages">NuGet Packages</a>
115131
</li>
116132
<li>
117-
<a href="/document-processing/data-extraction/overview">DataExtraction</a>
133+
<a href="/document-processing/data-extraction/overview">Data Extraction</a>
118134
<ul>
119135
<li>
120136
<a href="/document-processing/data-extraction/smart-data-extractor/overview">Smart Data Extractor</a>

Document-Processing/Skills/document-sdk.md

Lines changed: 172 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,62 +15,135 @@ Syncfusion<sup style="font-size:70%">&reg;</sup> Document SDK Skills eliminate c
1515

1616
| Document Processing Libraries | Skills |
1717
|---|---|
18-
| [Word (DocIO)](https://help.syncfusion.com/document-processing/word/overview) | syncfusion-dotnet-word <br> syncfusion-java-word |
19-
| [PDF](https://help.syncfusion.com/document-processing/pdf/overview) | syncfusion-dotnet-pdf <br> syncfusion-dotnet-pdf-to-image <br> syncfusion-flutter-pdf <br> syncfusion-javascript-pdf |
20-
| [Excel (XlsIO)](https://help.syncfusion.com/document-processing/excel/overview) | syncfusion-dotnet-excel <br> syncfusion-flutter-excel |
21-
| [PowerPoint (Presentation)](https://help.syncfusion.com/document-processing/powerpoint/overview) | syncfusion-dotnet-powerpoint |
22-
| [Markdown](https://help.syncfusion.com/document-processing/word/word-library/net/convert-markdown-to-word-document-in-csharp) | syncfusion-dotnet-markdown |
23-
| [Smart Data Extraction](https://help.syncfusion.com/document-processing/data-extraction/overview) | syncfusion-dotnet-smart-data-extraction |
24-
18+
| [Word (DocIO)](https://help.syncfusion.com/document-processing/word/word-library/overview) | [syncfusion-dotnet-word](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-dotnet-word) <br> [syncfusion-java-word](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-java-word) |
19+
| [PDF](https://help.syncfusion.com/document-processing/pdf/pdf-library/overview) | [syncfusion-dotnet-pdf](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-dotnet-pdf) <br> [syncfusion-dotnet-pdf-to-image](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-dotnet-pdf-to-image) <br> [syncfusion-flutter-pdf](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-flutter-pdf) <br> [syncfusion-javascript-pdf](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-javascript-pdf) |
20+
| [Excel (XlsIO)](https://help.syncfusion.com/document-processing/excel/excel-library/overview) | [syncfusion-dotnet-excel](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-dotnet-excel) <br> [syncfusion-flutter-excel](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-flutter-excel) |
21+
| [PowerPoint (Presentation)](https://help.syncfusion.com/document-processing/powerpoint/powerpoint-library/overview) | [syncfusion-dotnet-powerpoint](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-dotnet-powerpoint) |
22+
| [Markdown](https://help.syncfusion.com/document-processing/word/word-library/net/convert-markdown-to-word-document-in-csharp) | [syncfusion-dotnet-markdown](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-dotnet-markdown) |
23+
| [Smart Data Extraction](https://help.syncfusion.com/document-processing/data-extraction/overview) | [syncfusion-dotnet-smart-data-extraction](https://github.com/syncfusion/document-sdk-skills/tree/master/skills/syncfusion-dotnet-smart-data-extraction) |
2524
## Prerequisites
2625

2726
Before installing Syncfusion<sup style="font-size:70%">&reg;</sup> Document SDK Skills, ensure the following tools are available on your machine:
2827

2928
- **[Node.js](https://nodejs.org/en)** (v18 or later) — Required to run `npx` commands for installing skills.
3029
- **[.NET SDK](https://dotnet.microsoft.com/en-us/download)** (8.0 or later) — Required for CSX script execution (Mode 2).
3130
- **[dotnet-script](https://github.com/dotnet-script/dotnet-script)** — Required for CSX script execution (Mode 2). Install it globally by running: `dotnet tool install -g dotnet-script`.
31+
- A supported AI agent or IDE that integrates with the Skills CLI (VS Code, Syncfusion® Code Studio, Cursor, etc.)
3232

3333
## Installation
3434

35-
Choose one of the following commands to install Syncfusion<sup style="font-size:70%">&reg;</sup> Document SDK Skills based on your preference. You can also explore Syncfusion<sup style="font-size:70%">&reg;</sup> skills from the [marketplace](https://skills.sh/syncfusion/).
35+
Choose one of the following commands to install [Syncfusion<sup style="font-size:70%">&reg;</sup> Document SDK Skills](https://github.com/syncfusion/document-sdk-skills) based on your preference. You can also explore Syncfusion<sup style="font-size:70%">&reg;</sup> skills from the [marketplace](https://skills.sh/syncfusion/).
3636

3737
To install all document SDK skills at once, use the following command:
3838

39-
```bash
40-
npx skills add syncfusion/document-sdk-skills --all -y
41-
```
39+
{% tabs %}
40+
{% highlight bash tabtitle="npm" %}
41+
42+
npx skills add syncfusion/document-sdk-skills -y
43+
44+
{% endhighlight %}
45+
{% endtabs %}
4246

4347
To install a specific skill, use the following command (for example, to install PDF .NET skills):
4448

45-
```bash
49+
{% tabs %}
50+
{% highlight bash tabtitle="npm" %}
51+
4652
npx skills add syncfusion/document-sdk-skills --skill syncfusion-dotnet-pdf
47-
```
4853

49-
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).
54+
{% endhighlight %}
55+
{% endtabs %}
5056

51-
To learn more about the Skills CLI, refer [here](https://skills.sh/docs).
57+
Choose and install skills interactively from the terminal:
5258

53-
## What's Included
59+
{% tabs %}
60+
{% highlight bash tabtitle="npm" %}
5461

55-
1. **Document SDK API Knowledge** — Curated, skill-based guidance for creating, editing, and converting PDF, Word, Excel, PowerPoint, and Markdown documents using Syncfusion<sup style="font-size:70%">&reg;</sup> Document SDK libraries. Covers key APIs, supported formats, and conversions.
56-
2. **Dual-Mode Execution (.NET)** — Supports two operating modes:
57-
- **Mode 1** — Generate production-ready code for your project.
58-
- **Mode 2** — Execute a document task immediately via a CSX script without modifying your project.
59-
3. **Patterns & Best Practices** — Practical recommendations for API usage, platform-specific NuGet package selection, and document processing workflows (for example, mail merge, PDF digital signatures, Excel pivot tables, and PowerPoint chart creation). All guidance is authored directly within the skill file rather than being fetched from external documentation.
62+
npx skills add syncfusion/document-sdk-skills
6063

64+
{% endhighlight %}
65+
{% endtabs %}
6166

62-
## How Syncfusion<sup style="font-size:70%">&reg;</sup> Document SDK Agent Skills Work
67+
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.
6368

64-
1. **Read the relevant skill files and choose modes based on the user's query** The assistant retrieves library APIs, and code patterns from the installed Syncfusion<sup style="font-size:70%">&reg;</sup> Skills. It automatically chooses the appropriate operating mode based on the provided prompt.
65-
2. **Enforces Syncfusion<sup style="font-size:70%">&reg;</sup> best practices**, including:
66-
- Suggesting the correct NuGet packages or JAR files based on the detected application type.
67-
- Using only APIs and code patterns explicitly present in the skill reference files.
68-
- Configuring the Syncfusion<sup style="font-size:70%">&reg;</sup> license key from `SyncfusionLicense.txt` or the `SYNCFUSION_LICENSE_KEY` environment variable.
69-
3. **Operates in two modes** based on the user's intent:
70-
- **Mode 1 — Generate Code**: Produces production-ready code. No scripts are created or executed. Triggered by keywords such as `"code"`, `"snippet"`, `"how to"`, `"show me"`, `"sample"`, or `"example"`.
71-
- **Mode 2 — Execute via CSX Script**: Creates a temporary `.csx` script, runs it with `dotnet script`, produces the output document file, then cleans up — without modifying the user's project. Triggered by keywords such as `"create"`, `"generate"`, `"make"`, `"open"`, `"edit"`, `"modify"`, or a file path (e.g., `output/report.docx`).
69+
{% tabs %}
70+
{% highlight bash tabtitle="npm" %}
71+
72+
Select skills to install (space to toggle)
73+
│ ◻ syncfusion-dotnet-pdf
74+
│ ◻ syncfusion-dotnet-word
75+
│ ◻ syncfusion-dotnet-excel
76+
│ ◻ syncfusion-dotnet-powerpoint
77+
│ ◻ syncfusion-dotnet-markdown
78+
│ ◻ syncfusion-dotnet-smart-data-extraction
79+
│ ◻ syncfusion-java-word
80+
│ ◻ syncfusion-flutter-pdf
81+
│ ◻ syncfusion-javascript-pdf
82+
│ .....
83+
84+
{% endhighlight %}
85+
{% endtabs %}
86+
87+
Next, select which AI agent you're using and where to store the skills.
88+
{% tabs %}
89+
{% highlight bash tabtitle="npm" %}
90+
91+
│ ── Additional agents ─────────────────────────────
92+
│ Search:
93+
│ ↑↓ move, space select, enter confirm
94+
95+
│ ❯ ○ Augment (.augment/skills)
96+
│ ○ Claude Code (.claude/skills)
97+
│ ○ OpenClaw (skills)
98+
│ ○ CodeBuddy (.codebuddy/skills)
99+
│ ○ Command Code (.commandcode/skills)
100+
│ ○ Continue (.continue/skills)
101+
│ ○ Cortex Code (.cortex/skills)
102+
│ ○ Crush (.crush/skills)
103+
| ....
104+
105+
{% endhighlight %}
106+
{% endtabs %}
107+
108+
Choose your installation scope (project-level or global), then confirm to complete the installation.
72109

73-
## Using the AI Assistant
110+
{% tabs %}
111+
{% highlight bash tabtitle="npm" %}
112+
113+
◆ Installation scope
114+
│ ● Project (Install in current directory (committed with your project))
115+
│ ○ Global
116+
117+
◆ Proceed with installation?
118+
│ ● Yes / ○ No
119+
120+
{% endhighlight %}
121+
{% endtabs %}
122+
123+
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).
124+
125+
To learn more about the Skills CLI, refer [here](https://skills.sh/docs).
126+
127+
## How Syncfusion<sup style="font-size:70%">&reg;</sup> Document SDK Agent Skills Work
128+
129+
1. **Read the relevant skill files and choose modes based on the user's query** The assistant retrieves library APIs, and code patterns from the installed Syncfusion<sup style="font-size:70%">&reg;</sup> Skills. It automatically chooses the appropriate operating mode based on the provided prompt.
130+
131+
2. **Operates in two modes** based on the user's intent:
132+
- **Mode 1 — Generate Code**:
133+
134+
- Triggered when the prompt includes keywords such as `"code"`, `"snippet"`, `"how to"`, `"show me"`, `"sample"`, or `"example"`.
135+
- Detects the application type and recommends the required NuGet packages.
136+
- Generates production-ready code by referencing the appropriate `references/*.md` files for the requested functionalities.
137+
- **Mode 2 — Execute via CSX Script**:
138+
139+
- Triggered when the prompt includes keywords such as `"create"`, `"generate"`, `"make"`, `"open"`, `"edit"`, `"modify"`, or when a file path is provided (e.g., `output/report.docx`).
140+
- Creates a temporary `.csx` script by inserting the appropriate code snippet from the relevant `references/*.md` files.
141+
- Executes the script using dotnet script and generates the output document.
142+
- Performs cleanup by deleting the temporary `.csx` script.
143+
144+
3. **Register licensing key** Configuring the Syncfusion<sup style="font-size:70%">&reg;</sup> license key from `SyncfusionLicense.txt` or the `SYNCFUSION_LICENSE_KEY` environment variable.
145+
146+
### Using the AI Assistant
74147

75148
Once skills are installed, the assistant can generate Syncfusion<sup style="font-size:70%">&reg;</sup> document processing code or execute document generation tasks. Below are example prompts for each mode.
76149

@@ -90,6 +163,74 @@ Once skills are installed, the assistant can generate Syncfusion<sup style="font
90163
- "Create a 5-slide meeting agenda presentation and save it to output/agenda.pptx."
91164
- "Extract data from the PDF at Input/invoice.pdf using Smart Data Extraction and save to output/data.json."
92165

166+
## Skills CLI Commands
167+
168+
After installation, manage Syncfusion<sup style="font-size:70%">&reg;</sup> Agent Skills using the following commands:
169+
170+
### List Skills
171+
172+
View all installed skills in your current project or global environment:
173+
174+
{% tabs %}
175+
{% highlight bash tabtitle="NPM" %}
176+
177+
npx skills list
178+
179+
{% endhighlight %}
180+
{% endtabs %}
181+
182+
### Remove a Skill
183+
184+
Uninstall a specific skill from your environment:
185+
186+
{% tabs %}
187+
{% highlight bash tabtitle="NPM" %}
188+
189+
npx skills remove <skill-name>
190+
191+
{% endhighlight %}
192+
{% endtabs %}
193+
194+
Replace `<skill-name>` with the name of the skill you want to remove (for example, `syncfusion-dotnet-pdf`).
195+
196+
### Check for Updates
197+
198+
Check if updates are available for your installed skills:
199+
200+
{% tabs %}
201+
{% highlight bash tabtitle="NPM" %}
202+
203+
npx skills check
204+
205+
{% endhighlight %}
206+
{% endtabs %}
207+
208+
### Update All Skills
209+
210+
Update all installed skills to their latest versions:
211+
212+
{% tabs %}
213+
{% highlight bash tabtitle="NPM" %}
214+
215+
npx skills update
216+
217+
{% endhighlight %}
218+
{% endtabs %}
219+
220+
## FAQ
221+
222+
**Which agents and IDEs are supported?**
223+
224+
Any Skills compatible agent or IDE that loads local skill files (Visual Studio Code, Cursor, CodeStudio, etc.).
225+
226+
**Are skills loaded automatically?**
227+
228+
Yes. Once installed, supported agents automatically detect and load relevant skills for Syncfusion‑related queries without requiring additional configuration.
229+
230+
**Skills are not being loaded**
231+
232+
Verify that skills are installed in the correct agent directory, restart the IDE, and confirm that the agent supports external skill files.
233+
93234
## See also
94235

95236
- [Syncfusion Document SDK Documentation](https://help.syncfusion.com/document-processing/introduction)

0 commit comments

Comments
 (0)