360 Secure SkillHub
360 安全技能中心

Word DOCX Formatting Repair Helper

核心功能:修复Word DOCX文档的格式、样式、编号、表格等问题,支持批量查找替换、格式转换,提供安全修复路径及方案。典型场景:办公人员、法务、学生等处理结构化Word文档时,遇到格式混乱、编号失效、转换异常等情况。输入为格式问题需求,输出含修复计划、替换规则、脚本片段、校验清单等。

kyro-ma
kyro-ma
热度 16.02
最近更新 2026-06-23 12:34:48
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:文件转换 / 工作流 / 法律文档 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add word-docx-formatting-repair-helper-040526
Metadata
name
word-docx-formatting-repair-helper
description
Repair and automate Word DOCX formatting, styles, find-and-replace, numbering, tables, and conversion workflows while preserving document structure. Use when a user asks for DOCX, Microsoft Word, formatting, styles, find replace, or needs practical workflow, code, checklist, documentation, or review support for this job.

Word DOCX Formatting Repair Helper

Purpose

Use this skill when a DOCX or Word-like document has inconsistent styles, broken numbering, unreliable find-and-replace, conversion issues, table problems, or repeated formatting cleanup.

Audience: office workers, legal teams, students, documentation maintainers, and operations teams cleaning up structured Word documents.

Read references/requirement-plan.md when demand evidence, source links, scoring rationale, or review criteria are needed.

Workflow

  1. Clarify the target format, document count, style guide, required sections, protected content, tracked changes needs, and acceptable tooling.
  2. Inspect headings, styles, numbering definitions, tables, fields, hyperlinks, images, footnotes, and section breaks before editing.
  3. Choose the safest repair path: Word UI steps, python-docx, Pandoc, LibreOffice conversion, XML-level inspection, or manual style normalization.
  4. Plan find-and-replace rules with examples, exclusions, backup strategy, and a dry-run report when batch changes are involved.
  5. Apply or describe repairs in small reversible stages, preserving semantic styles instead of hard-coding visual formatting.
  6. Render or otherwise verify page flow, headings, numbering, tables, links, and conversion fidelity.

Expected Outputs

  • A repair plan for DOCX formatting, styles, numbering, or conversion issues.
  • Safe find-and-replace rules with exclusions and test cases.
  • Script snippets or command steps for local document cleanup.
  • A visual or structural verification checklist.

Validation

  • Backups or dry-run reports exist before destructive batch edits.
  • Styles and numbering are normalized semantically, not only by visual overrides.
  • Document rendering is checked after repair when layout matters.
  • Protected content, fields, links, and tracked-change needs are handled explicitly.

Triggers

Keywords: DOCX, Microsoft Word, formatting, styles, find replace, numbering, tables, Pandoc

Example trigger sentences:

  • Use $word-docx-formatting-repair-helper to fix broken numbering in this DOCX.
  • Design a safe batch find-and-replace workflow for Word documents.
  • Repair styles before converting this Word file to Markdown.