docx

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

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/AndyAnh174/BanThuoc-SEO --skill docx-andyanh174
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/AndyAnh174/BanThuoc-SEO/tree/main/.agent/skills/docx-official
Command: npx skills add https://github.com/AndyAnh174/BanThuoc-SEO --skill docx-andyanh174

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 you to effortlessly create, modify, and analyze Word documents, handling complex tasks like tracked changes and comments with ease.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing documents, including tracked changes and comments, using Python's OOXML library.
  • Redlining: Implement precise tracked changes for professional document review.
  • Use Case: A legal team needs to review a 50-page contract. They can use this Skill to apply specific edits, track all changes made, and add comments for collaborators, ensuring a clear and auditable review process.

Quick Start

Use the docx skill to create a new document with a title and two headings.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes and comments to a Word document programmatically?

You can add tracked changes and comments to a Word document by editing the underlying OOXML structure using Python, enabling precise redlining for professional document review and collaborator feedback.

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

Yes, you can generate new .docx files from scratch using JavaScript or TypeScript via docx-js, enabling complete control over document structure, formatting, and text content creation.

What's the best way to extract text from a .docx file while preserving formatting?

Extracting text from a .docx file while preserving formatting is best handled via pandoc, which reliably parses the document structure and converts the content into usable formats.

Does editing Word documents directly through OOXML maintain original formatting?

Editing Word documents directly through OOXML maintains original formatting by manipulating the raw XML structure, ensuring that existing styles and layouts remain intact during content modification.

What dependencies do I need to automate Word document generation and redlining?

Automating Word document generation and redlining requires pandoc for text extraction, docx-js for creation, libreoffice for processing, and Python OOXML libraries for tracked changes.

How do I manage a legal contract review process with automated redlining?

Managing a legal contract review with automated redlining involves applying tracked changes and comments directly to the .docx file, ensuring a clear and auditable review process for collaborators.