docx

Generate and manipulate Microsoft Word documents via XML-based editing and JavaScript.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, LibreOffice, Poppler, and includes scripts (resource) components.

What problem does it solve?

This skill solves the complexity of programmatically generating, editing, and analyzing Word documents, ensuring professional formatting and structural integrity without manual intervention.

Core Features & Use Cases

  • Document Generation: Create complex .docx files with tables, images, and custom styles using JavaScript.
  • Content Manipulation: Perform find-and-replace, extract content, and manage tracked changes or comments in existing documents.
  • Use Case: Automatically generate a polished project report from raw data, including a table of contents, headers, and footers, or process a legal contract to accept all tracked changes before final review.

Quick Start

Use the docx skill to create a new report document with the provided content and apply standard professional formatting.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automatically generate a Word document with custom styles and tables?

You can generate Word documents with custom styles and tables using this skill's JavaScript-driven creation engine. It programmatically builds complex .docx files, ensuring professional formatting and structural integrity without manual intervention.

Can I manage tracked changes and comments in an existing .docx file programmatically?

Yes, you can manage tracked changes and comments in existing .docx files. The skill manipulates document XML directly to perform find-and-replace, extract content, and accept tracked changes for automated review workflows.

Do I need LibreOffice and Pandoc to convert and analyze Word documents?

Yes, you need LibreOffice and Pandoc installed. These dependencies are required for the skill's document conversion and analysis workflows to process and transform .docx files effectively.

What is the best way to extract content from a legal contract in Word format?

The best way to extract content from a Word contract is using XML-based editing. This approach parses the .docx structure directly to retrieve text, manage tracked changes, and prepare the document for final review.

Does XML-based editing work for automating complex report generation from raw data?

XML-based editing works for automating report generation by manipulating document structures directly. It creates polished reports featuring tables of contents, headers, and footers from your raw data inputs.