← 返回 Skills 市场
kyro-ma

Word Docx Formatting Repair Helper

作者 Kyro · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
36
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install word-docx-formatting-repair-helper
功能描述
Diagnose and repair Microsoft Word DOCX formatting problems, including styles, numbering, section breaks, headers and footers, comments, tracked changes, and...
使用说明 (SKILL.md)

Word DOCX Formatting Repair

Use this skill when a Word document looks wrong, a DOCX automation task breaks formatting, or the user needs a reliable plan for repairing Word files without hand-editing every page.

Workflow

  1. Identify the failure mode: visual formatting drift, broken numbering, missing headers, section break chaos, tracked-change/comment problems, template mismatch, or corrupted OOXML.
  2. Ask for the DOCX file only when inspection is required. If the user describes the issue clearly, start with a repair plan and note assumptions.
  3. Preserve the original file. Work on a copy and avoid flattening tracked changes or comments unless the user explicitly requests it.
  4. Inspect the document structure before editing:
    • Use ZIP/OOXML inspection for word/document.xml, word/styles.xml, word/numbering.xml, word/settings.xml, relationships, headers, and footers.
    • Use Word-compatible libraries such as python-docx only for operations it safely supports.
    • Use direct OOXML edits for unsupported features such as complex numbering, comments, content controls, and some tracked-change structures.
  5. Build a repair map that ties each visible problem to its likely source: paragraph style, direct formatting, numbering definition, section property, relationship target, or theme/font setting.
  6. Apply the smallest safe change. Prefer style corrections and numbering definitions over rewriting all paragraphs.
  7. Validate by reopening or rendering the document when possible, checking page count, headings, numbering sequences, headers/footers, comments, tracked changes, and tables.

Common Fix Patterns

  • Broken multilevel numbering: inspect numbering.xml, confirm abstractNum and numId mappings, then relink affected paragraphs instead of replacing visible text.
  • Heading style drift: compare styles.xml against the template, repair style definitions, then remove unnecessary direct formatting from affected paragraphs.
  • Section break problems: inspect w:sectPr placement, page orientation, margins, and header/footer references before moving content.
  • Tracked changes and comments: never strip w:ins, w:del, or comment relationships unless the user asks for a clean final copy.
  • Compatibility issues: check generated OOXML against Word expectations, especially namespaces, relationship IDs, content types, and unsupported library output.

Outputs

Provide the user with:

  • A diagnosis of what is likely wrong and where it lives in the DOCX package.
  • A precise repair plan or implemented document/code change.
  • A validation note describing how the repaired DOCX was checked.
  • Any remaining risks, especially where Word desktop behavior cannot be fully verified locally.

Read references/requirement-plan.md only when evidence from the demand-agent run is needed.

安全使用建议
This skill is reasonable to install for DOCX formatting repair. Because it may activate on broad Word-related requests, be deliberate when using it with sensitive legal or business documents: provide only the file needed, keep an original backup, and review any repaired copy before relying on it.
能力评估
Purpose & Capability
The stated purpose and instructions consistently focus on DOCX formatting repair, OOXML inspection, styles, numbering, section breaks, comments, and tracked changes.
Instruction Scope
The English skill is well scoped and tells the agent to request DOCX files only when needed and preserve originals; some Chinese metadata, README trigger examples, and implicit invocation settings are broad enough to risk accidental activation for general Word or productivity requests.
Install Mechanism
The artifact contains only Markdown and YAML files, with no executable scripts, package installers, shell setup, or runtime credential requirements.
Credentials
Local ZIP/OOXML inspection and Word-compatible library use are proportionate to repairing DOCX files; the artifacts do not request cloud access, account access, credentials, or network data flows.
Persistence & Privilege
No background workers, persistence, privilege escalation, credential/session access, or automatic external data handling are described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install word-docx-formatting-repair-helper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /word-docx-formatting-repair-helper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Improved documentation with clear diagnosis, repair, and validation workflow for DOCX formatting problems. - Expanded descriptions of failure modes and repair best practices. - Details on when to request files and how to preserve tracked changes, comments, and document structure. - Specific OOXML inspection and editing instructions for styles, numbering, section breaks, and more. - Added common fix patterns and clarified output expectations for users.
元数据
Slug word-docx-formatting-repair-helper
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Word Docx Formatting Repair Helper 是什么?

Diagnose and repair Microsoft Word DOCX formatting problems, including styles, numbering, section breaks, headers and footers, comments, tracked changes, and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 36 次。

如何安装 Word Docx Formatting Repair Helper?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install word-docx-formatting-repair-helper」即可一键安装,无需额外配置。

Word Docx Formatting Repair Helper 是免费的吗?

是的,Word Docx Formatting Repair Helper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Word Docx Formatting Repair Helper 支持哪些平台?

Word Docx Formatting Repair Helper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Word Docx Formatting Repair Helper?

由 Kyro(@kyro-ma)开发并维护,当前版本 v1.0.1。

💬 留言讨论