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
@@ -124,25 +125,26 @@ This registers the Syncfusion<sup style="font-size:70%">®</sup> skill pack s
124
125
125
126
To learn more about the Skills CLI, refer [here](https://skills.sh/docs).
126
127
127
-
## Capabilities and How It Works
128
+
## How Syncfusion<supstyle="font-size:70%">®</sup> Document SDK Agent Skills Work
128
129
129
-
Each installed skill pack provides the following capabilities:
130
+
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<supstyle="font-size:70%">®</sup> Skills. It automatically chooses the appropriate operating mode based on the provided prompt.
130
131
131
-
-**Document SDK API Knowledge** — Curated guidance covering key APIs, supported file formats, and conversion workflows for PDF, Word, Excel, PowerPoint, and Markdown. The assistant reads the skill files to retrieve relevant APIs and code patterns, then automatically selects the appropriate mode based on the prompt.
132
-
133
-
-**Patterns and Best Practices** — Guidance on API usage, NuGet package selection, and common workflows (mail merge, PDF digital signatures, Excel pivot tables, and PowerPoint chart creation). The assistant enforces these standards in every response:
134
-
- Recommends the correct NuGet packages or JAR files based on the application type.
135
-
- Uses only APIs and code patterns defined in the skill reference files.
136
-
- Configures the Syncfusion<supstyle="font-size:70%">®</sup> license key from `SyncfusionLicense.txt` or the `SYNCFUSION_LICENSE_KEY` environment variable.
137
-
138
-
-**Dual-Mode Execution (.NET)** — The assistant automatically selects a mode based on keywords in the prompt:
132
+
2.**Operates in two modes** based on the user's intent:
133
+
134
+
-**Mode 1 — Generate Code**:
135
+
136
+
- Triggered when the prompt includes keywords such as "code", "snippet", "how to", "show me", "sample", or "example".
137
+
- Detects the application type and recommends the required NuGet packages.
138
+
- Generates production-ready code by referencing the appropriate `references/*.md` files for the requested feature.
139
+
140
+
-**Mode 2 — Execute via CSX Script**:
141
+
- Triggered by keywords such as "create", "generate", "make", "open", "edit", "modify", or when a file path is provided (e.g., `output/report.docx`).
142
+
- Creates a temporary .csx script by inserting the appropriate code snippet from the relevant references/*.md files.
143
+
- Executes the script using dotnet script, generates the output document, and then performs cleanup — all without modifying the user's project.
139
144
140
-
| Mode | Description | Trigger Keywords |
141
-
|---|---|---|
142
-
|**Mode 1 — Generate Code**| Produces production-ready code for your project. No scripts are created or executed. |`"code"`, `"snippet"`, `"how to"`, `"show me"`, `"sample"`, `"example"`|
143
-
|**Mode 2 — Execute via CSX Script**| Creates and runs a temporary `.csx` script using `dotnet script`, produces the output document, then removes the script — without modifying your project. |`"create"`, `"generate"`, `"make"`, `"open"`, `"edit"`, `"modify"`, or a file path |
145
+
3.**Register licensing key** Configuring the Syncfusion<supstyle="font-size:70%">®</sup> license key from `SyncfusionLicense.txt` or the `SYNCFUSION_LICENSE_KEY` environment variable.
144
146
145
-
## Using the AI Assistant
147
+
###Using the AI Assistant
146
148
147
149
Once skills are installed, the assistant can generate Syncfusion<supstyle="font-size:70%">®</sup> document processing code or execute document generation tasks. Below are example prompts for each mode.
0 commit comments