docx

Create, edit, and format Word documents with tracked changes and images.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables you to generate, read, edit, and format Word documents (.docx) automatically, reducing manual toil and ensuring consistent typography and structure.

Core Features & Use Cases

  • Create new .docx documents from structured input, including styled headings, tables, lists, and images.
  • Read and edit existing Word files, modify formatting, insert or replace images, apply find-and-replace, and track changes or comments.
  • Use cases include generating reports, letters, templates, résumés, and proposals from templates or user-provided content.

Quick Start

Use this skill to generate a professional letter in Word format from a simple text outline.

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 from structured input?

You can automate Word document generation by applying scripts to structured input, producing .docx files with styled headings, tables, lists, and inserted images. The Skill supports deterministic, frontmatter-driven workflows for consistent output.

Can I edit existing .docx files and apply tracked changes automatically?

Yes, you can read and edit existing .docx files to modify formatting, insert images, apply find-and-replace, and add tracked changes or comments. This enables automated modifications to reports, letters, and templates without manual formatting.

What's the best way to create Word templates for reports and proposals?

Creating Word templates is best handled through frontmatter-driven discovery with extensible script support to generate reports and proposals. This ensures consistent typography and structure across .docx files while reducing manual toil.

Does this Word document automation tool support image insertion and table formatting?

This Word document automation supports image insertion, table formatting, styled headings, and lists within .docx files. It relies on lxml and defusedxml dependencies to securely process the underlying XML structure for document generation.

Why use defusedxml and lxml for processing Word documents?

Defusedxml and lxml are used to securely and efficiently parse the XML structure underlying .docx files. This combination enables reliable reading, editing, and formatting of Word documents while mitigating XML-based vulnerabilities during automated generation.

What are the limitations of automating .docx creation with frontmatter-driven scripts?

Automating .docx creation with frontmatter-driven scripts is limited to deterministic document generation workflows. Highly complex layouts requiring manual visual adjustments or interactive desktop Word features may not be fully reproducible through automated script execution.