docx

Create and edit .docx files using docx-js, pandoc, and soffice.

1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/Adam-Guerin/Asmblr --skill docx-adam-guerin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Adam-Guerin/Asmblr/tree/main/skills/docx
Command: npx skills add https://github.com/Adam-Guerin/Asmblr --skill docx-adam-guerin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, pandoc, soffice, pdftoppm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill streamlines the creation, editing, and manipulation of Word documents (.docx files), eliminating manual formatting and complex operations.

Core Features & Use Cases

  • Document Creation: Generate professional Word documents with custom formatting, tables, lists, and images using JavaScript.
  • Document Editing: Modify existing .docx files by unpacking, editing XML, and repacking.
  • Tracked Changes: Add, accept, or reject tracked changes with specified authors and comments.
  • Conversion: Convert between document formats (e.g., .doc to .docx) and extract content using tools like pandoc.

Quick Start

Use the docx skill to create a new Word document with a title and a paragraph.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document generation with complex formatting?

Automate Word document generation by using the docx-js JavaScript library to programmatically create .docx files with custom formatting, tables, lists, and images.

What is the best way to add tracked changes to an existing .docx file?

Add tracked changes to a .docx file by unpacking the document, editing the underlying XML directly, and repacking it, allowing you to specify authors and comments for revisions.

Do I need Node.js and LibreOffice to create and convert Word documents?

Yes, Node.js is required to run the docx-js library for document creation and editing, while LibreOffice (soffice) is necessary for handling certain document format conversions.

Can I convert older .doc files to .docx format using pandoc?

Yes, you can convert between document formats such as .doc to .docx using pandoc, and LibreOffice is also utilized to facilitate additional document conversion and editing tasks.

How does editing the XML inside a .docx file work?

Editing a .docx file works by unpacking the document archive, manipulating the raw XML structure to modify content or formatting, and then repacking the files back into a valid .docx format.