documents-docx

Create, edit, and analyze .docx files with tracked changes and comments.

20|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/malhashemi/dotfiles --skill documents-docx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documents-docx
Source: https://github.com/malhashemi/dotfiles/tree/main/dot_config/opencode/skill/document-skills/docx
Command: npx skills add https://github.com/malhashemi/dotfiles --skill documents-docx

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 empowers Claude to efficiently handle .docx files, whether creating new documents, editing existing ones, or meticulously managing tracked changes and comments, ensuring professional document workflows.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript.
  • Content Editing: Modify existing documents, including complex formatting and structure.
  • Tracked Changes: Implement and manage tracked changes for collaborative review.
  • Comments: Add and manage comments within documents.
  • Use Case: A user might ask Claude to draft a legal contract, incorporating specific clauses, formatting, and ensuring all edits are tracked for review by a legal team.

Quick Start

Use the documents-docx skill to create a new Word document with the title "Project Proposal".

Frequently Asked Questions about documents-docx

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

FAQPage Schema
How do I create and edit .docx files with tracked changes and comments?

To create and edit .docx files with tracked changes and comments, you can use document manipulation libraries like docx-js for creation and Python's Document library for OOXML manipulation. This approach supports comprehensive redlining workflows and preserves complex formatting and document structure.

What is the best way to manage redlining workflows in Word documents?

The best way to manage redlining workflows in Word documents is by leveraging OOXML manipulation to implement and track changes meticulously. This ensures collaborative review processes maintain professional document standards while preserving complex formatting and structural integrity.

Does pandoc work with .docx files for text extraction and formatting preservation?

Yes, pandoc works with .docx files for text extraction and formatting preservation. It is utilized alongside Python's Document library to handle complex formatting preservation and document structure analysis during comprehensive document manipulation tasks.

Can I use LibreOffice to modify existing .docx documents without losing formatting?

You can modify existing .docx documents without losing formatting by leveraging libraries that manipulate OOXML directly. Tools like Python's Document library ensure complex formatting and document structure are preserved during content editing and tracked changes implementation.

How to add comments to a .docx file for collaborative review?

To add comments to a .docx file for collaborative review, use OOXML manipulation libraries that support comment management within documents. This enables professional document workflows where teams can annotate and review content alongside tracked changes.

What are the limitations of using docx-js for document creation and complex formatting?

While docx-js facilitates document creation from scratch, complex formatting preservation in existing documents may require Python's Document library for OOXML manipulation. This dual approach ensures both creation and editing tasks maintain structural integrity and support redlining workflows.