文档技能

文档 社区

技能解读

当前原文的自动摘译,尚未人工审校。

快速调度规则

PDF(.pdf、“PDF”、“pypdf”、“pdfplumber”、“渲染页面”)优先考虑 pdf 技能。典型任务:提取文本/表格、渲染页面、审查布局、生成 PDF 报告。 Word / DOCX(.docx、“Word”、“跟踪的更改”、“python-docx”)更喜欢 docx 技能(或者当任务明确.docx 格式/布局繁重并且您的环境要求/需要 doc 技能时使用 doc)。

安全/噪音控制

不要猜测格式。如果用户没有指定目标文件类型,请询问:“您最终需要交付的是 PDF / DOCX / XLSX / PPTX 哪一种?”如果请求多个输出,请将它们排序:真实来源文档 → 派生导出(例如,XLSX → 图表 → PPTX → PDF)。

产出预期

当用户提供模板时,始终保留格式。对于任何生成的文件,请明确说明:输出路径以及如何验证(在 Office/预览中打开、检查分页符、确认没有 Excel 公式错误等)。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
文档
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@foryourhealth111-pixel · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
Python
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# Document Skills (Dispatcher)

Use this skill when the task is clearly “document work” but the exact format is not yet fixed, or when the user mixes multiple formats (e.g., “把论文里的表格做成 Excel,再导出 PDF 报告”).

Goal: **fast dispatch to the most specific skill** so we keep **high hit-rate / low noise**.

## Quick dispatch rules

1) **PDF** (`.pdf`, “PDF”, “pypdf”, “pdfplumber”, “render pages”)
- Prefer the **pdf** skill.
- Typical tasks: extract text/tables, render pages, review layout, generate PDF reports.

2) **Word / DOCX** (`.docx`, “Word”, “tracked changes”, “python-docx”)
- Prefer the **docx** skill (or **doc** when the task is explicitly `.docx` formatting/layout heavy and the doc skill is requested/required by your environment).

3) **Excel / Spreadsheets** (`.xlsx`, `.csv`, `.tsv`, “Excel”, “openpyxl”, “pivot table”)
- Prefer the **xlsx** skill.
- If the task is more “tabular ETL + analysis” than “Excel formatting”, you can use **spreadsheet** instead (but keep output fidelity requirements in mind).

4) **Slides / Posters / PPTX** (`.pptx`, “slides”, “poster”, “deck”, “PowerPoint”)
- Prefer **scientific-slides** for scientific slide decks.
- Prefer **pptx-posters** for posters.
- Use **infographics** / **markdown-mermaid-writing** when the user wants diagrams rather than editable slides.

## Safety / noise controls

- Do **not** guess formats. If the user didn’t specify a target file type, ask: “你最终需要交付的是 PDF / DOCX / XLSX / PPTX 哪一种?”
- If multiple outputs are requested, **sequence** them: source-of-truth document → derived exports (e.g., XLSX → charts → PPTX → PDF).

## Output expectations

- Always preserve formatting when the user provides a template.
- For any generated file, clearly state: **output path(s)** and **how to verify** (open in Office/Preview, check page breaks, confirm no Excel formula errors, etc.).

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。