docx

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

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

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 the creation, editing, and analysis of professional Word documents, eliminating manual formatting and complex change tracking.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing .docx files, including tracked changes and comments, using Python.
  • Tracked Changes: Implement precise redlining and review workflows, preserving formatting and author attribution.
  • Use Case: Automatically update a legal contract template with new client details, dates, and clauses, ensuring all changes are properly tracked for review.

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 automate Word document generation from scratch?

Automate Word document generation by creating new .docx files from scratch using JavaScript and TypeScript. This eliminates manual formatting by generating structured documents with titles, headings, and content programmatically.

Can I add tracked changes and comments to an existing .docx file?

Yes, you can add tracked changes and comments to an existing .docx file using Python. It supports precise redlining and review workflows while preserving formatting and author attribution during content editing.

What's the best way to update a legal contract template with tracked changes?

The best way to update a legal contract template is using automated .docx editing with Python. It injects new client details, dates, and clauses while ensuring all modifications are properly redlined for review.

Does this document editing approach preserve original formatting during redlining?

Yes, this document editing approach preserves original formatting during redlining. It utilizes a Python OOXML library for complex manipulation, ensuring formatting and author attribution remain intact throughout tracked changes.

Do I need pandoc and libreoffice to manage .docx files?

Yes, pandoc and libreoffice are required dependencies. You also need docx, poppler-utils, and defusedxml to support comprehensive document creation, editing, analysis, and complex OOXML manipulation workflows.