docx

Create, read, edit, and format Word documents via docx-js and XML workflows.

2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Haseeb-Arshad/TaskHive --skill docx-haseeb-arshad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Haseeb-Arshad/TaskHive/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/Haseeb-Arshad/TaskHive --skill docx-haseeb-arshad

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document creation, reading, editing, and formatting can be tedious and error-prone. This Skill automates DOCX workflows to produce consistent, professional Word documents with minimal manual effort.

Core Features & Use Cases

  • Create new documents and templates
  • Read/extract content from existing documents
  • Edit text, images, tables, and formatting
  • Manage tracked changes and comments
  • Convert or export documents for delivery (e.g., to polished Word deliverables)

Quick Start

Provide a target .docx and the desired formatting or content changes; the skill will generate or modify the Word document accordingly.

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?

You can automate Word document creation and editing by providing a target .docx file with the desired content and formatting changes. The Skill generates or modifies the document using docx-js and XML-based extraction workflows to produce polished deliverables.

Can I insert images and manage tracked changes in a DOCX file programmatically?

Yes, you can insert images and manage tracked changes in a DOCX file programmatically. The Skill handles image insertion and tracked changes management through XML-based editing, allowing you to apply formatting and modify document content automatically.

Does this DOCX automation approach work with existing Word documents or only new templates?

This DOCX automation approach works with both existing Word documents and new templates. You can read and extract content from existing .docx files, edit text and tables, or create entirely new documents from scratch based on your specified formatting.

What's the best way to perform find-and-replace and manage comments in Word documents?

The best way to perform find-and-replace and manage comments in Word documents is through XML-based editing workflows. The Skill automates these text modifications and comment management tasks directly within the .docx file structure.

Do I need lxml or defusedxml installed to edit DOCX files?

Yes, you need lxml and defusedxml installed to edit DOCX files using this Skill. These dependencies enable the XML-based extraction and editing workflows required for manipulating Word document internals safely and effectively.