docx

Create, edit, and format .docx documents with images, tracked changes, and comments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation, reading, editing, and formatting of Word documents (.docx), reducing manual and repetitive document work.

Core Features & Use Cases

  • Create, read, edit, and format Word documents with robust styling, tables, headers, and footers.
  • Insert images, perform find-and-replace, manage tracked changes and comments, and convert content into polished Word outputs.
  • Generate templates or deliverables such as reports or letters from content, including professional formatting and branding.

Quick Start

Generate a polished Word document from the provided content using your preferred formatting rules.

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?

Automate Word document creation by applying scripts to generate .docx files with robust styling, tables, headers, footers, and images without manual formatting work.

Can I insert images and manage tracked changes in a .docx file programmatically?

Insert images and manage tracked changes in a .docx file programmatically through scripts that handle find-and-replace, comments, and revision tracking automatically.

What's the best way to convert content into polished Word documents?

Convert content into polished Word documents by using pandoc and soffice dependencies to transform source material into formatted .docx deliverables like reports or letters.

Do I need pandoc and soffice to generate Word documents from templates?

Pandoc and soffice are required dependencies to generate Word documents from templates, alongside python libraries like lxml and defusedxml for XML processing and document assembly.

Does this Word automation approach support professional branding and custom templates?

Word automation supports professional branding and custom templates by using frontmatter-defined configurations and optional assets to apply consistent formatting rules across generated reports and letters.

What are the limitations of automating .docx generation with python and lxml?

Automating .docx generation with python and lxml requires valid XML structures processed by defusedxml, meaning malformed input or unsupported Word features may cause script failures during document assembly.