docx

Generate, edit, and validate .docx files via XML-based operations in JavaScript.

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

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 creating, editing, and managing 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 find-and-replace, extract text, and manage tracked changes or comments in existing documents.
  • Conversion & Cleanup: Convert legacy .doc files, accept tracked changes, and validate document structure to ensure compatibility across platforms.

Quick Start

Use the docx skill to create a new professional report with a table of contents and custom headings based on the provided project specifications.

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?

Automate Word document generation by programmatically building .docx files through XML-based operations. This approach supports complex structures including tables, headers, footers, and custom styles for consistent professional typography without manual formatting.

Can I convert legacy .doc files to .docx format programmatically?

Convert legacy .doc files to .docx format programmatically using integrated conversion tools. This process cleans up older documents, accepts tracked changes, and validates schema-compliant structure to ensure cross-platform compatibility.

Does this approach support managing tracked changes and comments in existing documents?

Managing tracked changes and comments in existing .docx files is fully supported. The skill manipulates document XML directly to accept, reject, or extract revisions and annotations without opening a word processor.

What's the best way to perform find-and-replace and extract text from .docx files?

The best way to perform find-and-replace and text extraction from .docx files is through XML-based content manipulation. This method directly accesses document structures to query and modify text while preserving layout control.

Do I need LibreOffice and pandoc to validate and convert Word documents?

You need LibreOffice and pandoc dependencies to handle document conversion and validation tasks. Poppler and the docx library are also required to support the underlying XML operations and PDF rendering workflows.

Are there limitations when generating complex reports with automated table of contents?

Limitations when generating complex reports with automated tables of contents relate to strict schema-compliant document structure requirements. Precise layout control and professional typography depend on correctly defining XML elements for custom headings and styles.