AureliaRen

Docx Skill — Development skill for Claude Code

Development community

Word document toolkit: create, edit, validate, comment, and convert LaTeX to native Office Math.

How to install Docx Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AureliaRen/docx-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Docx Skill does

Word document toolkit: create, edit, validate, comment, and convert LaTeX to native Office Math.

Alternatives in Development

  • Codex Claude Academic Skills — 本仓库包含三个面向学术科研人员的Skills,覆盖从文献阅读、论文写作到科学计算的完整研究工作流 3.2k ★
  • Octo Docs — Document delivery with export to PPTX, DOCX, PDF formats 2.8k ★
  • Math Modeling Skill — 数学建模技能 - 面向 CUMCM、MCM/ICM 等数学建模竞赛的三阶段工作流:建模分析、Python/MATLAB 编程与 DOCX 论文生成 902 ★

README

docx

Create, read, edit, validate, and rewrite Word documents from the command line.

A skill for agents and humans alike: small, single-purpose Python CLIs that each do one thing to a `.docx` and print JSON. No Office installation required for the core operations — only `python-docx` and `lxml`.

Chinese version: [README.zh-CN.md](README.zh-CN.md) — the same sections in the same order, kept at the same level of detail. English is the published edition; script names, flags, and XML element names stay untranslated in both.

Why another docx toolkit

Most document automation either hides the XML completely (and then can't express what you need) or drops you into raw OOXML with no guard rails. This one sits in between: each script is a narrow, testable operation with an argparse surface you can call from a shell, a Makefile, or an agent.

Two things it does that are hard to find elsewhere:

  • Native Office Math from LaTeX. Converts equations into real OMML — editable in Word, not an image and not a text approximation. Works in bulk across a whole document, or one equation at a time.
  • Table widths that actually stick. Explains and fixes the tblLayout / gridCol / tcW interaction that makes column widths appear to be ignored.

And two more, added after an audit against a real 20-page thesis:

  • Real Word auto-numbering. Writes / / instead of applying the numeral-less List Number style, so [1] … [14] actually renders.
  • Cross-references that survive. SEQ caption counters plus REF pointers with cached results, so 如图3所示 is correct the moment the file opens — and renumber puts it right again after an edit shifts the numbering.

Beyond the basics

The hard cases above are not the only ones that usually end with "so I opened Word and clicked". Six more capabilities cover the rest — five repairs, plus one export path:

  • fix_fonts — font normalisation that survives CJ