docx

Generate and edit .docx files with JavaScript and XML-level processing.

1|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/mwolff328-stack/WolffClaude --skill docx-mwolff328-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/mwolff328-stack/WolffClaude/tree/main/skills/docx
Command: npx skills add https://github.com/mwolff328-stack/WolffClaude --skill docx-mwolff328-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the complexity of programmatically generating, editing, and maintaining professional Word documents, ensuring consistent formatting and structure without manual intervention.

Core Features & Use Cases

  • Document Generation: Create complex .docx files with tables, headers, footers, and custom styles using JavaScript.
  • Content Manipulation: Perform precise find-and-replace, tracked changes, and XML-level edits on existing documents.
  • Conversion & Analysis: Convert legacy .doc files, extract text, and generate images from document pages.

Quick Start

Use the docx skill to generate a new professional report with a table of contents and custom heading styles based on the provided content.

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 for complex reports?

Automating Word document generation is handled by programmatically creating .docx files with tables, headers, footers, and custom styles using JavaScript and docx-js integration. This approach ensures consistent formatting and structure for complex reports without requiring manual formatting intervention.

Can I perform tracked changes and XML-level edits on existing .docx files?

Tracked changes and XML-level edits on existing .docx files are supported through Python-based utilities for precise document processing. You can perform find-and-replace operations, manage tracked changes, and manipulate the underlying XML structure for complex document refactoring and validation.

What's the best way to convert legacy .doc files and extract text from Word documents?

Converting legacy .doc files and extracting text from Word documents is achieved using Pandoc, LibreOffice, and Poppler dependencies. These tools enable conversion of older formats to .docx, text extraction, and generation of images from document pages for content analysis.

Does this approach require pandoc and LibreOffice to populate Word templates?

Pandoc, LibreOffice, docx-js, and Poppler are required dependencies for template population and document manipulation. The environment needs JavaScript for generation tasks and Python-based utilities for XML-level processing, ensuring both automated creation and precise editing capabilities are available.

Why does programmatic document editing require XML-level processing instead of standard libraries?

XML-level processing is required because standard libraries often lack support for precise find-and-replace, complex document refactoring, and tracked change management. Direct XML manipulation via Python utilities enables validation and structural edits that higher-level APIs cannot reliably perform on .docx files.