skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / Document Processing / Docx Manipulation Skill by @claude-office-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.
Create, edit, and manipulate Word documents programmatically using python-docx.
A python-docx guide for building and editing Word documents in code, covering document structure and adding content. A good choice if your toolchain is Python.
The original SKILL.md is organised into these sections:
Written and maintained by @claude-office-skills. It is published under the MIT license, which allows reuse with attribution. See the author profile. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
# 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.