📦 飞鸿

v1.0.0

创建、检查并编辑 Microsoft Word 文档和 DOCX 文件,支持可靠样式、编号、修订记录、表格、分节及兼容性检查。

17· 17·0 当前·0 累计
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
该技能仅用于指导 DOCX/Word 编辑,其要求与行为均围绕此目的;整个包未请求无关凭据、安装或系统访问。
评估建议
This skill is a content-first, OOXML-aware guide for working with .docx files and appears internally consistent. Before installing: (1) note the minor metadata/version mismatch in the package and confirm the source if that matters to you; (2) remember the skill itself has no code and does not upload files, but the agent or connectors you give file access to might — verify which tools/connectors will be used to open, edit, or transmit documents; (3) avoid giving external APIs or cloud storage cre...
详细分析 ▾
用途与能力
The name/description (Word / DOCX editing) matches the SKILL.md content which is a detailed, OOXML-aware set of rules for reading and editing .docx files. Minor metadata inconsistencies: registry metadata lists version 1.0.0 and ownerId kn7b4... while the included _meta.json and SKILL.md header show version 1.0.2 and ownerId kn73vp5... — likely clerical but worth noting.
指令范围
SKILL.md is focused on parsing and editing .docx OOXML parts, tracked changes, styles, numbering, and layout — all within the stated scope. It does not instruct reading unrelated system files, contacting external endpoints, or exfiltrating data. The guidance to inspect ZIP/XML parts and related Word parts is appropriate for the skill's purpose.
安装机制
No install spec and no code files are present (instruction-only). This minimizes installation risk — nothing is downloaded or written to disk by the skill itself.
凭证需求
The skill declares no required environment variables, credentials, or config paths. There are no unexplained secrets requested and nothing disproportionate to a document-editing guide.
持久化与权限
always is false and the skill is user-invocable; it does not request permanent presence or elevated platform privileges. Being instruction-only, it does not modify other skills or system settings.
安全有层次,运行前请审查代码。

运行时依赖

🖥️ OSLinux · macOS · Windows

安装命令

点击复制
官方npx clawhub@latest install feihong-word-docx
镜像加速npx clawhub@latest install feihong-word-docx --registry https://cn.longxiaskill.com

技能文档

何时使用 当主工件为 Microsoft Word 文档或 .docx 文件,且涉及修订痕迹、批注、页眉、编号、域、表格、模板或兼容性时,请使用本规则。

核心规则

  • 把 DOCX 当作 OOXML,而非纯文本
.docx 是 ZIP 内的 XML 部件包,结构同可见文本一样重要。关键部件:word/document.xml、styles.xml、numbering.xml、页眉、页脚及关系文件。文本可能被拆成多段 run,勿假定一个单词或句子仅在一个 XML 节点内。
  • 结构化提取:快速阅读
  • 样式驱动生成:新建文件
  • OOXML 感知编辑:脆弱旧文档
仅读取/提取/审阅时,先走结构保留读取路径,再碰 OOXML。深度编辑前,先检视包结构,而非只看渲染结果。旧 .doc 需先转换,再套用 .docx 假设。

  • 有意保留样式与直接格式
优先用命名样式,避免直接格式,确保后续可编辑。 样式层级:段落样式 ≠ 字符样式 ≠ 直接格式。移除直接格式通常比继续叠加内联格式更安全。编辑旧文件时,扩展现有样式体系,勿另起炉灶。跨文档复制会静默带入外来样式、主题、编号定义。

  • 列表与编号是独立系统
项目符号与编号依赖 Word 的 numbering 定义,不是粘贴的 Unicode 字符。abstractNum、num、段落编号属性均影响编号,重启行为非“仅视觉”。缩进与编号相关但不同;列表可看起来对齐却编号断裂。编号状态错误时,换编辑器可能重启、扁平或重排列表。

  • 页面布局归属“节”
边距、方向、页眉、页脚、页码均为节级行为。首页与奇偶页眉可不同,一处修复未必全文档生效。显式设置纸型,A4 与 US Letter 默认不同,影响分页与表格宽度。用“分节符”做布局变更;手动空行与孤立分页符易导致漂移。页眉页脚媒体通过部件关系引用,复制时 ID 常断。表格、分页、页眉常联动漂移,布局修复须全文档视角。表格几何受页宽、边距、固定宽度影响,“差不多”的修改在 Google Docs 或 LibreOffice 中易崩。

  • 修订、批注、域需精确编辑
启用修订时,可见文本 ≠ 完整文档。插入、删除、批注均带元数据,可经粗野编辑幸存。已删文本可能仍存于 XML。批注锚点与审阅范围若未保留结构,移动文本会断裂。批注标记、审阅包装非内联格式,随意移动会孤立或错位。批注、脚注、书签、链接媒体可能位于独立部件。目录、页码、日期、交叉引用、邮件合并占位符都是域;编辑域源,缓存显示值需刷新后才更新。超链接、书签、引用若 ID 或关系不匹配即断。书签、脚注、批注范围、交叉引用依赖稳定锚点。文档可看似正确,却含陈旧域结果,刷新后内容大变。审阅流程中,只做最小替换,勿整段重写。修订流程中,仅改动范围应显“已修订”;大范围重写产生噪点评审并破坏原格式。法律、学术、商务审阅文档,默认用审阅式编辑,除非用户明确要求重写。

  • 交付前验证往返兼容性
复杂文档在 Word、LibreOffice、Google Docs 及转换工具间易漂移。表格、页眉、嵌入字体、复制样式是常见漂移源。.docm 带宏,风险更高;.doc 为旧格式,需先转换。若布局关键,显式表格宽度比自动适应或百分比更安全。

数据来源ClawHub ↗ · 中文优化:龙虾技能库