docx Claude Code Skill
Claude Code SkillClaude CodeDocuments & Content CreationThe explanation below is AI-generated. Please verify it against the sources.
This is a Claude skill for creating, reading, and editing Microsoft Word documents, covering both .docx and .dotx file types. According to the SKILL.md source, new documents are generated using a Node.js docx library, existing document content is read by converting to markdown with pandoc, and editing an existing file is done by unpacking its internal ZIP/XML structure, modifying the XML, and repackaging it. The source also describes handling tracked changes and comments, along with a verification step that renders the document to images via LibreOffice and PDF-to-image conversion. The skill is scoped specifically to Word document generation and manipulation, explicitly excluding PDFs, spreadsheets, Google Docs, and unrelated coding tasks.
What you can do with docx
- Create new Word documents with formatted elements such as tables, headings, numbered lists, page breaks, and tables of contents using a docx-generation library
- Extract or read content from existing .docx files by converting them to markdown
- Edit existing Word documents by unpacking the file, modifying the underlying XML, and repackaging it
- Insert, review, and manage tracked changes (insertions and deletions) with proper author and date attribution
- Add comments anchored to specific text ranges within a document
- Render a document to images or PDF to visually verify layout and formatting before finishing
Sources
History of docx
- Claude Code Skill Updated skill content (SKILL.md) of docx
- Claude Code Skill Updated the official description of docx