docx

Create, edit, and convert Word .docx documents with structured formatting.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Removes the guesswork from creating, analyzing, or repairing Word .docx files by prescribing the tools, rules, and workflows that keep formatting, tracked changes, and comments aligned with professional expectations.

Core Features & Use Cases

  • Structured Creation: Guides the use of docx-js, explicit page dimensions, table width rules, and style overrides so new documents render consistently across platforms.
  • Editing & Redlining: Describes the unpack-edit-pack process, LibreOffice-powered tracked change acceptance, smart-quote encoding, and comment tooling to modify existing files without corrupting XML.
  • Conversions & Validation: Automates transforms from legacy .doc to .docx, handles PDF/image exports, and runs schema plus redlining validators to ensure compliant documents ready for deployment.

Quick Start

Request a Word memo with sections, tables, and tracked-change-safe comments and ask explicitly for a .docx file.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create a Word document with structured formatting and tables using docx-js?

To create a Word document with docx-js, define explicit page dimensions, apply table width rules, and use style overrides so new .docx files render consistently across platforms. This structured creation approach removes formatting guesswork from professional deliverables.

What is the best way to accept tracked changes in a Word document without corrupting the XML?

The best way to accept tracked changes without corrupting Word XML is a LibreOffice-powered process combined with an unpack-edit-pack workflow. This approach safely modifies existing .docx files while preserving comments and smart-quote encoding.

How do I extract tracked changes and comments from an existing Word file?

Extracting tracked changes and comments from a Word file involves an XML unpack-edit-pack workflow. By unpacking the .docx structure, you can reorganize redlining data and images directly from the XML, ensuring no tracked content is lost during extraction.

Can I convert legacy .doc files to .docx and validate the output for compliance?

Yes, you can convert legacy .doc files to .docx and validate compliance. The process automates transforms using pandoc plus validation scripts, running schema and redlining validators to ensure the final Word documents are fully compliant for deployment.

Does this Word document generation approach require lxml and defusedxml dependencies?

Yes, handling Word .docx documents through XML unpack-edit-pack workflows requires lxml and defusedxml dependencies. These libraries parse and secure the XML structure during editing, tracked-change acceptance, and document validation processes.