docx

Create and edit Word .docx files with JavaScript and pandoc.

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

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 manipulation of Microsoft Word documents (.docx files), eliminating manual formatting and complex operations.

Core Features & Use Cases

  • Document Generation: Create professional Word documents from scratch using JavaScript.
  • Content Manipulation: Edit existing .docx files, including unpacking XML, modifying content, and repacking.
  • Tracked Changes: Manage tracked changes and comments within documents, ensuring collaboration clarity.
  • Use Case: Automatically generate a monthly report in .docx format, incorporating data from various sources, applying specific formatting, and including tracked changes for review.

Quick Start

Use the docx skill to create a new Word document with the title "Quarterly Report".

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 and tables?

You can automate Word document generation by using the docx-js library to programmatically create professional .docx files with complex formatting, tables, lists, and images from scratch.

Can I edit existing .docx files and manage tracked changes programmatically?

Yes, you can edit existing .docx files by unpacking the XML, modifying the content, and repacking it, while also managing tracked changes and comments to ensure collaboration clarity.

What's the best way to convert markdown to a Word document?

The best way to convert markdown to a Word document is by using the integrated pandoc command-line tool, which translates markdown text directly into structured .docx format.

Do I need Node.js and LibreOffice to create and manipulate .docx files?

Yes, you need Node.js, npm, LibreOffice, and Poppler installed in your environment to unlock full functionality for .docx creation, manipulation, and format conversion.

Does this approach work for generating monthly reports with tracked changes for review?

Yes, this approach works for generating monthly reports by incorporating data from various sources, applying specific formatting, and including tracked changes directly within the .docx file for review.