docx

Automates creating, editing, and analyzing Word documents with XML editing and tracked changes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Eliminates the manual toil of creating, editing, and validating Word documents while keeping precise formatting, tracked changes, and structured layouts in sync.

Core Features & Use Cases

  • Guided Document Creation: Use docx-js with explicit page sizes, styles, numbering, tables, images, and hyperlinks to produce polished reports, memos, or templates.
  • Safe XML Editing: Unpack DOCX files, edit XML directly with smart quotes, and repack while validating IDs, relationships, and tracked changes against the ISO schema.
  • Workflow Support Tools: Includes Pandoc, LibreOffice conversions, and automated tracked-change acceptance for read/modify cycles, plus helper scripts for comments, run merging, and validation.

Quick Start

Use the docx skill to convert rough notes into a formatted Word document with headings, tables, and tracked-change friendly edits.

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 precise formatting and tracked changes?

Automate Word document generation using docx-js to apply explicit page sizes, styles, numbering, and tables while maintaining tracked-change friendly edits for professional reports. It guides document creation from rough notes to formatted output.

Can I edit the XML inside a DOCX file directly without breaking tracked changes?

Edit DOCX XML directly by unpacking files, modifying XML with smart quotes, and repacking while validating IDs, relationships, and tracked changes against the ISO schema to ensure document integrity.

Does LibreOffice conversion work alongside pandoc extraction for DOCX workflows?

LibreOffice conversion and pandoc extraction work together as workflow support tools to enable read and modify cycles, plus automated tracked-change acceptance for processing Word documents across different formats.

What is the best way to handle tracked-change acceptance when modifying Word documents?

Handle tracked-change acceptance using automated workflow support tools that process read and modify cycles, along with helper scripts for comments, run merging, and validation to ensure accurate tracked-change workflows.

How do I validate IDs and relationships in a repacked DOCX file after XML editing?

Validate IDs and relationships in a repacked DOCX file by checking them against the ISO schema during the safe XML editing process, ensuring all tracked changes and structural references remain intact.

Why do my tracked changes disappear when converting Word documents with LibreOffice?

Tracked changes can disappear during LibreOffice conversion if the workflow lacks automated tracked-change acceptance and validation helper scripts to preserve change markers and run merging across format conversions.