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
Each platform’s skill file includes component initialization, property configuration, event handling, and common usage patterns specific to that framework.
33
33
@@ -36,52 +36,111 @@ Each platform’s skill file includes component initialization, property configu
36
36
Before installing Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer SDK Skills, ensure the following:
37
37
38
38
-**[Node.js]("https://nodejs.org/")** (v18 or later) — Required to run `npx` commands for installing skills.
39
+
- A supported AI agent or IDE that integrates with the Skills CLI (VS Code, Syncfusion<supstyle="font-size:70%">®</sup> Code Studio, Cursor, etc.)
39
40
40
41
## Installation
41
42
42
-
Choose one of the following commands to install the Syncfusion PDF Viewer SDK Agent Skills.
43
+
Choose one of the following commands to install the [Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer SDK Skills](https://github.com/syncfusion/pdf-viewer-sdk-skills).
1.**PDF Viewer API Knowledge** - Curated, platform-specific guidance for working with Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer components, including:
57
-
- Loading PDF documents from local files, URLs, and byte streams
2.**Platform-Specific Code Generation** — Generates production-ready code tailored to your platform without executing scripts or modifying your project structure. No files are generated on disk.
Choose your installation scope (project-level or global), then confirm to complete the installation.
115
+
116
+
{% tabs %}
117
+
{% highlight bash tabtitle="npm" %}
118
+
119
+
◆ Installation scope
120
+
│ ● Project (Install in current directory (committed with your project))
121
+
│ ○ Global
122
+
123
+
◆ Proceed with installation?
124
+
│ ● Yes / ○ No
125
+
126
+
{% endhighlight %}
127
+
{% endtabs %}
73
128
74
129
## How Syncfusion<supstyle="font-size:70%">®</sup> PDF Viewer SDK Agent Skills Work
75
130
76
-
1.**Reads the relevant platform-specific skill files** - Based on the user’s query (for example, React vs WPF), the assistant loads the appropriate PDF Viewer skill reference.
131
+
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.
77
132
78
-
2.**Generates accurate, platform-specific code** - The assistant:
79
-
- Uses the correct component names and APIs
80
-
- Applies valid configuration options
133
+
2.**Platform-Specific Code Generation** — Generates production-ready code tailored to your platform without executing scripts or modifying your project structure. No files are generated on disk.
134
+
135
+
3.**Register licensing key** Configuring the Syncfusion<supstyle="font-size:70%">®</sup> license key from `SyncfusionLicense.txt` or the `SYNCFUSION_LICENSE_KEY` environment variable.
136
+
137
+
### Using the AI Assistant
81
138
82
-
## Using the AI Assistant with PDF Viewer Skills
139
+
Once skills are installed, the assistant can generate Syncfusion<supstyle="font-size:70%">®</sup> pdf viewer code. Below are example prompts for each mode.
83
140
84
-
Once installed, the assistant can help generate PDF Viewer integration code. Below are example prompts.
141
+
## Skills CLI Commands
142
+
143
+
After installation, manage Syncfusion<supstyle="font-size:70%">®</sup> Agent Skills using the following commands:
85
144
86
145
## Example Prompts
87
146
@@ -92,6 +151,70 @@ Once installed, the assistant can help generate PDF Viewer integration code. Bel
92
151
- “Show how to load a PDF from a URL in Flutter PDF Viewer.”
93
152
- “How to navigate to a specific page in Winforms PdfViewer?”
94
153
154
+
### List Skills
155
+
156
+
View all installed skills in your current project or global environment:
157
+
158
+
{% tabs %}
159
+
{% highlight bash tabtitle="NPM" %}
160
+
161
+
npx skills list
162
+
163
+
{% endhighlight %}
164
+
{% endtabs %}
165
+
166
+
### Remove a Skill
167
+
168
+
Uninstall a specific skill from your environment:
169
+
170
+
{% tabs %}
171
+
{% highlight bash tabtitle="NPM" %}
172
+
173
+
npx skills remove <skill-name>
174
+
175
+
{% endhighlight %}
176
+
{% endtabs %}
177
+
178
+
Replace `<skill-name>` with the name of the skill you want to remove (for example, `syncfusion-react-pdf-viewer`).
179
+
180
+
### Check for Updates
181
+
182
+
Check if updates are available for your installed skills:
183
+
184
+
{% tabs %}
185
+
{% highlight bash tabtitle="NPM" %}
186
+
187
+
npx skills check
188
+
189
+
{% endhighlight %}
190
+
{% endtabs %}
191
+
192
+
### Update All Skills
193
+
194
+
Update all installed skills to their latest versions:
195
+
196
+
{% tabs %}
197
+
{% highlight bash tabtitle="NPM" %}
198
+
199
+
npx skills update
200
+
201
+
{% endhighlight %}
202
+
{% endtabs %}
203
+
204
+
## FAQ
205
+
206
+
**Which agents and IDEs are supported?**
207
+
208
+
Any Skills compatible agent or IDE that loads local skill files (Visual Studio Code, Cursor, CodeStudio, etc.).
209
+
210
+
**Are skills loaded automatically?**
211
+
212
+
Yes. Once installed, supported agents automatically detect and load relevant skills for Syncfusion‑related queries without requiring additional configuration.
213
+
214
+
**Skills are not being loaded**
215
+
216
+
Verify that skills are installed in the correct agent directory, restart the IDE, and confirm that the agent supports external skill files.
217
+
95
218
## See Also
96
219
97
220
-[Syncfusion PDF Viewer Documentation](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/overview)
0 commit comments