docx

Create, edit, and analyze .docx files with tracked changes and formatting preservation.

2|1|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/ronniwheellike973/Mini-Agent --skill docx-ronniwheellike973
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ronniwheellike973/Mini-Agent/tree/main/mini_agent/skills/document-skills/docx
Command: npx skills add https://github.com/ronniwheellike973/Mini-Agent --skill docx-ronniwheellike973

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, pandoc, libreoffice, poppler, defusedxml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of .docx files, enabling users to efficiently manage their document workflows with advanced features like tracked changes and formatting preservation.

Core Features & Use Cases

  • Document Creation: Build new documents from scratch using JavaScript/TypeScript and docx-js library.
  • Document Editing: Modify existing documents with support for tracked changes, comments, and complex formatting.
  • Content Analysis: Extract text and analyze document structure using XML parsing tools like Pandoc and Document library.
  • Use Case: Suppose you have a lengthy legal document that requires extensive revisions. Use this Skill to apply tracked changes, comment on specific sections, and preserve the original formatting for a professional final product.

Quick Start

Use the docx skill to create a new document and add a heading with the title 'My Document'.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create and edit .docx files with tracked changes and formatting preservation?

To create and edit .docx files with tracked changes, this Skill manipulates document XML via docx-js and LibreOffice. It applies revisions, adds comments, and preserves complex formatting for professional document workflows.

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

The best way to extract text and analyze .docx document structure is by using XML parsing tools like Pandoc and the Document library. This Skill leverages those dependencies to parse content for comprehensive structural analysis.

Do I need LibreOffice and Poppler installed to convert documents to images?

Yes, you need LibreOffice and Poppler installed to convert documents to images. These dependencies are required alongside docx-js and Pandoc to manipulate XML files and render document content accurately.

Can I build a new .docx document from scratch using JavaScript?

Yes, you can build new .docx documents from scratch using JavaScript or TypeScript. This Skill utilizes the docx-js library to programmatically generate documents with headings, text, and complex formatting.

How does tracked changes handling work when modifying existing .docx content?

Tracked changes handling works by manipulating the underlying XML of .docx files to record revisions and comments. This Skill ensures original formatting is preserved while applying extensive modifications to existing content.

What are the limitations of using docx-js for complex document editing?

While docx-js handles document creation, complex .docx editing and format conversion rely on Pandoc and LibreOffice. Limitations may arise if dependencies lack specific support for highly intricate formatting or rendering edge cases.