docx-manipulation

Installation
Summary

Programmatic creation, editing, and manipulation of Word documents with formatting, tables, and images.

  • Supports document creation from scratch, opening existing files, and template-based workflows with placeholder replacement
  • Includes comprehensive formatting capabilities: paragraphs, headings, character styling, page setup, headers, footers, and built-in Word styles
  • Enables table creation with dynamic row/column management, cell merging, and data population from structured sources
  • Handles image embedding, section configuration (margins, orientation, size), and multi-section document layouts
SKILL.md

DOCX Manipulation Skill

Overview

This skill enables programmatic creation, editing, and manipulation of Microsoft Word (.docx) documents using the python-docx library. Create professional documents with proper formatting, styles, tables, and images without manual editing.

How to Use

  1. Describe what you want to create or modify in a Word document
  2. Provide any source content (text, data, images)
  3. I'll generate python-docx code and execute it

Example prompts:

  • "Create a professional report with title, headings, and a table"
  • "Add a header and footer to this document"
  • "Generate a contract document with placeholders"
  • "Convert this markdown content to a styled Word document"

Domain Knowledge

Related skills
Installs
1.6K
GitHub Stars
116
First Seen
Mar 9, 2026