$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / Document Processing / Docx Manipulation Skill by @claude-office-skills

Docx Manipulation Skill by @claude-office-skills

FREE
github stars★ 479updatedSep 2026repo@claude-office-skills
$git clone https://github.com/claude-office-skills/skills

The skill is the docx-manipulation folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original 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

### python-docx Fundamentals

```python
from docx import Document
from docx.shared import Inches, Pt, Cm
from docx.enum.text import WD_ALIGN_PARAGRAPH
from docx.enum.style import WD_STYLE_TYPE

# Create new document
doc = Document()

# Or open existing
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.