docx

Create and transform Word .docx documents with docx-js and Python tooling.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/eykissvrino/project --skill docx-eykissvrino
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/eykissvrino/project/tree/main/_core/skills/docx
Command: npx skills add https://github.com/eykissvrino/project --skill docx-eykissvrino

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document creation, editing, and analysis are time-consuming when done manually; this skill automates formatting, styling, and content manipulation for Word (.docx) files.

Core Features & Use Cases

  • Programmatic creation of .docx documents with consistent styling, headers/footers, tables, and TOCs.
  • Read, modify, and transform existing Word files, including images, tables, and page layout rules.
  • Real-world use cases: generate templated reports, letters, or proposals with repeatable formatting and automated packaging.

Quick Start

Create a new Word document using the docx-js setup and validate the layout with the included templates.

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 consistent styling and tables?▼

Automate Word document generation by programmatically defining templates, page sizes, and fonts with docx-js. This produces polished .docx files with consistent headers, footers, tables, and table-of-contents without manual formatting.

What's the best way to batch edit and transform existing Word files?▼

Batch edit and transform existing Word files using Python-based tooling with pandoc-based reading and XML editing. This approach reads, modifies, and updates images, tables, and page layout rules across multiple .docx files simultaneously.

Can I use Python to read and modify images and tables in a .docx file?▼

Yes, you can use Python to read and modify images and tables in a .docx file. The tooling uses pandoc-based reading and XML editing via lxml and defusedxml to analyze and transform document content and page layout rules.

How do I add a table of contents when creating Word documents programmatically?▼

Add a table of contents when creating Word documents programmatically by using the docx-js setup to define headings and content structure. This generates automated TOCs alongside consistent styling for templated reports.

Does Word document automation require specific dependencies for XML editing?▼

Yes, Word document automation requires specific dependencies for XML editing, specifically defusedxml and lxml. These Python libraries enable the pandoc-based reading and XML transformation needed to analyze and modify .docx files.