← Back to Skills Marketplace
kyro-ma

Word DOCX Formatting Repair

by Kyro · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
45
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install word-docx-formatting-repair-helper-180322
Description
Diagnose and repair Microsoft Word DOCX formatting problems, including styles, numbering, section breaks, headers and footers, comments, tracked changes, and...
README (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.

Usage Guidance
Install only if you want an agent to help inspect or repair Word DOCX formatting. Use it on copies of documents, review changes before relying on the repaired file, and be cautious with confidential legal or business documents because implicit invocation could select this skill for some Word-related requests.
Capability Assessment
Purpose & Capability
The main skill instructions are narrowly about diagnosing and repairing Microsoft Word DOCX formatting, styles, numbering, section breaks, comments, tracked changes, and OOXML issues.
Instruction Scope
The English runtime instructions include safeguards such as asking for a DOCX only when needed, preserving the original, working on a copy, and avoiding removal of tracked changes or comments without explicit user request; the Chinese trigger text and README trigger examples are broader and lower quality.
Install Mechanism
The package contains only markdown and YAML metadata files, with no executable scripts, installer commands, package hooks, or requested API keys.
Credentials
Local DOCX inspection and editing guidance is proportionate to the stated repair purpose, and there is no evidence of broad local indexing, background workers, network upload, or credential use.
Persistence & Privilege
The OpenAI agent metadata allows implicit invocation, which can increase accidental activation risk for document-related requests, but the artifact does not add persistence, privileges, background execution, or automatic file access.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install word-docx-formatting-repair-helper-180322
  3. After installation, invoke the skill by name or use /word-docx-formatting-repair-helper-180322
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of Word DOCX Formatting Repair Helper. - Diagnose and repair common Microsoft Word DOCX formatting issues, including styles, numbering, section breaks, headers/footers, comments, tracked changes, and OOXML compatibility. - Recommends safe, repeatable repair workflows focused on minimal and targeted changes. - Outlines structured inspection and validation steps for robust document formatting repair. - Provides clear user outputs: diagnosis, repair plan or code, validation notes, and known limitations.
Metadata
Slug word-docx-formatting-repair-helper-180322
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Word DOCX Formatting Repair?

Diagnose and repair Microsoft Word DOCX formatting problems, including styles, numbering, section breaks, headers and footers, comments, tracked changes, and... It is an AI Agent Skill for Claude Code / OpenClaw, with 45 downloads so far.

How do I install Word DOCX Formatting Repair?

Run "/install word-docx-formatting-repair-helper-180322" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Word DOCX Formatting Repair free?

Yes, Word DOCX Formatting Repair is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Word DOCX Formatting Repair support?

Word DOCX Formatting Repair is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Word DOCX Formatting Repair?

It is built and maintained by Kyro (@kyro-ma); the current version is v0.1.0.

💬 Comments