Back to skills

docx

docs

Handles .docx file creation, editing, and analysis. Supports generating structured Word documents from scratch using docx-js, editing existing files by unpacking and modifying XML, and extracting cont

Setup & Installation

npx skills add https://github.com/anthropics/docx --skill docx
or paste the link and ask your coding assistant to install it
https://github.com/anthropics/docx
View on GitHub

What This Skill Does

Handles .docx file creation, editing, and analysis. Supports generating structured Word documents from scratch using docx-js, editing existing files by unpacking and modifying XML, and extracting content with pandoc. Covers tables, images, tracked changes, headers/footers, footnotes, and table of contents. Generating .docx files manually means wrestling with XML namespaces, DXA unit math, and docx-js quirks like portrait/landscape dimension swaps — this skill encodes those rules so you don't have to rediscover them.

When to use it

  • Working with docx functionality
  • Implementing docx features
  • Debugging docx related issues