Agent SkillsKunAgent/Kun › docx

docx

GitHub

用于检查、编辑、验证和预览现有 Word 文档,确保结构完整且无关内容不受影响。支持通过哈希保护进行原子化修改,并在交付前进行有效性校验与预览。

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

Trigger Scenarios

需要修改现有 Word 文档内容 验证 Word 文档结构和完整性 预览已编辑的文档效果

Install

npx skills add KunAgent/Kun --skill docx -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • a984912 Current 2026-09-09 01:49

Same Skill Collection

.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/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/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
resources/bundled-skills/yahoo-finance/SKILL.md

Metadata

Files
0
Version
a984912
Hash
20ecaae8
Indexed
2026-09-09 01:49

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 04:36
浙ICP备14020137号-1 $mapa de visitantes$