office
它能做什么
这是一份简短的指南,为每项 Office 任务指引智能体使用正确的专门技能。适合让 AI 创建或修改文档、幻灯片或电子表格的任何人。
适用场景
- ✓当你让智能体创建或编辑 Word、PowerPoint 或 Excel 文件时。
- ✓当你想把 Office 文件导出为 PDF 时。
- ✓当你想让电子表格中的公式重新计算时。
技能链接
https://github.com/Fei2411/DS-Bot/blob/main/ds-bot/src/office/skills/office/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请更新我预算电子表格中的公式,并把汇总表导出为 PDF。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体先阅读这份指南,然后为每个步骤加载对应的专门技能,例如电子表格、重新计算或 PDF 导出技能。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Office task routing
Call the skill tool with the format skill name before creating, reading, or editing Office files. Standalone rendering, PDF export, and recalculation need only their operation skill.
- Create, read, or edit:
office-docx(Word),office-pptx(PowerPoint), oroffice-xlsx(Excel). - Inspect package structure, check package health, or edit content in place —
office-tools, used together with the format skill: block-level docx reading, comments, tracked changes accept/reject, pptx inventory, layout checks, slide reorder/duplicate/cleanup, xlsx inventory, package checks, contact sheets. - Images, visual inspection, or tasks primarily about layout, spacing, sizing, or alignment:
office-render, even without an explicit visual-check request. - Refresh spreadsheet formula results:
office-recalculate. - Export an Office file to PDF:
office-export-pdf.
Honor requests to skip rendering. New files, content edits, formulas, and incidental formatting such as bold headers or number formats need no render unless visual inspection is requested. Do not reload skills.
Skills not present in the catalog are unavailable in this environment.
常见问题
它支持哪些文件类型?
Word 文档、PowerPoint 演示文稿、Excel 电子表格和 PDF 导出。
每项任务都会渲染页面吗?
不会。渲染用于视觉检查和版面设计,简单的内容编辑则跳过这一步。
如果某个技能不可用怎么办?
指南说明,在该环境中目录里没有的技能不可用。
详情
作者的原始描述
Create, edit, inspect, or convert Office documents, spreadsheets, presentations, and PDFs. Load to choose the relevant workflow.
repo: Fei2411/DS-Bot
热度
- GitHub 星标
- 5.1k
- 排名
- #15053
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …