docx

Create, edit, and analyze .docx files with tracked changes and comments.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/daodaolee/ai-driven-sdlc --skill docx-daodaolee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/daodaolee/ai-driven-sdlc/tree/main/.agents/skills/docx
Command: npx skills add https://github.com/daodaolee/ai-driven-sdlc --skill docx-daodaolee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of working with professional documents by automating the creation, editing, and analysis of .docx files, including complex features like tracked changes and comments.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript.
  • Content Editing: Modify existing documents, including text, formatting, and structure.
  • Tracked Changes: Implement and manage tracked changes for collaborative review and editing.
  • Comment Management: Add, review, and manage comments within documents.
  • Use Case: Automatically generate a legal contract, incorporate review feedback with tracked changes, and add specific comments for the next reviewer.

Quick Start

Use the docx skill to create a new document with a title, a heading, 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 programmatically add tracked changes to a Word document?

To add tracked changes to a Word document, this Skill modifies the OOXML structure using the Python Document library or docx-js, enabling collaborative review and redlining workflows within the .docx file.

Can I generate a new .docx file from scratch using JavaScript?

Yes, you can generate a new .docx file from scratch using JavaScript or TypeScript by leveraging the docx-js library to programmatically build document structure, text, and formatting.

Does this approach preserve formatting when editing existing Word documents?

Yes, editing existing Word documents through direct OOXML manipulation preserves the original formatting and structure while allowing text extraction, content modification, and comment management.

What is the best way to manage comments in a .docx file for collaborative review?

The best way to manage comments in a .docx file is by utilizing OOXML manipulation libraries that allow you to programmatically add, review, and manage annotations directly within the document structure.

How do I extract raw XML from a Word document for advanced analysis?

You extract raw XML from a Word document by accessing the underlying OOXML structure, which provides raw XML access and text extraction for advanced document analysis workflows.