docx

Create, edit, and analyze .docx files with docx-js and pandoc.

1|1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill docx-thanh-apero
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Thanh-apero/apero-kit-cli/tree/main/templates/skills/document-skills/docx
Command: npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill docx-thanh-apero

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, pandoc, ooxml, defusedxml, python-docx, python-isodate, python-docx-ooxml, python-docx-pictures, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of .docx files, providing a comprehensive toolkit for document manipulation and review.

Core Features & Use Cases

  • Document Creation: Build new Word documents from scratch with full formatting options.
  • Document Editing: Modify existing documents with redlining, tracked changes, and advanced formatting.
  • Content Analysis: Extract text and metadata from .docx files for analysis and reporting.
  • Use Case: For legal professionals, this Skill can facilitate the review and markup of complex documents, ensuring accuracy and efficiency.

Quick Start

Use the docx skill to create a new document with the following content: "This is a sample document."

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add redlining and tracked changes to a Word document?

Redlining and tracked changes are applied to Word documents by modifying the .docx file structure. The docx Skill enables precise document editing with tracked changes, allowing you to markup complex documents for legal and administrative review.

How do I extract text and metadata from a .docx file?

Text and metadata extraction from a .docx file is performed using pandoc. The Skill analyzes Word documents by leveraging pandoc to pull text content, enabling reporting and content analysis for administrative workflows.

Can I use python-docx with JavaScript to create Word documents?

You can create Word documents using python-docx for Python environments or docx-js for JavaScript and TypeScript manipulation. The Skill supports both libraries to build new .docx files from scratch with full formatting options.

What is the best way to review and markup complex legal documents?

The best way to review and markup complex legal documents is using a Skill designed for redlining .docx files. It streamlines legal workflows by enabling tracked changes, metadata analysis, and precise document editing for accuracy.

Does this Skill require pandoc to edit existing Word files?

Yes, pandoc is required specifically for text extraction when analyzing Word documents. While document editing and creation rely on libraries like docx-js or python-docx, pandoc handles the content extraction needed for analysis.

Why use python-docx-ooxml for document editing instead of standard python-docx?

python-docx-ooxml extends standard document editing by providing deeper access to the Office Open XML format. This allows for advanced formatting and manipulation of .docx files beyond basic creation, supporting complex redlining workflows.