docx

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

25|12|Updated Jun 4, 2024
One-click install
npx skills add https://github.com/fairwic/rust_quant --skill docx-fairwic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/fairwic/rust_quant/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/fairwic/rust_quant --skill docx-fairwic

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines document workflows by enabling AI-powered creation, editing, and analysis of professional .docx files, including managing 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 complex formatting and structure.
  • Tracked Changes & Comments: Work with tracked changes (insertions/deletions) and add/manage comments within documents.
  • Use Case: A legal team needs to review a contract. Use this Skill to apply specific edits with tracked changes, add comments for clarification, and ensure all formatting is preserved according to company standards.

Quick Start

Use the docx skill to convert the attached file 'report.docx' to markdown with tracked changes enabled.

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 .docx file programmatically?

You can add tracked changes and comments to a .docx file by leveraging OOXML manipulation, which supports precise insertions, deletions, and comment integration while preserving the original document formatting.

Can I convert a .docx document to markdown while preserving tracked changes?

Yes, you can convert a .docx document to markdown with tracked changes enabled, allowing you to extract text efficiently and review modifications in a simpler, plain-text format.

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

Generating a new .docx file from scratch is best accomplished using the docx-js library in JavaScript or TypeScript, enabling the creation of structured, professional documents directly through code.

Does editing complex formatting in .docx files require OOXML?

Yes, editing complex formatting and structure in .docx files often requires OOXML to ensure precise formatting preservation, allowing modifications to intricate document elements without breaking the original layout.

Can I use LibreOffice to manipulate .docx files for content analysis?

Yes, LibreOffice is a supported dependency for .docx file manipulation, working alongside tools like pandoc and poppler-utils to facilitate document analysis, text extraction, and format conversion.

What are the limitations of extracting text from .docx files with poppler-utils?

While poppler-utils provides efficient text extraction from documents, its limitation with .docx files involves potential loss of complex structural formatting, requiring OOXML for precise layout preservation during content analysis.