Agent Skills › KunAgent/Kun › docx

docx

GitHub

用于检查、编辑、验证和预览现有Word文档,保持结构及无关内容不变。通过哈希保护确保原子性修改,支持IM发送结果,适用于文档内容更新与格式校验场景。

resources/bundled-skills/docx/SKILL.md KunAgent/Kun

触发场景

需要修改现有Word文档内容 验证Word文档结构与完整性 预览Word文档最终效果

安装

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

非标准路径

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

不安装直接使用

npx skills use KunAgent/Kun@docx

指定 Agent (Claude Code)

npx skills add KunAgent/Kun --skill docx -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": "docx",
    "description": "Inspect, edit, validate, and preview existing Word documents while preserving structure and unrelated content."
}

DOCX Documents

Copyright (c) 2026 KunAgent. Licensed under the MIT License.

Purpose

Inspect, edit, validate, and preview existing Word documents while preserving structure and unrelated content.

Tool routing

Tool or skill Use
office_inspect Inspect existing DOCX structure, text, issues, and obtain the source hash.
office_edit Apply atomic hash-protected edits to an existing DOCX.
office_preview Preview the edited document.
send_im_attachment Send the resulting file through IM when explicitly requested.

Workflow

  1. Require an existing DOCX file for inspection or editing.
  2. Inspect the source and capture its current SHA-256.
  3. Translate the request into the smallest structured operation batch.
  4. Apply office_edit with expectedSha256.
  5. Validate and preview the edited document before delivery.

Completion gates

  • Preserve headings, lists, tables, relationships, and unrelated formatting.
  • Check that the output is a valid DOCX package.
  • Confirm requested text and layout in preview or inspection output.

Boundaries

  • This Kun environment does not include a native create-from-scratch DOCX generator.
  • Do not rename plain text to .docx or install document libraries implicitly.

Delivery

Lead with the outcome, name the evidence used for verification, and disclose any real limitation that remains.

版本历史

  • a984912 当前 2026-09-09 01:49

同 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/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/office-editor/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
20ecaae8
收录时间
2026-09-09 01:49

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