docx

Create and edit .docx files with tracked changes and text extraction.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Zaibunis/spec-driven-hackathons --skill docx-zaibunis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Zaibunis/spec-driven-hackathons/tree/main/phase-5/.claude/skills/docx
Command: npx skills add https://github.com/Zaibunis/spec-driven-hackathons --skill docx-zaibunis

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 process of creating, editing, and analyzing professional Word documents, eliminating manual formatting and complex tracked changes.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript with docx-js.
  • Content Editing: Modify existing .docx files using Python's Document library for OOXML manipulation.
  • Tracked Changes (Redlining): Implement precise tracked changes for document review and collaboration.
  • Text Extraction & Analysis: Convert .docx to Markdown or extract raw XML for detailed content analysis.
  • Use Case: Automatically update a legal contract by applying specific clause changes, ensuring all tracked changes are correctly formatted and preserved.

Quick Start

Use the docx skill to create a new document with a title, a heading, and a paragraph of text.

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 and editing?

Automate Word document creation and editing by using JavaScript with docx-js to generate new .docx files or Python libraries to manipulate existing OOXML structures, preserving formatting and applying tracked changes for professional workflows.

Can I implement precise tracked changes for document review in a .docx file?

Yes, you can implement precise tracked changes, or redlining, for document review in a .docx file. This Skill supports adding correctly formatted tracked changes and comments for legal, academic, and business collaboration workflows.

Does this approach support converting .docx to Markdown for content analysis?

Yes, this approach supports converting .docx to Markdown or extracting raw OOXML. This allows you to perform detailed text extraction and content analysis on professional Word documents programmatically without losing structural data.

What's the best way to update a legal contract with specific clause changes?

The best way to update a legal contract is to use a Skill that applies specific clause changes via Python OOXML manipulation. This ensures all modifications are captured as correctly formatted tracked changes, preserving the original document workflow.

Do I need pandoc and libreoffice to modify existing Word documents?

You need pandoc, libreoffice, and poppler-utils installed to fully support modifying existing Word documents. These dependencies enable text extraction, format conversion, and OOXML manipulation for comprehensive document editing workflows.