docx Skill
Skill Claude Code Documents & Content CreationThe explanation below is AI-generated. Please verify it against the sources.
This is a Claude skill named "docx" for creating, reading, editing, and manipulating Word (.docx) documents. According to the SKILL.md, new documents are generated with the docx-js JavaScript library, while existing documents are edited by unpacking the .docx into raw XML, editing that XML, and repacking it. The skill also covers converting legacy .doc files to .docx, extracting text with pandoc, converting documents to PDF/images, and working with tracked changes and comments. It includes detailed rules for page size, tables, images, lists, headers/footers, footnotes, hyperlinks, and table of contents to avoid common formatting errors. Dependencies listed include pandoc, the docx npm package, LibreOffice, and Poppler.
Overview
Not a SaaS product. According to the SKILL.md, this is a skill (a set of scripts and instructions) that Claude uses to create, read, and edit .docx files, relying on tools such as pandoc, the docx-js library, LibreOffice, and Poppler rather than a hosted service.
What you can do with docx
- Create new .docx documents with docx-js, including headings, table of contents, tables, images, headers/footers, multi-column layouts, footnotes, and hyperlinks
- Read or extract content from .docx files using pandoc or by unpacking the raw XML
- Convert legacy .doc files to .docx, and convert .docx files to PDF or page images
- Edit existing documents via a three-step unpack → edit XML → repack process, following the documented XML schema rules
- Add or manage tracked changes and comments (using "Claude" as the author) and accept all tracked changes to produce a clean document
Sources
Original description (English)
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
History of docx
- Skill Added docx