Agent Skills
› KunAgent/Kun
› office-editor
office-editor
GitHub用于原子化检查和编辑DOCX、XLSX、PPTX文件,通过SHA-256哈希保护确保操作安全。支持结构检查、批量编辑及预览,禁止二进制替换,适用于Office文档的精确修补而非整体重构。
触发场景
需要修改现有Office文档内容
对Office文件进行结构化更新且需保证数据一致性
安装
npx skills add KunAgent/Kun --skill office-editor -g -y
SKILL.md
Frontmatter
{
"name": "office-editor",
"description": "Inspect and atomically edit existing DOCX, XLSX, and PPTX files with hash-protected structured operations."
}
Office Editor
Copyright (c) 2026 KunAgent. Licensed under the MIT License.
Purpose
Inspect and atomically edit existing DOCX, XLSX, and PPTX files with hash-protected structured operations.
Tool routing
| Tool or skill | Use |
|---|---|
office_inspect |
Inspect source structure and obtain SHA-256. |
office_edit |
Apply atomic validated operations. |
office_preview |
Preview the edited result. |
slides skill |
New decks, rebuilt decks, or presentation work beyond bounded structural edits. |
Workflow
- Identify the file format and exact requested changes.
- Inspect the file and capture the current source SHA-256.
- Translate the request into the smallest structured operation batch.
- Apply with expectedSha256.
- Validate and preview the result.
Completion gates
- Never edit from a stale hash.
- Preserve unrelated content and relationships.
- For presentations, switch to the
slidesskill (PPTD source plusppt_preview/ppt_export) whenever the task is building or redesigning a deck rather than a bounded Office patch.
Boundaries
- Do not use binary search-and-replace on Office packages.
- Do not suppress OpenXML validation failures.
Delivery
Lead with the outcome, name the evidence used for verification, and disclose any real limitation that remains.
版本历史
-
0d84061
当前 2026-11-02 18:22
将PPT子代理ppt_agent替换为主Agent直接遵循的slides技能,并集成ppt_preview、ppt_export等新工具,简化了演示文稿工作流。
- a984912 2026-09-09 01:50


