docx

Generate and edit .docx files with tables, headers, and tracked changes.

Updated May 5, 2026
One-click install
npx skills add https://github.com/iani-kuli/harness_bro --skill docx-iani-kuli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/iani-kuli/harness_bro/tree/main/.claude/skills/curated/docx
Command: npx skills add https://github.com/iani-kuli/harness_bro --skill docx-iani-kuli

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill eliminates the complexity of programmatically creating, editing, and analyzing Word documents, ensuring professional formatting and structural integrity without manual intervention.

Core Features & Use Cases

  • Document Generation: Create complex .docx files with tables, headers, footers, and custom styles using JavaScript.
  • Content Manipulation: Extract text, perform find-and-replace, and manage tracked changes or comments via XML-level editing.
  • Conversion & Cleanup: Convert legacy .doc files, generate PDFs, and accept tracked changes using integrated LibreOffice tools.

Quick Start

Use the docx skill to create a new report document with a table of contents and custom heading styles based on the provided project requirements.

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

Automated document generation creates complex .docx files with tables, headers, footers, and custom styles using JavaScript. This skill ensures professional formatting and structural integrity without manual intervention.

Can I perform find-and-replace and manage tracked changes via XML-level editing?

XML-level editing allows direct content manipulation to extract text, perform find-and-replace, and manage tracked changes or comments. This provides precise control over the internal document structure.

Does this workflow support converting legacy .doc files and generating PDFs?

The workflow supports converting legacy .doc files, generating PDFs, and accepting tracked changes using integrated LibreOffice tools. This handles cross-platform document compatibility and document cleanup efficiently.

Do I need pandoc and LibreOffice installed to manage document conversion and validation?

Automated conversion workflows and document validation rely on integrated dependencies including pandoc, LibreOffice, docx, and poppler. These tools are required to handle cross-platform document compatibility and PDF generation.

What is the best way to extract text and content from a .docx file programmatically?

XML-based editing is the best way to extract text programmatically, allowing you to directly access and manipulate the underlying schema-compliant XML structure of the Word document.

Are there limitations when using JavaScript for dynamic report creation in Word?

JavaScript dynamic report creation requires schema-compliant XML structure to maintain professional typography. Complex documents with extensive tracked changes demand careful XML-level management to avoid structural integrity issues.