docx

Create, modify, and analyze .docx files with formatting and XML manipulation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, LibreOffice, Pandoc, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive solution for professional document creation, editing, and analysis, streamlining workflows related to text manipulation, formatting, and collaboration.

Core Features & Use Cases

  • Document Creation & Editing: Support for creating, modifying, and analyzing Word documents with rich formatting options.
  • Text Extraction & Manipulation: Extract text from Word documents and manipulate it with precision.
  • Use Case: If you need to convert a Word document to markdown with tracked changes or analyze the XML structure of a document, this skill is ideal.

Quick Start

Use the docx skill to convert the attached document 'report.docx' to markdown format and include tracked changes.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I convert a Word document to markdown while preserving tracked changes?

Converting a .docx file to markdown with tracked changes requires parsing the document's XML structure to retain revision marks. Using Pandoc alongside document manipulation libraries allows you to extract text and format revisions accurately.

What is the best way to extract text and analyze the XML structure of a .docx file?

To analyze a .docx file's XML structure, you extract text by parsing the document's underlying XML markup. This allows for detailed inspection and manipulation of formatting elements within the Word document.

Do I need LibreOffice and Pandoc installed to create and edit Word documents programmatically?

Yes, creating and editing Word documents programmatically requires LibreOffice and Pandoc for handling conversions and formatting, alongside the docx-js library for generating and modifying the .docx files.

Can I modify existing Word document formatting and manipulate text without losing original styles?

Modifying Word document formatting without losing original styles is possible by manipulating the document's XML structure directly. This method ensures that text manipulation and formatting adjustments maintain the original formatting integrity.

Does Pandoc support converting markdown back into a fully formatted .docx file?

Pandoc supports converting markdown back into a fully formatted .docx file. Utilizing Pandoc's conversion engine allows you to generate Word documents with rich formatting options directly from markdown source files.