Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

DOCX Creation & Editing Skill

Build polished Word (.docx) files from scratch and safely edit existing ones at the XML level, including tracked changes and comments.

Docs & OfficeIntermediate★ 293⑂ 50AI score 10/10Last updated: Jul 16, 2026

What it does

  • Generates professional Word documents with docx-js (npm docx): tables of contents, headers/footers, page numbers, footnotes, multi-column layouts and correctly sized tables.
  • Edits existing .docx files with a strict 3-step unpack → edit XML → repack workflow, with validation and auto-repair.
  • Handles tracked changes (insert/delete, rejecting or restoring another author's edits), comments and threaded replies, image embedding, and smart-quote typography.
  • Covers content extraction with pandoc, PDF/image rendering via LibreOffice, and legacy .doc → .docx conversion.

Who it's for

  • Anyone who repeatedly ships reports, memos, letters or templates as Word files
  • Document owners who need tables and TOCs that survive both Word and Google Docs
  • Legal/ops reviewers who rely on tracked changes and comment threads

Example uses

  1. "Create a quarterly report as .docx on US Letter with a hyperlinked table of contents and page numbers."
  2. "Change '30 days' to '60 days' in this contract as a tracked change and leave a comment explaining why."
  3. "Accept all tracked changes, output a clean final .docx, and render page previews as JPEGs."

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/lingxling/awesome-skills-cn/HEAD/anthropics-skills/skills/docx/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the anthropics-skills/skills/docx folder from the GitHub repo lingxling/awesome-skills-cn into my ~/.claude/skills/lingxling-docx/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/lingxling/awesome-skills-cn.git /tmp/awesome-skills-cn && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-skills-cn/anthropics-skills/skills/docx ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and clone the repo: git clone https://github.com/lingxling/awesome-skills-cn.git
  2. Create the skills folder: mkdir -p ~/.claude/skills
  3. Copy the skill in: cp -r awesome-skills-cn/anthropics-skills/skills/docx ~/.claude/skills/
  4. Install dependencies: npm install -g docx, plus pandoc and poppler (brew install pandoc poppler or sudo apt install pandoc poppler-utils).
  5. For PDF/image conversion, install LibreOffice so the soffice command is available.
  6. Restart Claude Code and ask something like "turn this into a Word document" — the skill triggers automatically.