docx

Create, edit, and analyze Word documents with tracked changes and comments.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/popodidi/harvis --skill docx-popodidi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/popodidi/harvis/tree/main/projects/pcctw/skills/docx
Command: npx skills add https://github.com/popodidi/harvis --skill docx-popodidi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the end-to-end workflow for creating, editing, and analyzing professional Word documents (.docx), reducing manual drafting and review time.

Core Features & Use Cases

  • Create new Word documents from templates and structured content while preserving formatting.
  • Edit & Redline documents with tracked changes and comments, supporting review workflows.
  • Analyze & Maintain Formatting to ensure consistent structure and readability across documents.

Quick Start

Use the docx skill to draft a new Word document from a template and apply a basic set of edits.

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 from a template while preserving formatting?

Automate Word document creation by using Python-based libraries and OOXML tooling to manipulate WordprocessingML, enabling template-based generation that preserves original formatting and document structure.

Can I add tracked changes and comments to a .docx file programmatically?

Yes, you can programmatically add tracked changes and comments to a .docx file. The Skill supports editing documents with redlining and comment-based review workflows, allowing automated content modification.

What's the best way to edit OOXML content without breaking existing document structure?

Edit OOXML content safely by using defusedxml and lxml to parse and manipulate WordprocessingML directly, ensuring that document structure, formatting, and readability are maintained throughout modifications.

Do I need Python libraries like lxml and defusedxml to manipulate WordprocessingML?

Yes, Python libraries like lxml and defusedxml are required dependencies. They provide the necessary OOXML tooling to parse, manipulate, and securely process WordprocessingML XML structures within .docx files.

How does redlining work when automating document review workflows in Word?

Redlining in automated document review works by applying tracked changes to the WordprocessingML XML structure, capturing content modifications as revisions that reviewers can accept or reject during the review cycle.

Can I analyze and maintain formatting consistency across multiple .docx documents?

Yes, you can analyze and maintain formatting consistency across .docx documents. The Skill inspects document structure and readability, ensuring consistent formatting and professional presentation across files.