docx

Automate Word document generation, editing, and formatting across .docx files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gong-type/skills --skill docx-gong-type
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/gong-type/skills/tree/main/docx
Command: npx skills add https://github.com/gong-type/skills --skill docx-gong-type

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve?

Word document creation, editing, and formatting can be time-consuming and error-prone; this skill automates those tasks to save time and ensure consistency.

Core Features & Use Cases

  • Create polished Word documents with formatting, styles, and layout.
  • Read, edit, and reorganize content in existing .docx files, including inserting images, tables, and lists.
  • Generate professional documents (reports, letters, templates) with features like tables of contents, headings, and page numbers, or apply consistent branding to multiple documents.

Quick Start

Create a polished Word document from a brief outline or content request.

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 generation with formatting and images?

Automating Word document generation creates professional .docx files with consistent formatting, styles, images, and tables. It eliminates manual formatting errors by programmatically applying layouts, headings, and page numbers to reports and templates.

Can I edit existing .docx files to insert tables and tracked changes?

Editing existing .docx files allows you to read, modify, and reorganize content while inserting tables, images, and tracked changes. This automates document updates and ensures consistent branding across multiple files without manual intervention.

What's the best way to apply consistent branding to multiple Word templates?

Applying consistent branding to multiple Word templates is best handled by automating .docx formatting across batches. This ensures uniform styles, headings, and layouts are applied to every document, saving time and preventing formatting discrepancies.

Does automated document generation require lxml to process .docx files?

Automated .docx document generation requires lxml and defusedxml dependencies to securely parse and manipulate XML structures. These libraries enable the programmatic reading, editing, and formatting of Word documents without needing Microsoft Word installed.

What are the limitations of automating Word docs with scripts?

Automating Word docs with scripts is limited to processing static .docx XML structures and cannot render dynamic content or interact with live Word application features. It handles text, images, tables, and tracked changes, but complex layout rendering depends entirely on the viewer.