docx

Create, edit, inspect, and quality-check Microsoft Word .docx files.

14|4|Updated Apr 23, 2025
One-click install
npx skills add https://github.com/cf-gbroady/PromptTemplateLibrary --skill docx-cf-gbroady
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/cf-gbroady/PromptTemplateLibrary/tree/main/Skills/docx
Command: npx skills add https://github.com/cf-gbroady/PromptTemplateLibrary --skill docx-cf-gbroady

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, zipfile, Pillow, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive tools for creating, editing, inspecting, and quality-checking Microsoft Word DOCX documents, streamlining document management processes.

Core Features & Use Cases

  • Document Creation & Editing: Build and refine Word documents with precision.
  • Document Inspection: Thoroughly review document structure, metadata, and accessibility.
  • Quality Checks: Ensure documents meet standards before final delivery.
  • Use Case: For instance, create a professional report, inspect for accuracy, and check for accessibility compliance using a single Skill.

Quick Start

To create a new DOCX document, use the docx skill with the command: 'Create a new DOCX document with title "Project Report".'

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document creation and formatting with Python?

Automating Word document creation and formatting involves using the python-docx library to build and edit DOCX files programmatically. This Skill handles document operations like formatting, metadata adjustments, and accessibility enhancements directly through Python scripts.

Can I check DOCX accessibility compliance using Python?

Checking DOCX accessibility compliance with Python is supported through document inspection features that review structure and metadata. This Skill enables quality checks to ensure Word documents meet required accessibility standards before delivery.

Does python-docx work with zipfile for Word document inspection?

python-docx works with zipfile to inspect Word documents by accessing the internal XML structure of DOCX files. This combination enables thorough review of document metadata, formatting accuracy, and accessibility features.

What's the best way to edit metadata in a DOCX file programmatically?

Editing metadata in a DOCX file programmatically is best handled using python-docx combined with zipfile to access and modify internal document properties. This Skill supports metadata adjustments as part of its document inspection and editing capabilities.

Do I need Pillow installed to process DOCX documents with Python?

Pillow is required to process DOCX documents with this Skill because it handles image processing within Word files. Along with python-docx and zipfile, Pillow is a necessary dependency for complete document inspection and editing.

Why does my Word document fail accessibility quality checks after automation?

Word documents may fail accessibility quality checks after automation if formatting or metadata structures are incomplete. This Skill provides inspection tools to review document structure and apply accessibility enhancements to ensure compliance before delivery.