docx

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

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/Aiden-Kwak/Bob-Skills --skill docx-aiden-kwak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Aiden-Kwak/Bob-Skills/tree/main/.cursor/skills/docx
Command: npx skills add https://github.com/Aiden-Kwak/Bob-Skills --skill docx-aiden-kwak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, pandoc, LibreOffice, Poppler, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and manipulation of Word documents (.docx files), enabling users to produce polished, professional documents with ease.

Core Features & Use Cases

  • Document Generation: Create new .docx files from scratch using JavaScript (docx-js).
  • Content Manipulation: Read, edit, and convert content within existing .docx files.
  • Formatting: Apply styles, lists, tables, images, headers, footers, and tables of contents.
  • Tracked Changes: Manage tracked changes and comments within documents.
  • Use Case: Generate a client report with a custom letterhead, table of contents, and specific formatting, or automatically accept all tracked changes in a document before sending it.

Quick Start

Use the docx skill to create a new 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 generate Word documents with complex formatting automatically?

You can generate Word documents with complex formatting by using the docx-js library via Node.js to create .docx files from scratch, applying styles, tables, headers, and tables of contents programmatically.

Can I accept all tracked changes in a .docx file before sending it?

Yes, you can manage and automatically accept all tracked changes and comments within existing Word documents by utilizing the content manipulation and XML editing capabilities provided.

Do I need LibreOffice to convert Word documents to other formats?

Yes, LibreOffice is required alongside pandoc and Poppler to handle command-line document conversion and specific editing tasks for .docx files across different formats.

What's the best way to edit XML content directly in an existing .docx file?

The best way to edit XML content directly in existing .docx files is by manipulating the document structure through the provided command-line tools and scripts, allowing precise content modification.

How do I add a custom letterhead and table of contents to a Word document?

To add a custom letterhead and table of contents, use the document generation features to programmatically build the .docx file, inserting images, headers, footers, and structural elements.

Does pandoc work with docx-js for manipulating Word documents?

Yes, pandoc works with docx-js as a dependency to automate the creation, editing, and format conversion of .docx files, handling complex document manipulation tasks efficiently.