docx

Create and edit .docx files with images, tables, and tracked changes.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/bryan-zxc/popmartdemo --skill docx-bryan-zxc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/bryan-zxc/popmartdemo/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/bryan-zxc/popmartdemo --skill docx-bryan-zxc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document tasks such as formatting, embedding images, and tracking changes are tedious and error-prone when done manually.

Core Features & Use Cases

  • Read, edit, and format Word documents (.docx) programmatically.
  • Insert or replace images, perform find-and-replace, manage tracked changes and comments.
  • Assemble polished Word outputs (reports, letters, templates) with consistent styling.

Quick Start

Provide a Word document (.docx) and specify the edits you want (formatting, images, or content changes) to start.

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 editing and formatting for .docx files?

You can programmatically read, edit, and format .docx files by providing the Word document and specifying desired edits. This automates document creation, applying consistent styling for reports, letters, and templates without manual formatting.

How do I insert images and perform find-and-replace in a Word document programmatically?

Programmatic image insertion and find-and-replace in a Word document are executed by providing the .docx file and specifying the target content. This automates content updates and embeds visual assets directly into the document.

Can I manage tracked changes and generate a table of contents in .docx files?

Yes, you can manage tracked changes and generate a table of contents within .docx files. The tooling programmatically applies tracked changes and creates TOCs to support professional drafting and content review workflows.

Does this approach require Python and specific dependencies for DOCX manipulation?

Yes, programmatic DOCX manipulation requires Python and specific dependencies including defusedxml, lxml, soffice, and git. These components support the advanced internal design for formatting, tracked changes, and TOC generation in .docx files.

What is the best way to assemble professional Word reports with consistent styling?

The best way to assemble professional Word reports with consistent styling is programmatically. By specifying formatting and content requirements for a .docx file, you automate the generation of polished, consistently styled documents.

Why does manual Word document formatting fail for large-scale content conversion?

Manual Word document formatting fails for large-scale content conversion because embedding images, tracking changes, and styling are tedious and error-prone. Automating .docx manipulation ensures consistent formatting and accurate content updates.