| title | Syncfusion PDF Viewer SDK Agent Skills for AI Assistants | Syncfusion |
|---|---|
| description | Learn how to install and use Syncfusion PDF Viewer SDK Agent Skills to help AI assistants generate accurate PDF Viewer code using PDF Viewer SDK libraries |
| platform | document-processing |
| control | PDF Viewer SDK |
| documentation | ug |
| keywords | Skills, AI Assistants, PdfViewer SDK, Agent Skills |
This guide introduces Syncfusion PDF Viewer SDK Skills, a curated skill package that enables AI assistants (GitHub Copilot, Code Studio, Cursor, Claude, etc.) to generate accurate, production ready PDF Viewer integration code using the Syncfusion® PDF Viewer components across supported platforms.
Unlike generic AI suggestions, these skills ground the assistant in official Syncfusion® PDF Viewer APIs, configuration patterns, and platform specific setup details—ensuring correct usage, faster Onboarding, and fewer integration issues.
Syncfusion® PDF Viewer SDK Agent Skills provide guidance for the following platforms:
Each platform’s skill file includes component initialization, property configuration, event handling, and common usage patterns specific to that framework.
Before installing Syncfusion® PDF Viewer SDK Skills, ensure the following:
- Node.js (v18 or later) — Required to run
npxcommands for installing skills.
Choose one of the following commands to install the Syncfusion PDF Viewer SDK Agent Skills.
npx skills add syncfusion/pdf-viewer-sdk-skills --all -yTo install a specific skill, use the following command (for example, to install PDF .Net skills):
npx skills add syncfusion/pdf-viewer-sdk-skills- PDF Viewer API Knowledge - Curated, platform-specific guidance for working with Syncfusion® PDF Viewer components, including:
- Loading PDF documents from local files, URLs, and byte streams
- Configuring toolbar items and viewer options
- Zooming, scrolling, and navigation
- Text selection and search
- Annotations (shape, text markup, stamps, etc.)
- Form field interaction
- Event handling (document load, page change, annotation events)
- 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.
- Best Practices & Configuration Patterns - The skills enforce Syncfusion® recommended practices, including:
- Correct package / NuGet / npm selection per platform
- Proper component initialization and life cycle usage
- Platform-appropriate configuration for performance and UX
- Syncfusion license setup using:
SyncfusionLicense.txt, orSYNCFUSION_LICENSE_KEYenvironment variable Only APIs and patterns explicitly defined in the skill reference files are used.
-
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.
-
Generates accurate, platform-specific code - The assistant:
- Uses the correct component names and APIs
- Applies valid configuration options
Once installed, the assistant can help generate PDF Viewer integration code. Below are example prompts.
- “Show me how to load a PDF file in Syncfusion PDF Viewer for React.”
- “Give an example of enabling text search in Blazor PDF Viewer.”
- “How do I add annotation support in WPF Syncfusion PDF Viewer?”
- “Provide sample code to customize the toolbar in MAUI PDF Viewer.”
- “Show how to load a PDF from a URL in Flutter PDF Viewer.”
- “How to navigate to a specific page in Winforms PdfViewer?”
For detailed API documentation and feature explanations, refer to the official Syncfusion PDF Viewer documentation:
(Equivalent documentation is available for Blazor, Flutter, MAUI, WinForms, and WPF.)