docx

Create and edit Word documents with formatting, images, tables, and tracked changes.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/omardelarosa/claude-configs --skill docx-omardelarosa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/omardelarosa/claude-configs/tree/main/skills/docx
Command: npx skills add https://github.com/omardelarosa/claude-configs --skill docx-omardelarosa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, pandoc, soffice, defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve?

The DOCX skill streamlines the creation, editing, co-authoring, and formatting of Word documents (.docx), reducing tedious manual tasks and enabling consistent output.

Core Features & Use Cases

  • Create and edit Word documents programmatically, including structure, tables, images, and styles.
  • Manage tracked changes and comments, insert or replace images, and convert content into polished Word outputs.
  • Use for deliverables such as reports, memos, letters, templates, and other professional Word documents requiring consistent typography and layout.

Quick Start

Create a polished Word document from a template with formatted sections and styles.

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 creation from a template?▼

You can automate Word document creation from a template programmatically by using docx-js to apply structured styles, insert formatted tables and images, and generate professional .docx files.

Can I track changes and add comments to a Word document programmatically?▼

Yes, you can manage tracked changes and comments programmatically within Word documents to support collaborative co-authoring and maintain consistent formatting across revisions.

What's the best way to extract and reorganize content from existing DOCX files?▼

The best way to extract and reorganize content from existing DOCX files is by using pandoc for content conversion and lxml to parse, manipulate, and restructure document data.

Do I need LibreOffice to convert Word documents to other formats?▼

Yes, you need LibreOffice (soffice) for automated format conversions and rendering tasks, while pandoc handles text content conversion and docx-js manages native .docx generation.

Does this approach support inserting and replacing images in Word documents?▼

Yes, this approach supports inserting and replacing images in Word documents programmatically, allowing you to update visual content dynamically while maintaining consistent professional typography.

What are the limitations of using docx-js for Word document automation?▼

Using docx-js for Word document automation is limited to creating and editing .docx structures natively, requiring external tools like pandoc and soffice for advanced format conversions and content extraction.