docx

Originally fromanthropics/skills
Installation
Summary

Create, read, edit, and analyze Word documents with full formatting control and tracked changes support.

  • Supports reading, creating, and editing .docx files with comprehensive formatting options including tables, headers/footers, images, hyperlinks, and multi-column layouts
  • Provides JavaScript-based document generation via docx-js library with critical guidance on page sizing (defaults to A4; use explicit DXA units), table width configuration, and style overrides
  • Enables XML-level editing for advanced workflows: unpack documents, modify XML directly, then repack with auto-repair validation
  • Includes tracked changes and comments management with author attribution, plus conversion utilities for legacy .doc files and PDF/image export via LibreOffice
SKILL.md

DOCX creation, editing, and analysis

Overview

A .docx file is a ZIP archive containing XML files.

Quick Reference

Task Approach
Read/analyze content pandoc or unpack for raw XML
Create new document Use docx-js - see Creating New Documents below
Edit existing document Unpack → edit XML → repack - see Editing Existing Documents below

Converting .doc to .docx

Legacy .doc files must be converted before editing:

Related skills

More from davila7/claude-code-templates

Installs
446
GitHub Stars
27.2K
First Seen
Jan 21, 2026