docx

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

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/sudat/req-manager --skill docx-sudat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/sudat/req-manager/tree/main/.cursor/skills/docx
Command: npx skills add https://github.com/sudat/req-manager --skill docx-sudat

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill empowers users to create, edit, and analyze professional documents (.docx files) with advanced features like tracked changes and comments, eliminating manual formatting and complex XML manipulation.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript/TypeScript with docx-js.
  • Document Editing: Modify existing .docx files, including content, formatting, and tracked changes, using Python's Document library.
  • Redlining & Review: Implement precise tracked changes and comments for collaborative document review.
  • Text Extraction & Analysis: Convert .docx to Markdown or access raw XML for detailed content analysis.
  • Use Case: A legal professional needs to review a contract, add specific comments, and track all changes made to clauses, ensuring all edits are clearly marked and attributable.

Quick Start

Use the docx skill to create a new document with a title and two headings.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes and comments to a Word document for contract review?

To add tracked changes and comments to a Word document, this Skill modifies existing .docx files using a Python OOXML manipulation library. It implements precise redlining for collaborative review, ensuring all edits to clauses are clearly marked and attributable.

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

Yes, you can generate a new .docx file from scratch using JavaScript with the docx-js library. This Skill supports comprehensive document creation, allowing you to programmatically build professional Word documents with preserved formatting.

What is the best way to extract text from a .docx file for detailed content analysis?

The best way to extract text from a .docx file for analysis is by converting the document to Markdown using pandoc or accessing the raw XML. This Skill handles text extraction and detailed document analysis while preserving the original structure.

Does this tool preserve original formatting when editing existing OOXML documents?

Yes, this tool preserves original formatting when editing existing OOXML documents. It leverages a Python Document library alongside pandoc and LibreOffice dependencies to modify content and formatting without breaking the underlying XML structure.

Why do I need to manipulate raw XML when redlining professional Word documents?

You need to manipulate raw XML when redlining professional Word documents to implement precise tracked changes and comments that standard text editors cannot access. This Skill uses a Python OOXML manipulation library to handle complex redlining requirements accurately.

Can I convert .docx files to Markdown for easier text extraction?

Yes, you can convert .docx files to Markdown for easier text extraction. This Skill utilizes pandoc to transform professional Word documents into Markdown format, enabling detailed content analysis and streamlined document review workflows.