docx_original

Automates .docx creation, editing, XML manipulation, tracked changes, comments, and format conversion using JavaScript and Python scripts.

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

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 empowers you to programmatically create, edit, and manipulate Microsoft Word (.docx) documents, eliminating manual formatting and repetitive tasks.

Core Features & Use Cases

  • Programmatic Document Generation: Create new DOCX files from scratch using JavaScript (docx-js).
  • Content Manipulation: Read, edit XML, and repack documents; accept tracked changes; add comments.
  • Format Conversion: Convert legacy .doc files to .docx and render DOCX content to PDF or images.
  • Use Case: Automatically generate personalized offer letters for new hires, including their specific details and company letterhead, directly from a data source.

Quick Start

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

Frequently Asked Questions about docx_original

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

FAQPage Schema
How do I automate DOCX document generation using JavaScript and Python?

Automate DOCX document generation by using JavaScript with the docx-js package to create files from scratch, and Python scripts to read, edit XML, and repack documents. This eliminates manual formatting and repetitive tasks for personalized document creation.

Can I programmatically add comments and accept tracked changes in a Word document?

Yes, you can programmatically manage tracked changes and insert comments into Word documents. The Skill manipulates document XML directly to accept tracked changes and add comments without opening Microsoft Word.

Do I need LibreOffice and pandoc to convert legacy DOC files to DOCX?

Yes, converting legacy .doc files to .docx requires pandoc and LibreOffice. You also need poppler-utils and the docx npm package for full format conversion and rendering functionality to PDF or images.

What is the best way to generate personalized offer letters from a data source?

Generate personalized offer letters by programmatically creating DOCX files from a data source using JavaScript. This approach automatically populates specific details and company letterhead directly into the Word document format.

Does this Skill support rendering DOCX content to PDF or PNG images?

Yes, this Skill supports rendering DOCX content to PDF or PNG images. It uses LibreOffice and poppler-utils to convert and render the Word documents into image or PDF formats for export.