Agent Skills › See-Sol-Lab/DeepSeekGUI › office-export-pdf

office-export-pdf

GitHub

通过 LibreOffice Kit CLI 将 Office 文档转换为 PDF,支持路径校验与签名验证。失败时保留源文件并报告限制,不重复转换或安装替代工具。

packages/skill/skill-office/assets/office-export-pdf/SKILL.md See-Sol-Lab/DeepSeekGUI

Trigger Scenarios

用户要求将 Office 文档导出为 PDF 需要验证 PDF 生成结果

Install

npx skills add See-Sol-Lab/DeepSeekGUI --skill office-export-pdf -g -y
More Options

Non-standard path

npx skills add https://github.com/See-Sol-Lab/DeepSeekGUI/tree/main/packages/skill/skill-office/assets/office-export-pdf -g -y

Use without installing

npx skills use See-Sol-Lab/DeepSeekGUI@office-export-pdf

指定 Agent (Claude Code)

npx skills add See-Sol-Lab/DeepSeekGUI --skill office-export-pdf -a claude-code -g -y

安装 repo 全部 skill

npx skills add See-Sol-Lab/DeepSeekGUI --all -g -y

预览 repo 内 skill

npx skills add See-Sol-Lab/DeepSeekGUI --list

SKILL.md

Frontmatter
{
    "name": "office-export-pdf",
    "description": "Convert an Office document to a requested PDF with LibreOffice Kit."
}

Export an Office document to PDF

Use the installed LibreOffice Kit CLI through the shell with the absolute Node and CLI paths supplied below. In Bash, invoke "<node>" "<cli>"; in PowerShell, invoke & "<node>" "<cli>". Prefer bundled LibreOffice unless the user requests another installation. If the Office sidecar is missing, follow sidecar setup: ask whether the user wants to download it and install only after they agree. Do not invoke system soffice, use npx, or install a replacement to work around a failed conversion with an installed sidecar.

Convert the final saved Office file to a new PDF in the task workspace. Preserve the source. Quote each input and output path.

"<node>" "<cli>" convert --input <final-office-file> --output <new-file.pdf>

Check the command result, nonempty output, and %PDF- file signature, then report that extent of validation. Unless the user requests deeper checks, do not search for PDF readers, generate images, or install tools to validate a conversion. Spreadsheet PDF pages follow workbook print settings; change those settings only when requested. Conversion may differ from the native application's pagination or fonts.

If export fails, preserve the usable source and report the export limitation. Do not repeatedly convert an unchanged source or use conversion to investigate a failed preview. For PDF export alone, stop after these checks. Only a request for images or visual inspection calls for office-render; load it before that separate operation. Deliver the requested PDF through present when available, keeping the file in place.

Version History

  • 1e913d8 Current 2026-11-02 10:01

Same Skill Collection

.agents/skills/agent-experience/SKILL.md
.agents/skills/cordis-styling-nitpicking/SKILL.md
.agents/skills/dsh-archive-agent-notes/SKILL.md
.agents/skills/dsh-ci-test-reliability/SKILL.md
.agents/skills/dsh-client-ui-ux/SKILL.md
.agents/skills/dsh-code-review/SKILL.md
.agents/skills/dsh-create-upgrade-guide/SKILL.md
.agents/skills/dsh-error-handling/SKILL.md
.agents/skills/dsh-find-simplifications/SKILL.md
.agents/skills/dsh-merging-stacked-prs/SKILL.md
.agents/skills/dsh-official-plugin-artwork/SKILL.md
.agents/skills/dsh-pre-push-checks/SKILL.md
.agents/skills/dsh-prose-standard/SKILL.md
.agents/skills/dsh-responsive-ui/SKILL.md
.agents/skills/dsh-speed-up-perf/SKILL.md
.agents/skills/dsh-translate-docs/SKILL.md
.agents/skills/dsh-trim-cot-leakage/SKILL.md
packages/preset/agent-preset/skills/agent-experience/SKILL.md
packages/preset/agent-preset/skills/cordis-composition-reference/SKILL.md
packages/preset/agent-preset/skills/cordis-plugin-development/SKILL.md
packages/preset/agent-preset/skills/editing-cordis-compositions/SKILL.md
packages/sandbox/sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/SKILL.md
packages/skill/skill-office/assets/office-docx/SKILL.md
packages/skill/skill-office/assets/office-pptx/SKILL.md
packages/skill/skill-office/assets/office-recalculate/SKILL.md
packages/skill/skill-office/assets/office-render/SKILL.md
packages/skill/skill-office/assets/office-xlsx/SKILL.md
packages/skill/skill-office/assets/office/SKILL.md
.agents/skills/dsh-doc/SKILL.md
.agents/skills/record-browser-gif/SKILL.md

Metadata

Files
0
Version
1385e07
Hash
f474f6e2
Indexed
2026-11-02 10:01

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-08 00:57
浙ICP备14020137号-1