docx

Create, edit, and analyze Word documents with tracked changes and comments.

3|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/TheArchitectit/awesome-cline-skills --skill docx-thearchitectit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/TheArchitectit/awesome-cline-skills/tree/main/skills/docx
Command: npx skills add https://github.com/TheArchitectit/awesome-cline-skills --skill docx-thearchitectit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually creating, editing, or reviewing professional Word documents with tracked changes, comments, and precise formatting is time-consuming and error-prone, especially for collaborative or formal use cases like contracts, reports, and academic papers.

Core Features & Use Cases

  • New Document Creation: Build formatted .docx files from scratch with headings, body text, and custom styling using the docx-js library, ideal for reports, proposals, and official documents.
  • Tracked Changes & Redlining: Implement minimal, precise tracked changes for document reviews, required for legal, academic, business, and government documents where change visibility is mandatory.
  • Content Extraction & Editing: Extract full text from existing documents, modify underlying OOXML for advanced edits, and convert documents to images for visual analysis.
  • Use Case: If you receive a 40-page vendor contract with 15 requested edits, this skill automates the precise OOXML changes to mark only modified text, preserving all existing formatting and comments.

Quick Start

Use the docx skill to create a new formatted project status report with a title, section headings, and bulleted body text, then save it as q3-project-report.docx.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate tracked changes and redlining in Word documents?

Automating tracked changes in Word documents involves modifying the underlying OOXML structure to mark only edited text while preserving existing formatting and comments. This approach ensures precise redlining for legal, academic, and business review workflows.

Can I extract text from a .docx file without losing formatting?

Yes, you can extract text from a .docx file using pandoc while preserving the document's formatting structure. The process unpacks the document archive to access full text and media, enabling content extraction for analysis or conversion.

What is the best way to generate a new .docx file from scratch programmatically?

The best way to generate a new .docx file programmatically is using the docx JavaScript library to build formatted files. You can define headings, body text, and custom styling to create reports, proposals, and official documents.

Do I need Python to edit OOXML files inside a Word document?

Yes, you need Python zipfile utilities to edit OOXML files inside a Word document archive. This allows for advanced document editing and repacking of files when applying precise modifications beyond standard text replacement.

How does OOXML editing handle complex formatting in existing Word documents?

OOXML editing handles complex formatting in Word documents by directly modifying the XML files within the .docx archive. This method applies minimal, precise tracked changes to ensure all existing document formatting and comments are preserved.