docx

Automate .docx document creation, editing, and formatting tasks.

14|3|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/kevinlin/cowork-z --skill docx-kevinlin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/kevinlin/cowork-z/tree/main/src-tauri/resources/skill-templates/doc-docx
Command: npx skills add https://github.com/kevinlin/cowork-z --skill docx-kevinlin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml.

What problem does it solve?

Word document creation, editing, and formatting can be tedious and error-prone when done manually; this Skill guides and automates the process to produce consistent .docx outputs.

Core Features & Use Cases

  • Automated Word document creation and editing with formatting, headings, and styles.
  • Image insertion, find-and-replace, and tracked changes or comments handling to maintain document integrity.
  • Deliverables include reports, letters, templates, memos, and other polished Word documents.

Quick Start

Create a polished Word document (.docx) with the requested structure and styling.

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 with headings and a table of contents?

Automating Word document generation applies predefined styles, headings, and a table of contents to produce consistent .docx outputs. This process eliminates manual formatting errors and ensures professional structure for reports, letters, and memos.

Can I insert images and apply tracked changes to an existing .docx file?

Yes, you can insert images and apply tracked changes or comments to an existing .docx file. This maintains document integrity by recording revisions clearly, allowing for seamless review and collaborative editing workflows.

What is the best way to do find-and-replace across a Word document?

The best way to do find-and-replace across a Word document is using automated tooling that scans the .docx XML structure directly. This approach ensures deterministic results by accurately targeting text without manual editing risks.

Does this Word document automation approach require lxml and defusedxml?

Yes, this Word document automation approach requires lxml and defusedxml dependencies. These libraries handle XML parsing and secure the document structure manipulation required for reliable formatting, image insertion, and tracked changes generation.

Why does manual Word document formatting lead to inconsistencies?

Manual Word document formatting leads to inconsistencies because human editing is tedious and error-prone across large files. Automating .docx production with predefined templates, styles, and metadata-driven generation ensures uniform formatting and deterministic outputs.