docx

Create and edit Word .docx documents with tracked changes and comments.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mirandagabrieldev/claude-build-template --skill docx-mirandagabrieldev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/mirandagabrieldev/claude-build-template/tree/main/skills/docx
Command: npx skills add https://github.com/mirandagabrieldev/claude-build-template --skill docx-mirandagabrieldev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the end-to-end workflow for Word documents (.docx) including creation, editing with OOXML, and analysis such as extracting content and preserving formatting. It provides structured guidance for applying tracked changes, comments, and redlining in professional documents.

Core Features & Use Cases

  • Create new Word documents programmatically using docx-js.
  • Edit existing Word documents with Python OOXML tooling and DOM access for advanced scenarios.
  • Perform redlining reviews and tracked changes workflows to prepare documents for approval and compliance.

Quick Start

Create a new Word document named report.docx 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 automate Word document creation and preserve formatting?

Automate Word document creation using docx-js for new files and Python OOXML libraries to edit existing documents while preserving formatting. It supports programmatic generation of .docx files with structured content like titles and paragraphs.

Can I apply tracked changes and redlining to a .docx file programmatically?

Apply tracked changes and redlining to .docx files programmatically using Python OOXML tooling and DOM access. The Skill supports professional review workflows by structuring comments and revisions for compliance and approval processes.

What's the best way to extract text from a Word document without losing formatting?

Extract text from Word documents without losing formatting by leveraging Python OOXML libraries and explicit unpack and pack steps for document modification. This approach ensures structural elements and styling are preserved during content extraction.

Does this Word document automation approach require any external dependencies?

Word document automation with this Skill requires no external dependencies. It bundles the necessary logic for docx-js creation and Python OOXML editing internally, allowing you to generate and modify .docx files without installing additional packages.

How do I edit an existing .docx file using OOXML directly?

Edit existing .docx files using OOXML directly through explicit unpack and pack steps combined with Python DOM access. This allows advanced modification of document structure and content while maintaining the original formatting integrity.

When should I use Python OOXML libraries instead of docx-js for document editing?

Use Python OOXML libraries for advanced editing scenarios of existing Word documents, while docx-js is suited for creating new .docx files programmatically. The choice depends on whether you are generating from scratch or modifying existing content.