Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-vue-pdf-viewer(syncfusion Vue PDF viewer 搜索)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

syncfusion-vue-pdf-viewer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 68,654。

总安装 225周安装 9GitHub Stars 公开资料未说明下载 73核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/pdf-viewer-sdk-skills --skill syncfusion-vue-pdf-viewer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助 Vue PDF 查看器的开发与维护。适合在 Codex、Claude、Cursor、Gemini CLI 中生成或审查前端代码。通过 GitHub 安装,需结合项目现有设计系统使用。涉及页面改动时应配合本地预览确认视觉效果。

syncfusion-vue-pdf-viewer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-vue-pdf-viewer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/pdf-viewer-sdk-skills --skill syncf…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-vue-pdf-viewer 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/pdf-viewer-sdk-skills --skill syncfusion-vue-…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-vue-pdf-viewer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-vue-pdf-viewer 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-vue-pdf-viewer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-vue-pdf-viewer 用的人多吗?

公开数据是累计安装 225 次,近一周安装 9 次,下载 73 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-vue-pdf-viewer 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-vue-pdf-viewer

syncfusion Vue PDF viewer 搜索 · 本页

225—需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Syncfusion Vue Pdfviewer – UI Sample Generator

Generate Code for the User's Project *(default)*

Trigger keywords: "how to", "add pdfviewer", "code sample", "show me", "example", "snippet", "integrate", "component", "create sample", "vue sample".

Purpose: Generate minimal, copy-pasteable Vue SFC (.vue) code that the user can integrate directly into their Vue 2 or Vue 3 project.

Workflow: ⚠️ CRITICAL — Feature Support Policy (STRICT MODE):

FUNDAMENTAL RULE: Only generate code using APIs and properties that are EXPLICITLY listed in the reference files. ANY deviation is a VIOLATION.

  • MANDATORY CHECKS BEFORE GENERATING ANY CODE:

1. Search the reference files for the exact API/property name 2. Verify it appears in the Method Reference, Properties, or Events tables 3. If NOT found in ANY reference file, STOP immediately 4. Do NOT generate or suggest undocumented APIs under any circumstances

  • STRICT ENFORCEMENT - ZERO TOLERANCE:

- NO custom properties - Only use properties from reference file tables - NO invented methods - Only use methods from reference file tables - NO workarounds with undefined APIs - Forbidden - NO assumptions about undocumented behavior - Forbidden - NO alternative implementations using guess-work - Forbidden - NO pretending support exists - Forbidden

  • MANDATORY RESPONSE FOR UNSUPPORTED FEATURES:

- If a requested scenario/feature/API is NOT listed in any reference file, you MUST respond with: "This feature is not supported in the current Syncfusion Vue PDF Viewer implementation." - Then list what IS supported from the appropriate reference file - Never suggest alternatives unless explicitly documented in reference files

  • REFERENCE FILE HIERARCHY:

- Each reference file contains complete, authoritative documentation for its domain - The tables (Method Reference, Properties, Events) are the SOURCE OF TRUTH - Content outside these tables in reference files is explanatory only - Do NOT extend beyond what appears in the reference file tables

  • AUDIT YOUR GENERATION:

- Before providing any code, verify EVERY API used appears in a reference file table - Document which reference file each API comes from - If you cannot cite a reference file table entry, DELETE that code

  • This is a CRITICAL REQUIREMENT. Violations compromise the skill's integrity and reliability.
Step 1 — Detect the Application Type *(REQUIRED - DO NOT SKIP)*
  • Use file_search and read_file tools to inspect workspace project files:

- package.json (project configuration and dependencies) - vite.config.js or vite.config.ts (Vue 3 Vite build config) - vue.config.js (Vue 2 Vue-CLI config) - App.vue (root component) - main.js or main.ts (app entry point — check for Vue.use(...) for Vue 2 vs createApp(...) for Vue 3) - Any existing .vue files in src/ folder

  • Output: Confirm the detected application type is Vue 2 or Vue 3 before proceeding, as the component registration and API patterns differ.
Step 2 — Generate Code from Reference Files Only *(REQUIRED)*
  • Before generating: Confirm that Step 1 is complete
  • Read the relevant references/*.md file(s) for the requested feature
  • Cross-reference EVERY API, property, and method against these tables
  • COMPONENT-BASED APPROACH (MANDATORY - VUE PATTERNS ONLY):

- Use Vue SFC (.vue) syntax with <template>, <script>, and <style> sections - Use <ejs-pdfviewer> as the component tag - Bind all PDF Viewer properties using Vue's :prop="value" binding syntax - Vue 2: Register component via components: {"ejs-pdfviewer": PdfViewerComponent} and inject services via provide: {PdfViewer: [...]} - Vue 3 Composition API: Import PdfViewerComponent as EjsPdfviewer and use provide('PdfViewer', [...]) from vue - Vue 3 Options API: Use components + provide options just like Vue 2 but with createApp entry - Use ref / $refs (Vue 2) or ref() + template ref attribute (Vue 3) for programmatic viewer access

  • MANDATORY: Before generating ANY code, verify that reference files exist and are accessible
  • Read the appropriate reference file(s) for the requested feature:

- Use read_file tool on relevant references/*.md files - Confirm file contains Methods/Properties/Events tables - Verify tables are complete and readable

  • If reference file is missing or cannot be read:

- STOP code generation - Respond: "Reference file for this feature is not available. Please ensure all reference files are present in the references/ directory." - List the missing reference file name

  • This is a BLOCKER step: Cannot proceed without reference file validation
  • If an API/property does NOT appear in the reference file table, DO NOT USE IT
  • Do NOT invent, guess, or suggest any API, method, property, class, or namespace not explicitly present in the reference files

⚙️ SETTINGS CONFIGURATION BEST PRACTICES

When generating code with settings (toolbarSettings, annotationSettings, annotationSelectorSettings, arrowSettings, rectangleSettings, etc.), follow these guidelines to prevent unnecessary complexity:

Rule 1: Simple Settings → Define INLINE in Component Binding

Use this approach when:

  • Configuring only 1-3 properties
  • Settings are straightforward without complex enums or custom types
  • No need for separate data constants

Example (DO THIS):

<template>
  <ejs-pdfviewer
    id="container"
    documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
    :annotationSelectorSettings="{
      selectionBorderColor: '#0000ff',
      selectionBorderThickness: 2,
      resizerBorderColor: '#ff0000',
    }"
    style="height: 640px"
  />
</template>

Benefits:

  • ✅ No extra data properties needed
  • ✅ Simple and readable
  • ✅ Less code clutter

Rule 2: Complex Settings → Define in data() / ref() (OUTSIDE template)

Use this approach when:

  • Configuring 4+ properties OR multiple related settings
  • Using enums or complex configurations
  • Need to reuse the same configuration across multiple components

Example — Vue 2 Options API (DO THIS ONLY FOR COMPLEX CASES):

<template>
  <ejs-pdfviewer
    id="container"
    :documentPath="documentPath"
    :annotationSelectorSettings="annotationSelectorConfig"
    style="height: 640px"
  />
</template>

<script>
import { PdfViewerComponent, Annotation,
         AnnotationResizerLocation, CursorType } from '@syncfusion/ej2-vue-pdfviewer';

export default {
  name: 'App',
  components: { 'ejs-pdfviewer': PdfViewerComponent },
  data() {
    return {
      documentPath: 'https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf',
      annotationSelectorConfig: {
        selectionBorderColor: '#0000ff',
        selectionBorderThickness: 2,
        resizerBorderColor: '#ff0000',
        resizerFillColor: '#4070ff',
        resizerSize: 8,
        resizerShape: 'Square',
        selectorLineDashArray: [5, 6],
        resizerLocation: AnnotationResizerLocation.Corners | AnnotationResizerLocation.Edges,
        resizerCursorType: CursorType.grab,
      },
    };
  },
  provide: { PdfViewer: [Annotation] },
};
</script>

Example — Vue 3 Composition API (DO THIS ONLY FOR COMPLEX CASES):

<script setup>
import { provide } from 'vue';
import { PdfViewerComponent as EjsPdfviewer, Annotation,
         AnnotationResizerLocation, CursorType } from '@syncfusion/ej2-vue-pdfviewer';

const documentPath = 'https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf';
const annotationSelectorConfig = {
  selectionBorderColor: '#0000ff',
  selectionBorderThickness: 2,
  resizerBorderColor: '#ff0000',
  resizerFillColor: '#4070ff',
  resizerSize: 8,
  resizerShape: 'Square',
  selectorLineDashArray: [5, 6],
  resizerLocation: AnnotationResizerLocation.Corners | AnnotationResizerLocation.Edges,
  resizerCursorType: CursorType.grab,
};

provide('PdfViewer', [Annotation]);
</script>

When to import enums:

  • Import any enums that are used in the settings (e.g., AnnotationResizerLocation, CursorType)
  • Keep imports minimal — import ONLY what is used in the settings

Benefits:

  • ✅ Proper enum usage
  • ✅ Reusable across multiple components
  • ✅ Clean template code

Rule 3: NEVER Over-Engineer Simple Cases

❌ DO NOT DO THIS (Over-engineered):

<script>
import { PdfViewerComponent } from '@syncfusion/ej2-vue-pdfviewer';
export default {
  components: { 'ejs-pdfviewer': PdfViewerComponent },
  data() {
    return {
      // Unnecessary data property for 1 simple prop
      toolbarSettings: { showTooltip: true },
    };
  },
};
</script>

✅ DO THIS INSTEAD (Simple & Clean):

<ejs-pdfviewer :toolbarSettings="{ showTooltip: true }" ... />

Checklist Before Generating Code

  • Detected Vue version? Vue 2 → use data() + provide:{} | Vue 3 → use ref()/reactive() + provide()
  • Count the settings properties: 1-3? → Use inline binding | 4+? → Use data constant
  • Are enums involved? Yes → Import required enums | No → Skip enum imports
  • Is it reused elsewhere? Yes → Use data/ref constant | No → Prefer inline
  • Is the component prop simple enough? Yes → Keep inline | No → Extract to data/ref

Code References

All templates and operation snippets live in references/*.md. Each file is a focused snippet or template the agent will combine when generating samples.

Flow: Always start with references/basic-sample.md, then merge matched features into its anchors (PROPS, EVENTS, UI_BUTTONS, HANDLERS). If no keyword matches, return only the basic sample.


Reference File Routing Guide

🎯 Core Setup & Configuration

FilePurposeRoute When User Asks About
basic-sample.mdMinimal PDFViewer with documentPath, height, and width. Base template for all samples."basic setup", "minimal example", "getting started", "how to load PDF"
general-properties.mdConfigure core viewer properties (server URL, document path, locale, resource base path)."configuration", "server settings", "locale", "document path setup"
enable-properties.mdEnable/disable specific features (toolbar, annotations, forms, navigation, text selection, download, print)."disable toolbar", "hide features", "enable/disable", "read-only mode", "restrict features"

📐 Navigation & Page Management

FilePurposeRoute When User Asks About
page-navigation.mdNavigate between pages (first, last, next, previous page), go to specific page numbers."page navigation", "go to page", "next page", "previous page", "jump to page"
bookmark-navigation.mdNavigate using PDF bookmarks/table of contents in the bookmark panel. **CRITICAL: All bookmark methods MUST be accessed via this.$refs.pdfViewer.bookmark.* (Vue 2) or pdfViewerRef.value.bookmark.* (Vue 3 Composition API), NOT directly on the viewer instance.**"bookmarks", "bookmark", "table of contents", "TOC navigation", "outline panel", "get bookmarks", "retrieve bookmarks", "fetch bookmarks", "bookmarks programmatically", "getBookmarks", "goToBookmark", "bookmark API", "list bookmarks", "open bookmark", "close bookmark"
hyperlink-navigation.mdConfigure hyperlink navigation behavior and external link handling in PDFs."hyperlinks", "external links", "URL navigation", "clickable links", "url", "link"
thumbnail-navigation.mdDisplay and navigate using page thumbnails in the thumbnail panel."thumbnails", "preview pages", "thumbnail panel", "thumbnail", "page previews"

🔍 Viewing & Interaction

FilePurposeRoute When User Asks About
magnification.mdConfigure zoom levels, zoom modes, and magnification controls (fit-to-page, fit-to-width)."zoom", "magnification", "fit to page", "zoom levels", "scale document"
interaction-mode.mdSwitch between Selection mode (text selection) and Panning mode (touch scrolling)."text selection", "panning", "scroll mode", "interaction mode", "touch navigation"
text-selection.mdEnable text selection, copying text, and text selection events."select text", "copy text", "highlight text to copy", "text selection mode"
text-search.mdImplement text search functionality with search options and navigation."search text", "find in PDF", "search functionality", "highlight search results"

🛠️ Toolbar & Context Menu

Toolbar Configuration
FilePurposeRoute When User Asks About
toolbar-settings.mdConfigure toolbar visibility, tooltip behavior, and customize/remove toolbar items."customize toolbar", "hide toolbar items", "remove toolbar buttons", "toolbar configuration"
toolbar-methods.mdProgrammatically show/hide toolbars and enable/disable toolbar items at runtime."show/hide toolbar dynamically", "toggle toolbar", "enable/disable toolbar items programmatically"
⚠️ STRICT VALIDATION FOR TOOLBAR ITEM NAMES

When generating toolbar configurations, you MUST follow these rules to prevent incorrect toolbar item names:

  1. ALWAYS reference exact item names from toolbar-settings.md

- Do NOT invent, guess, or assume toolbar item names - Do NOT apply naming pattern logic to derive names - Use ONLY names listed in the "Available Primary Toolbar Items", "Available Annotation Toolbar Items", and "Available Form Designer Items" sections in toolbar-settings.md

  1. VALIDATE item names character-by-character

- Case sensitivity matters: HighlightTool ≠ HighlightOption - Exact names only: AnnotationEditTool ≠ AnotatetionEditTool - No abbreviations or shortcuts

  1. Before generating toolbar configuration code:

- Open toolbar-settings.md reference file - Locate: "Available Primary Toolbar Items" section - Locate: "Available Annotation Toolbar Items" section - Locate: "Available Form Designer Items" section - Copy exact names from THESE SECTIONS ONLY - Cross-check every single item name character-by-character - If ANY item name is not in the reference sections, DO NOT USE IT - Consult the "❌ COMMON MISTAKES TO AVOID" table in toolbar-settings.md if unsure

  1. Common errors to prevent:

- ❌ AnotatetionEditTool → ✅ AnnotationEditTool (typo) - ❌ CalibrationOption → ✅ CalibrateTool (wrong suffix) - ❌ ShapeAnnotationOption → ✅ ShapeTool (annotation toolbar version) - ❌ InkAnnotationOption → ✅ InkAnnotationTool (annotation toolbar version) - For complete list of mistakes to avoid, see toolbar-settings.md "❌ COMMON MISTAKES TO AVOID" table

Context Menu Customization
FilePurposeRoute When User Asks About
contextmenu.mdCustomize context menu items and handle context menu events."right-click menu", "context menu", "custom context menu", "disable context menu items"

📝 Annotations

FilePurposeRoute When User Asks About
annotation-settings.mdConfigure annotation appearance (colors, opacity, styles) and behavior for all annotation types."annotation colors", "annotation styles", "customize annotation appearance", "annotation defaults"
annotation-events.mdHandle annotation lifecycle events (add, delete, move, resize, select, property change)."annotation events", "when annotation is added", "annotation change detection", "annotation callbacks"
shape-label-settings.mdCustomize shape and measure annotation labels (position, color, font, visibility)."annotation labels", "shape labels", "measurement labels", "label customization"
redaction-annotation.mdCreate, configure, and apply redaction annotations to permanently remove sensitive content."redaction", "redact content", "remove sensitive data", "black out text", "permanent removal"

📄 Forms

FilePurposeRoute When User Asks About
form-field-settings.mdConfigure default properties for form fields (text, checkbox, radio, dropdown, signature)."form field defaults", "form field styles", "configure form fields", "form field properties"
form-field-events.mdHandle form field interaction events (focus, blur, value change, validation)."form field events", "when field changes", "form validation events", "field interaction callbacks"

📋 Document Actions

FilePurposeRoute When User Asks About
download.mdEnable/configure PDF download functionality with custom filenames."download PDF", "save PDF", "export document", "download button"
print.mdConfigure and trigger PDF printing functionality."print PDF", "print document", "printing options", "print button"
organize-pages.mdReorder, rotate, insert, remove, copy, import, and extract PDF pages."reorder pages", "rotate pages", "add blank pages", "remove pages", "rearrange pages", "merge PDFs"

⚙️ Advanced Features

FilePurposeRoute When User Asks About
api-methods.mdProgrammatic control: load documents, manage forms, annotations, extract text, undo/redo, navigation APIs."load PDF programmatically", "API methods", "export form data", "extract text", "undo/redo", "programmatic control"
events.mdComplete list of all PDFViewer events (document load, download, annotations, forms, search, navigation)."event list", "all events", "available events", "event reference", "event handlers"

平台分布

Codex

32.53%
按下载量换算24

Claude

30.96%
按下载量换算23

Cursor

17.51%
按下载量换算13

Gemini CLI

10.01%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills