python-docx
Installation
SKILL.md
Python-docx Word Document Automation Skill
Overview
Python-docx is a Python library for creating and manipulating Microsoft Word (.docx) documents. This skill covers comprehensive patterns for document automation including:
- Document creation from scratch or templates
- Paragraph formatting with styles, fonts, and alignment
- Table generation with merged cells, styles, and formatting
- Headers and footers with page numbers and dynamic content
- Image insertion with sizing and positioning
- Style management for consistent document appearance
- Template manipulation for document workflows
- Mail merge patterns for bulk document generation