DOCX Skill

Create, edit, and review Microsoft Word .docx documents programmatically.

5|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill docx-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: DOCX Skill
Source: https://github.com/lidge-jun/cli-jaw-skills/tree/main/docx
Command: npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill docx-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and review of Microsoft Word (.docx) documents, automating complex tasks and ensuring document integrity.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using programmatic control over text, styles, tables, and images.
  • Document Editing: Modify existing .docx files by unpacking, editing XML, and repacking, including tracked changes and comments.
  • Visual Review: Convert .docx to PDF and then to PNG for visual inspection and comparison.
  • Use Case: Automatically generate monthly reports by populating a template .docx file with data, inserting charts, and applying consistent formatting.

Quick Start

Use the docx skill to create a new document with the title "Project Proposal" and a paragraph saying "This is the main content.".

Frequently Asked Questions about DOCX Skill

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

FAQPage Schema
How do I generate a Word document from a template programmatically?

To generate a Word document from a template programmatically, this capability uses the 'docx' npm package to populate .docx files with text, styles, tables, and images for automated reporting.

Can I edit OOXML structure directly to manage tracked changes in Word?

Yes, you can manage tracked changes by unpacking the .docx file, editing the OOXML structure directly via Python scripts, and repacking the document to preserve revision integrity.

How do I convert a .docx file to PDF or PNG for visual review?

Converting a .docx file to PDF or PNG for visual review requires processing the document through LibreOffice and poppler-utils to render images for inspection and comparison.

What dependencies are needed to create and manipulate .docx files?

Creating and manipulating .docx files requires the 'docx' npm package for generation, Python scripts for OOXML manipulation, and LibreOffice with pandoc for format conversion.

Does this approach support inserting images and charts into existing Word documents?

Yes, this approach supports inserting images and charts into existing Word documents by unpacking the .docx archive, manipulating the internal XML structure, and repacking the file.