Skills Plugins MCP Prompt Model 博客 我的中心

doc-processor

当用户要生成 Word/Excel/PowerPoint、做文档格式转换(Markdown ↔ HTML ↔ DOCX ↔ PDF)、PDF 文本提取、读写 Excel、合并文档或批量转换时使用。

DeepseekModel Curated skill Quality Excellent · 78 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=ntygod-zhiwei-src-main-resources-skills-doc-processor-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name doc-processor description 当用户要生成 Word/Excel/PowerPoint、做文档格式转换(Markdown ↔ HTML ↔ DOCX ↔ PDF)、PDF 文本提取、读写 Excel、合并文档或批量转换时使用。 version 2.2.0 metadata {"zhiwei":{"tags":["document","pandoc","pdf","docx","excel","conversion"],"suggested_tools":["shell.exec","code","file.read","file.write"]}} 文档处理指南 文档处理优先走可执行工具链: code + Python 库(python-docx / openpyxl / python-pptx / pypdf)负责生成、编辑和精细处理; shell.exec + CLI(pandoc / poppler / wkhtmltopdf / libreoffice)负责格式转换和批处理。 当前 Agent 默认只注入少量核心工具。若运行时没有 code 、 shell.exec 、 file.write 等 schema,先用 tool.search 按工具名或能力检索,发现后再执行。 适用场景 生成 Word / Excel / PowerPoint(从 Markdown、CSV、JSON 或结构化数据) 格式转换(Markdown ↔ HTML ↔ DOCX ↔ PDF) PDF 文本提取 Excel 读写、多 sheet 处理 多文档合并 / 批量转换 从现有文档抽取内容,整理成 Markdown / CSV / JSON 不适用场景 纯文本 / Markdown 编辑 → file.write 内容创作(写文章 / 邮件 / 报告正文) → content-creator 数据分析(统计 / 可视化) → data-analyst 飞书 / 在线文档 → feishu 或对应渠道 Skill 工作流(按用户表达分流) 用户表达 路径 生成 Word 优先 {skill_scripts_dir}/md2docx.py 或 code + python-docx 生成 Excel {skill_scripts_dir}/xlsx_tools.py from-csv 或 code + openpyxl 生成 PPT / 幻灯片 / 演示文稿 code + python-pptx Markdown / HTML / DOCX / PDF 互转 shell.exec + pandoc PDF 文本提取 {skill_scripts_dir}/pdf_tools.py extract-text 或 pdftotext HTML → PDF shell.exec + wkhtmltopdf / pandoc 多 PDF 合并 / 拆分 {skill_scripts_dir}/pdf_tools.py merge/split 批量转换 先单文件验证,再 shell.exec 循环或写临时脚本 各路径决策点(本 Skill 独有) 先探测依赖 :第一次使用库 / CLI 前先跑 python -c "import ..." 或 pandoc --version 。依赖缺失时说明安装命令;只有用户明确允许时才安装。 先生成中间格式 :复杂 Word/PDF 优先产出 Markdown/HTML/CSV 中间文件,确认内容结构后再转目标格式。 结果必须验证 :生成后用 file.read 抽样确认文本内容;对二进制 Office/PDF,可用脚本提取文本或列 sheet/页数。 批量先单后批 :批量转换前先跑 1 个样本,确认样式、编码、字体和路径规则后再循环。 加密 PDF :让用户提供密码,或用 qpdf --decrypt 预处理;不要尝试绕过权限。 不要走 Java document 工具 :当前文档生成/转换不依赖 document.create / document.edit ,应使用本 Skill 的脚本、Python 库或 CLI。 输出约定 产物路径优先放在用户指定目录;没有指定时放到当前 workspace 下可读写路径。 生成多个文件时同时输出一个简短清单,列文件名、格式、来源和验证结果。 若转换存在格式损失(分页、脚注、复杂表格、批注、宏、图表),在结果里明确说明。 详细参考 转换路径、命令模板、脚本清单: {skill_dir}/references/doc-conversion.md 依赖探测与安装建议: {skill_dir}/references/dependency-setup.md Office/PDF 处理配方: {skill_dir}/references/office-recipes.md 常见错误处理表: {skill_dir}/references/troubleshooting.md
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。