docx

Automate Word document creation, editing, and analysis with a Python DOCX workflow.

1|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/jakubciszak/family-plan --skill docx-jakubciszak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/jakubciszak/family-plan/tree/main/.claude/skills/external/docx
Command: npx skills add https://github.com/jakubciszak/family-plan --skill docx-jakubciszak

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

DOCX workflow automation reduces manual Word document handling by enabling programmatic creation, editing, and analysis of Word files while preserving structure and formatting.

Core Features & Use Cases

  • Programmatic DOCX creation from scratch or templates with content insertion while preserving OOXML structure.
  • Editing existing documents with tracked changes and comments support for collaborative workflows.
  • Content analysis and extraction to validate formatting, structure, and data within Word documents.

Quick Start

Load a DOCX document and automate creation, editing, and analysis tasks using the Python DOCX workflow.

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 while preserving OOXML structure?

Automate Word document editing through a Python-based DOCX workflow that programmatically inserts text and manages formatting while preserving the underlying OOXML structure. It handles document creation, editing, and analysis tasks using libraries designed for secure XML handling.

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

Yes, you can add tracked changes and comments to a DOCX file programmatically. The workflow supports collaborative editing features natively, allowing automated insertion of tracked changes and comment management directly within the Word document structure.

What Python libraries are required for DOCX workflow automation?

DOCX workflow automation requires defusedxml and lxml for secure OOXML handling, plus Pillow for image-related tasks. These dependencies enable the internal tooling to parse, modify, and manage the document structure during creation and editing processes.

How do I extract and analyze content from existing Word documents?

Extract and analyze content from existing Word documents by loading the DOCX file into the Python workflow. The process validates formatting, structure, and data within the document, enabling programmatic content extraction without manual file handling.

Does this DOCX workflow support creating documents from templates?

Yes, the DOCX workflow supports programmatic document creation from scratch or templates. You can insert content into existing templates while preserving the OOXML structure, ensuring formatting remains intact throughout the automated generation process.

What's the best way to validate formatting and structure in Word documents?

Validate formatting and structure in Word documents by applying the Python DOCX workflow's content analysis features. This approach programmatically checks OOXML structure and formatting consistency, reducing manual verification effort across multiple Word files.