docx

Create and modify Microsoft Word documents via XML and JavaScript.

18|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/dachent/skills --skill docx-dachent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/dachent/skills/tree/main/.upstream/anthropic-skills/57546260929473d4e0d1c1bb75297be2fdfa1949/skills/docx
Command: npx skills add https://github.com/dachent/skills --skill docx-dachent

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the challenge of programmatically creating, editing, and analyzing complex Microsoft Word documents, ensuring professional formatting and data integrity without manual intervention.

Core Features & Use Cases

  • Document Generation: Create polished reports, memos, and templates with custom styles, tables, and headers.
  • Content Manipulation: Perform find-and-replace, extract content, and manage tracked changes or comments in existing files.
  • Format Conversion: Seamlessly convert legacy .doc files to .docx and export documents to PDF for review.

Quick Start

Use the docx skill to create a new report based on the provided data and apply the standard corporate template formatting.

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 using JavaScript-based XML manipulation to create polished reports with custom styles, headers, and tables without manual formatting.

Can I programmatically manage tracked changes and comments in existing docx files?

Yes, you can programmatically manage tracked changes and comments in existing docx files through XML manipulation to extract content or perform find-and-replace operations.

Do I need LibreOffice and pandoc to convert legacy doc files to docx?

Yes, converting legacy .doc files to .docx and exporting documents to PDF requires LibreOffice, pandoc, and the docx npm package for full operational capability.

What is the best way to extract content from a Microsoft Word document?

The best way to extract content from a Microsoft Word document is using XML manipulation to parse the internal structure, ensuring data integrity without manual intervention.

Does Word document automation support professional layout styling for corporate templates?

Word document automation supports professional layout styling for corporate templates by applying custom styles, headers, and tables programmatically via JavaScript generation.

Are there limitations when modifying complex Microsoft Word documents programmatically?

Modifying complex Microsoft Word documents programmatically requires dependencies like LibreOffice and pandoc; without them, format conversion and full operational capabilities are limited.