One-click install
npx skills add https://github.com/dallascrilley/skill-creator-from-docs --skill docx-dallascrilley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/dallascrilley/skill-creator-from-docs/tree/main/examples/document-skills/docx
Command: npx skills add https://github.com/dallascrilley/skill-creator-from-docs --skill docx-dallascrilley

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates complex Microsoft Word document editing, including legal redlining, collaborative feedback, and precise content manipulation. It eliminates tedious manual work and ensures professional document quality, allowing you to save time on document review.

Core Features & Use Cases

  • Tracked Changes (Redlining): Systematically plan and implement insertions, deletions, and formatting changes with full tracking, crucial for legal and professional documents.
  • Document Creation & Editing: Create new Word documents from scratch or modify existing ones using Python or JavaScript libraries, streamlining document generation.
  • Content Analysis: Extract text, raw XML, comments, and media for detailed document analysis, providing deep insights into document structure.
  • Use Case: A legal professional needs to review and redline a contract. They use this skill to convert the DOCX to markdown, identify all necessary changes, and then programmatically apply tracked changes and comments to the original document, ensuring all edits are precisely recorded for review.

Quick Start

Use the docx skill to convert the attached document 'contract_draft.docx' to markdown, preserving all tracked changes. Then, identify all changes needed in Section 3.2.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I programmatically apply tracked changes and redline comments to a DOCX file?

Tracked changes in DOCX files are stored as revision elements in the OOXML structure. This Skill lets you systematically insert, delete, and format changes with full tracking metadata, then write them back to the document so all edits appear as tracked revisions for review and approval.

Can I convert a Word document with tracked changes to markdown and back?

Yes. This Skill converts DOCX to markdown while preserving tracked changes and comments, then reapplies edits to the original document. This workflow lets you analyze changes in a readable format and programmatically implement them back into the Word file.

What's the best way to extract comments and metadata from DOCX documents?

DOCX files are OOXML-compliant ZIP archives containing XML. This Skill extracts raw XML, text, comments, and media from Word documents, giving you structured access to document metadata and content for analysis without manual parsing.

Can I create or edit Word documents programmatically using Python or JavaScript?

Yes. This Skill uses Python and JavaScript libraries to create new DOCX files from scratch or modify existing ones. You can generate formatted Word documents, apply edits, and manage document structure entirely in code.

Does this work with legal documents that require precise formatting and change tracking?

Yes. This Skill is designed for legal workflows where formatting preservation and precise tracked changes are critical. It maintains document structure, handles redlining systematically, and ensures all edits are recorded for compliance and review.

What dependencies do I need to work with DOCX files programmatically?

This Skill requires pandoc for format conversion, the docx library for document manipulation, libreoffice for rendering, poppler-utils for text extraction, and defusedxml for secure XML parsing to handle DOCX files safely.