Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

syncfusion-dotnet-pdfsyncfusion dotnet PDF 搜索

Agent Skill

syncfusion-dotnet-pdf 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,102

周安装

45

GitHub Stars

公开资料未说明

下载量

353
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-dotnet-pdf(syncfusion dotnet PDF 搜索)
来源仓库:https://github.com/syncfusion/document-sdk-skills
仓库路径:skills/syncfusion-dotnet-pdf
安装命令:
npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-dotnet-pdf
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-dotnet-pdf

简介

用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • syncfusion-dotnet-pdf 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

PDF Document Processing

Overview

Create, read, write, and convert PDF files using the Syncfusion PDF Library. This skill supports two operational modes — generating C# code for the user's project or executing tasks directly through a CSX script.

Key Capabilities

  • Create & Edit: PDF files from scratch, text, images (various formats), tables, shapes, paragraphs, headings, styles, lists, hyperlinks, bookmarks, headers/footers, watermarks, template management, metadata editing
  • Forms & Interactive Elements: Create, fill, and flatten forms (AcroForms and XFA), bookmarks, annotations, attachments, buttons, and content controls
  • Advanced Features: Comments, layers (add, remove, flatten), PDF portfolios, JavaScript execution, 3D model embedding and interaction, rich media content (audio/video), optical character recognition (Tesseract engine), text redaction, image redaction, digital signatures and validation
  • Conversion: XPS to PDF, PDF to PDF/A conformance, extract text and images from PDF documents
  • Security: Password encryption/decryption, advanced encryption standards, document protection with editable ranges, macro management, digital signing capabilities
  • Barcodes & Standards: 1D barcodes, 2D barcodes, ZUGFeRD invoice support, PDF/A-1B, PDF/A-1A, PDF/A-2B, PDF/A-2A, PDF/A-2U, PDF/A-3B, PDF/A-3A, PDF/A-3U, PDF/A-4, PDF/A-4E, PDF/A-4F, PDF/X1-A conformances, Accessible PDF/Tagged PDF (PDF/UA) with Section 508 compliance
  • Additional Operations: Merge and split PDF files, open and modify existing PDF files, compress PDF files, corrupted PDF detection.

Quick Start Examples

Example 1: Generate Code (Mode 1)

User: "Show me the C# code to create a PDF with a title, a heading, and a paragraph." Result: C# code snippet displayed (no files created)

Example 2: Execute Task (Mode 2)

User: "Generate a meeting agenda document and save it to output/agenda.pdf." Result: Physical file created at specified path

Two Modes — Choose Based on User Intent

Mode 1: Generate C# Code for the User's Project *(default)*

Trigger keywords: "code", "snippet", "how to write", "Program.cs", "show me", "sample", "example code", "generate code for".

Workflow:

  1. Build the C# code using snippets from references/*.md files and replace placeholders with actual content
  2. Add the code directly into the user's project files (e.g., Program.cs)
  3. Do not create or run any .csx script

Note: Use Syncfusion.Drawing namespace for this code for cross-platform projects, not System.Drawing. This ensures compatibility across Windows, macOS, and Linux.

Note: If Syncfusion.Pdf.Net.Core package is suggested, then must be use the Syncfusion.Drawing namespace for graphics operations instead of System.Drawing to ensure cross-platform compatibility. The Syncfusion.Pdf.Net.Core package is designed to work with the Syncfusion.Drawing namespace, which provides a consistent API for drawing operations across different platforms. Using System.Drawing may lead to compatibility issues, especially on non-Windows platforms, as it relies on GDI+ which is not fully supported outside of Windows. Therefore, always use Syncfusion.Drawing when working with PDF graphics in a cross-platform context.

Note: If RectangleF, PointF, SizeF, or Color types are needed, use the ones from Syncfusion.Drawing namespace for cross-platform compatibility, not the ones from System.Drawing. This ensures that the code will work correctly on Windows, macOS, and Linux without relying on GDI+.


Mode 2: Execute via CSX Script *(does not touch project files)*

Trigger keywords: "create a pdf document", "make a document", "generate a document", "open", "edit", "modify", "change" a .pdf file, "without modifying my project", "run a csx script", or when the user provides a file path (e.g., output/report.pdf).

Workflow:

  1. Create {skill-root}/syncfusion-dotnet-pdf/scripts/temp-{timestamp}.csx using references/template.csx as the base or references/template-ocr.csx for OCR-specific operations. Example, skill-root = .github/skills.
  2. Add required operations from references/*.md snippets and replace placeholders with actual content
  3. Run: dotnet script {skill-root}/syncfusion-dotnet-pdf/scripts/temp-{timestamp}.csx
  4. Delete the temp script after execution
  5. Report SUCCESS/ERROR and show the output file path

Note: Use Syncfusion.Drawing namespace for this csx script, not System.Drawing.


Code References

All templates and snippets are in the references/ folder:

FileContents
template.csxCore CSX script template (used in Mode 2)
document-structure.mdDocument lifecycle: create, save, close; sections and page setup
open-pdf.mdOpen existing PDFs from file stream, byte array, encrypted files, corrupted documents, and cloud storage (Azure Blob, AWS S3, Google Drive, Google Cloud Storage, Dropbox)
save-pdf.mdSave new and loaded PDFs to file path, MemoryStream, byte array, and cloud storage (Azure Blob, AWS S3, Google Drive, Google Cloud Storage, Dropbox)
pages.mdAdd, insert, remove, rotate, rearrange, import, and configure pages; page count, blank detection, page labels, section numbering, PageAdded event, and page-level actions
pdf-graphics.mdWorking with PdfGraphics: text, images, and shapes
shapes.mdDraw shapes: lines, rectangles, ellipses, polygons, arcs, bezier curves, paths
brushes.mdFill shapes with solid, linear gradient, radial gradient, tiling, and hatch brushes; PdfBrushes static colors; combine pen and brush
images.mdInsert, draw, replace, remove, clip, transform, and paginate raster images (JPEG, PNG, BMP, GIF, TIFF, ICO); image masking; multi-page TIFF to PDF; unit conversion for image placement
text.mdDraw text with standard, TrueType, OpenType, and CJK fonts; alignment, RTL, complex scripts, HTML styled text, multi-column, paginated text flow, ordered/unordered lists, string measurement, text clipping detection, and unit conversion
merge-pdf.mdMerge multiple PDFs into one file
split-pdf.mdDivide a single PDF into separate files
compress-pdf.mdReduce and optimize PDF file size
extract-text.mdRetrieve text content from PDFs and find text within it
extract-image.mdExtract images and image metadata (bounds, index) from PDF pages and entire documents using PdfPageBase and PdfDocumentExtractor
ocr.mdPerform OCR on scanned PDFs and images using Tesseract; supports region OCR, rotated pages, layout result, page segmentation modes, engine modes, image enhancement, whitelist/blacklist, Unicode, and image-to-PDF conversion
tables.mdBuild tables in PDFs using PdfGrid
headers-and-footers.mdAdd headers and footers with automatic fields and dynamic content
bookmarks.mdCreate and manage PDF bookmarks (outline navigation)
attachments.mdAdd, manage, and extract file attachments in PDFs
security.mdEncrypt and protect PDFs with passwords and permissions
actions.mdAdd interactive actions, triggers, and JavaScript to PDFs
hyperlinks.mdAdd web URL links, internal document navigation, and external file links using PdfTextWebLink, PdfDocumentLinkAnnotation, and PdfFileLinkAnnotation
watermarks.mdAdd text and image watermarks with transparency and rotation
portfolio.mdCreate PDF portfolios embedding multiple files
layers.mdCreate and manage layers (optional content) in PDFs
metadata.mdWork with document and image XMP metadata; properties schemas and custom fields
redact.mdRedaction examples and usage (text/image/pattern/regex-based redaction)
digital-sign.mdDigital signature examples: basic signing → advanced (TSA, LTV, external sign)
import-export-annotation.mdImport and export annotations (FDF, XFDF, JSON) — file, stream, and round-trip workflows
pdf-forms.mdCreate, fill, modify, flatten, and manage AcroForm fields (text box, combo box, radio button, list box, check box, signature, button); covers field properties, visibility, read-only, auto-naming, complex script, and appearance
import-export-form.mdImport and export AcroForm field data (FDF, XFDF, JSON) — fill, export, round-trip, and flatten
annotations.mdAdd, modify, remove, flatten PDF annotations (popup, free text, line, stamp, ink, markup, URI, redaction, cloud border, and more)
barcode.mdAdd 1D (Code 39, EAN-13, EAN-8, Codabar, Code 93, Code 128, PDF417) and 2D (QR, DataMatrix) barcodes; export barcodes as images
colorspace.mdWork with DeviceGray, DeviceRGB, DeviceCMYK, and ICC-based color spaces for drawing and images
conformance.mdProduce PDF/A (1B, 2B, 3B) and PDF/X compliant files; convert existing PDFs to conformance standards
named-destinations.mdAdd, modify, remove, and link named destinations for in-document and URL-based navigation
pdf-templates.mdCreate and use PdfTemplate, PdfPageTemplateElement (header/footer), and PdfPageTemplate; create overlays and capture pages as templates
accessible-pdf.mdCreate tagged PDFs, PDF/UA-2, Well-Tagged PDFs and Extract accessiblity tag elements
tagged-pdf.mdCreate tagged (accessible/structured) PDFs with logical structure trees for screen-reader and reflow support
zugferd-invoice.mdCreate ZUGFeRD electronic invoice PDFs (PDF/A-3b) with embedded XML; supports ZUGFeRD 1.0, 2.0, Factur-X, and XRechnung conformance levels; extract XML from existing ZUGFeRD PDFs
xps-to-pdf.mdConvert XPS (XML Paper Specification) documents to PDF using XPSToPdfConverter

Rules

  • Output files go in ./output/ directory
  • Temp .csx scripts must be created inside {skill-root}/syncfusion-dotnet-pdf/scripts/ — never in the workspace root or customer scripts/ folder
  • Use license key from SyncfusionLicense.txt at workspace root
  • Never use Python libraries (e.g., python-pdf)
  • Never leave temp .csx files after execution
  • Always use the latest NuGet package version

Prerequisites

Documentations

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.38%
按下载量换算121

Claude

28.88%
按下载量换算102

Cursor

19.42%
按下载量换算69

Gemini CLI

10.19%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills