docx

Create, modify, and redline Office Open XML .docx documents programmatically.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/giosuetedeschi-spec/bobu-website --skill docx-giosuetedeschi-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/giosuetedeschi-spec/bobu-website/tree/main/.claude/skills/docx-official
Command: npx skills add https://github.com/giosuetedeschi-spec/bobu-website --skill docx-giosuetedeschi-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the complexity of programmatically creating, editing, and redlining professional Word documents, ensuring precise formatting and tracked changes without manual intervention.

Core Features & Use Cases

  • Document Automation: Generate complex .docx files from scratch using JavaScript/TypeScript components.
  • Redlining & Review: Systematically implement tracked changes, comments, and revisions in legal or business documents using a robust Python-based workflow.
  • Analysis & Conversion: Extract text, convert documents to markdown, or generate visual previews of documents for easier review.

Quick Start

Use the docx skill to perform a redline review on the attached contract by identifying all necessary changes and applying them in batches.

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 and comments to a Word document?

You can programmatically add tracked changes and comments to a Word document by manipulating Office Open XML structures. This approach systematically implements revisions and review annotations directly into the .docx format for professional redlining workflows.

What is the best way to automate .docx creation while preserving complex formatting?

Automating .docx creation while preserving complex formatting is best achieved through direct Office Open XML manipulation. This method generates intricate document structures programmatically, ensuring precise professional formatting without manual intervention.

Can I convert a Word document to markdown for easier text extraction?

Yes, you can convert a Word document to markdown for easier text extraction and review. This workflow integrates pandoc and specialized Python libraries to securely parse the .docx format and extract its text content.

Do I need LibreOffice installed to generate visual previews of .docx files?

Yes, you need LibreOffice installed to generate visual previews of .docx files. The document conversion and visual rendering process relies on LibreOffice alongside pandoc and poppler-utils to accurately render the Office Open XML content.

Does this redlining workflow support secure XML manipulation for sensitive legal documents?

This redlining workflow supports secure XML manipulation for sensitive legal documents by utilizing the defusedxml Python library. This ensures that programmatic document modification and revision tracking remain safe from XML-based vulnerabilities during automated review.

How do I batch apply multiple revisions to a contract during an automated review?

To batch apply multiple revisions to a contract during an automated review, identify all necessary changes and apply them in batches. This systematically processes tracked changes within the Office Open XML structure, streamlining legal document redlining.