docx

Create and edit .docx files with Python and docx-js.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/DMT123/claude-skills-collection --skill docx-dmt123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/DMT123/claude-skills-collection/tree/main/core/docx
Command: npx skills add https://github.com/DMT123/claude-skills-collection --skill docx-dmt123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, LibreOffice, Poppler, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation, editing, and analysis of Word documents (.docx files), eliminating manual formatting and content manipulation.

Core Features & Use Cases

  • Document Generation: Create professional Word documents from scratch using JavaScript (docx-js).
  • Content Manipulation: Read, edit, and unpack existing .docx files for targeted changes.
  • Tracked Changes: Manage insertions, deletions, and comments within documents.
  • Use Case: Automatically generate a monthly status report in .docx format, incorporating data tables, specific formatting, and tracked changes for review.

Quick Start

Use the docx skill to create a new Word document with the title "Project Update".

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Word document generation with specific formatting and tables?

Automate Word document generation by using Python scripts and the docx-js library to programmatically apply specific formatting, insert data tables, and add images into .docx files.

Can I manage tracked changes and comments in a .docx file programmatically?

Yes, you can manage tracked changes and comments in a .docx file programmatically by using scripts to handle insertions, deletions, and review annotations without manual formatting.

How do I edit existing .docx files to make targeted content changes?

Edit existing .docx files by unpacking the document structure and extracting raw XML for detailed manipulation, allowing scripts to make targeted content changes to the document.

Do I need LibreOffice and Poppler to convert .doc files to .docx format?

Yes, converting legacy .doc files to .docx format requires dependencies like LibreOffice and Poppler to process the conversion and extract document content accurately.

What is the best way to extract raw XML from a Word document for detailed manipulation?

Extract raw XML from a Word document by unpacking the .docx file structure, enabling detailed manipulation of the underlying document markup for advanced editing and analysis.

Does this approach support generating Word documents from scratch using JavaScript?

Yes, this approach supports generating professional Word documents from scratch using the docx-js JavaScript library to programmatically define structure, formatting, and content.