docx

Create, edit, and analyze .docx files via docx-js and XML workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables automated Word (.docx) document creation, reading, editing, and analysis, streamlining complex workflows that traditionally require manual XML manipulation and manual formatting.

Core Features & Use Cases

  • Programmatic DOCX creation and validation using docx-js, with practical templates for letters, reports, and templates.
  • Unpack/edit/repack workflow to read and modify Word documents by editing embedded DOCX XML (e.g., word/document.xml) and reassembling a valid DOCX.
  • Legacy compatibility tasks such as converting older .doc files to .docx, applying tracked changes, and generating polished documents with professional formatting.
  • End-to-end document generation and transformation use cases for business communications, content generation, and template production.

Quick Start

Unpack a DOCX, modify the word/document.xml to change text, and repack the archive to produce a modified Word document.

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 programmatically using docx-js?

Yes, you can edit existing Word documents by unpacking the .docx file, modifying the embedded word/document.xml directly, and repacking the archive to produce a valid modified DOCX file.

Can I convert legacy .doc files to .docx format automatically?

Yes, the Skill unpacks existing .docx files, reads and modifies the embedded word/document.xml content, and repacks the archive to save tracked changes and text modifications into a valid DOCX file.

What is the best way to modify text inside an existing .docx file?

The best way to edit an existing .docx file is to unpack the archive, modify the embedded word/document.xml content directly, and repack the folder to reassemble a valid modified Word document.

Does this approach support applying tracked changes to Word documents?

Yes, you can apply tracked changes to Word documents by unpacking the .docx file, modifying the embedded word/document.xml structure, and repacking the archive to produce a valid DOCX file.

Do I need to understand XML to edit Word documents with this tool?

Yes, editing existing Word documents requires unpacking the .docx file and directly modifying the embedded word/document.xml, so a working understanding of DOCX XML structure is necessary.