Agent Skills › KunAgent/Kun › office-editor

office-editor

GitHub

用于原子化检查和编辑DOCX、XLSX、PPTX文件,通过SHA-256哈希保护确保操作安全。支持结构检查、批量编辑及预览,禁止二进制替换,适用于Office文档的精确修补而非整体重构。

resources/bundled-skills/office-editor/SKILL.md KunAgent/Kun

触发场景

需要修改现有Office文档内容 对Office文件进行结构化更新且需保证数据一致性

安装

npx skills add KunAgent/Kun --skill office-editor -g -y
更多选项

非标准路径

npx skills add https://github.com/KunAgent/Kun/tree/master/resources/bundled-skills/office-editor -g -y

不安装直接使用

npx skills use KunAgent/Kun@office-editor

指定 Agent (Claude Code)

npx skills add KunAgent/Kun --skill office-editor -a claude-code -g -y

安装 repo 全部 skill

npx skills add KunAgent/Kun --all -g -y

预览 repo 内 skill

npx skills add KunAgent/Kun --list

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

  1. Identify the file format and exact requested changes.
  2. Inspect the file and capture the current source SHA-256.
  3. Translate the request into the smallest structured operation batch.
  4. Apply with expectedSha256.
  5. Validate and preview the result.

Completion gates

  • Never edit from a stale hash.
  • Preserve unrelated content and relationships.
  • For presentations, switch to the slides skill (PPTD source plus ppt_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

同 Skill 集合

.claude/skills/openspec-apply-change/SKILL.md
.claude/skills/openspec-archive-change/SKILL.md
.claude/skills/openspec-explore/SKILL.md
.claude/skills/openspec-propose/SKILL.md
.codex/skills/openspec-apply-change/SKILL.md
.codex/skills/openspec-archive-change/SKILL.md
.codex/skills/openspec-explore/SKILL.md
.codex/skills/openspec-propose/SKILL.md
.cursor/skills/openspec-apply-change/SKILL.md
.cursor/skills/openspec-archive-change/SKILL.md
.cursor/skills/openspec-explore/SKILL.md
.cursor/skills/openspec-propose/SKILL.md
resources/bundled-skills/ad-creative/SKILL.md
resources/bundled-skills/automation/SKILL.md
resources/bundled-skills/browser/SKILL.md
resources/bundled-skills/canvas/SKILL.md
resources/bundled-skills/chart-rendering/SKILL.md
resources/bundled-skills/component-design/SKILL.md
resources/bundled-skills/component/SKILL.md
resources/bundled-skills/content-research-writer/SKILL.md
resources/bundled-skills/copy-editing/SKILL.md
resources/bundled-skills/copywriting/SKILL.md
resources/bundled-skills/daily-brief/SKILL.md
resources/bundled-skills/data-visualization/SKILL.md
resources/bundled-skills/diagram-design/SKILL.md
resources/bundled-skills/docx/SKILL.md
resources/bundled-skills/excalidraw-diagram/SKILL.md
resources/bundled-skills/gen-ui/SKILL.md
resources/bundled-skills/humanizer-zh/SKILL.md
resources/bundled-skills/image-generation/SKILL.md
resources/bundled-skills/imf-data/SKILL.md
resources/bundled-skills/integration-binding/SKILL.md
resources/bundled-skills/kun-tool-router/SKILL.md
resources/bundled-skills/legal-risk-assessment/SKILL.md
resources/bundled-skills/media-video/SKILL.md
resources/bundled-skills/open-data/SKILL.md
resources/bundled-skills/paper-library/SKILL.md
resources/bundled-skills/paper-reader/SKILL.md
resources/bundled-skills/process-doc/SKILL.md
resources/bundled-skills/saas-metrics-coach/SKILL.md
resources/bundled-skills/scholar-research/SKILL.md
resources/bundled-skills/scientific-problem-selection/SKILL.md
resources/bundled-skills/sec-edgar/SKILL.md
resources/bundled-skills/skill-creator/SKILL.md
resources/bundled-skills/skill-pack-builder/SKILL.md
resources/bundled-skills/slides/SKILL.md
resources/bundled-skills/webapp-building/SKILL.md
resources/bundled-skills/world-bank-data/SKILL.md
resources/bundled-skills/xlsx/SKILL.md

元信息

文件数
0
版本
0d84061
Hash
a114be5f
收录时间
2026-09-09 01:50

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 19:22
浙ICP备14020137号-1