docx

Create, edit, and analyze Microsoft Word .docx documents with Python and JavaScript.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/royhenengel/Claude-Customizations --skill docx-royhenengel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/royhenengel/Claude-Customizations/tree/main/skills/Documentation/docx
Command: npx skills add https://github.com/royhenengel/Claude-Customizations --skill docx-royhenengel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, libreoffice, poppler-utils, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines complex document management tasks, from creating professional documents to meticulously tracking changes and extracting content.

Core Features & Use Cases

  • Document Creation: Generate new .docx files using JavaScript/TypeScript with precise formatting.
  • Editing & Redlining: Modify existing documents, implement tracked changes, and manage comments using Python libraries.
  • Content Analysis: Extract text and analyze document structure via tools like pandoc.
  • Use Case: Review a legal contract, apply specific edits with tracked changes, add comments, and ensure all formatting is preserved before finalizing.

Quick Start

Use the docx skill to convert the attached file 'contract-v1.docx' to markdown with tracked changes enabled.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I apply tracked changes and comments to an existing Word document?

This Skill manages the creation, editing, and analysis of Microsoft Word (.docx) documents using Python and JavaScript libraries. It handles tasks such as generating new documents, applying tracked changes for review, inserting comments, preserving formatting, and extracting text content. Requires libraries like docx-js, pandoc, and Python's OOXML manipulation tools for comprehensive document lifecycle management.

What's the best way to convert a .docx file to markdown while preserving tracked changes?

This Skill manages the creation, editing, and analysis of Microsoft Word (.docx) documents using Python and JavaScript libraries. It handles tasks such as generating new documents, applying tracked changes for review, inserting comments, preserving formatting, and extracting text content. Requires libraries like docx-js, pandoc, and Python's OOXML manipulation tools for comprehensive document lifecycle management.

Do I need LibreOffice and pandoc installed to generate and edit Word documents?

This Skill manages the creation, editing, and analysis of Microsoft Word (.docx) documents using Python and JavaScript libraries. It handles tasks such as generating new documents, applying tracked changes for review, inserting comments, preserving formatting, and extracting text content. Requires libraries like docx-js, pandoc, and Python's OOXML manipulation tools for comprehensive document lifecycle management.

Can I generate a new .docx file from scratch using JavaScript with precise formatting?

This Skill manages the creation, editing, and analysis of Microsoft Word (.docx) documents using Python and JavaScript libraries. It handles tasks such as generating new documents, applying tracked changes for review, inserting comments, preserving formatting, and extracting text content. Requires libraries like docx-js, pandoc, and Python's OOXML manipulation tools for comprehensive document lifecycle management.

How does Python handle OOXML manipulation for document redlining without breaking formatting?

This Skill manages the creation, editing, and analysis of Microsoft Word (.docx) documents using Python and JavaScript libraries. It handles tasks such as generating new documents, applying tracked changes for review, inserting comments, preserving formatting, and extracting text content. Requires libraries like docx-js, pandoc, and Python's OOXML manipulation tools for comprehensive document lifecycle management.