word-documents

Automate Word docx analysis, commenting, formatting, and merging workflows.

2|1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/dalehurley/phpbot --skill word-documents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: word-documents
Source: https://github.com/dalehurley/phpbot/tree/main/skills/word-documents
Command: npx skills add https://github.com/dalehurley/phpbot --skill word-documents

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, lxml, pandoc, docxcompose, and includes scripts (resource) components.

What problem does it solve?

Word document workflows are often manual, error-prone, and time-consuming, requiring repetitive analysis, annotation, change-tracking, formatting, and multi-format conversions.

Core Features & Use Cases

  • Analyze documents (structure, metadata, styles, comments, and tracked changes)
  • Manage comments and tracked changes, apply formatting standards, and merge or compare documents
  • Convert between Markdown, DOCX, PDF, and HTML; create new documents from content; and merge multiple files
  • Typical scenarios include legal/compliance drafting, contract reviews, and regulatory submissions

Quick Start

Create a document from Markdown using create.py and then apply a formatting standard with format.py.

Frequently Asked Questions about word-documents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Word document analysis for tracked changes and comments?

Automate Word document analysis by using Python scripts with python-docx and lxml to extract document structure, metadata, styles, comments, and tracked changes from docx files without manual review.

What's the best way to merge multiple docx files while preserving formatting?

Merge multiple docx files while preserving formatting by orchestrating Python tools like python-docx and docxcompose, which handle advanced document composition for legal and corporate workflows.

Can I convert Markdown to DOCX and apply formatting standards programmatically?

Convert Markdown to DOCX using create.py and apply formatting standards with format.py, leveraging pandoc and python-docx to automate multi-format conversions across Markdown, DOCX, PDF, and HTML.

Does python-docx support contract redlining and regulatory submission workflows?

python-docx supports contract redlining and regulatory submission workflows by enabling automated commenting, tracked changes management, and formatting standardization for legal and compliance document tasks.

How do I extract and manage comments in Word documents using Python?

Extract and manage comments in Word documents using Python scripts powered by python-docx and lxml, allowing you to analyze, add, and manipulate document annotations programmatically for review workflows.

What are the limitations of using docxcompose for advanced document merges?

docxcompose handles advanced merges but may face limitations with complex style conflicts across source documents; python-docx and lxml provide granular control for resolving structural inconsistencies during orchestration.