Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

docx

bởi seanphan

PDF & Documents
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Comprehensive document creation, editing, and analysis with support for tracked.

Mô tả

Kỹ năng này làm gì

Creates, edits, and analyzes .docx files using docx-js for new documents and a Python OOXML library for editing existing ones. Supports tracked changes, comments, text extraction, and format-preserving redlines.

Preserves OOXML structure and tracked change metadata that generic text editors and AI tools discard when reading or writing .docx files.

Khi nào nên dùng

  • Redlining a contract with tracked changes for legal review
  • Extracting text from a Word report for further analysis
  • Adding reviewer comments to a business proposal
  • Creating a formatted Word document from structured data
  • Converting a .docx to images for visual inspection

Quy trình ví dụ

ĐẦU VÀO

User asks: Redline this contract.docx to change all '30 days' references to '60 days'

AGENT
  1. 1

    Converts document to markdown using pandoc to read current content and identify all target phrases

  2. 2

    Unpacks the .docx ZIP archive to access word/document.xml

  3. 3

    Greps document.xml to find how the text is split across XML run elements

  4. 4

    Implements tracked deletions and insertions using the Document library, preserving surrounding run RSIDs

  5. 5

    Packs the modified directory back into a .docx and verifies changes with pandoc

ĐẦU RA

A redlined contract.docx with tracked changes showing '30 days' struck through and '60 days' inserted, ready to open in Word

Cài đặt

clawhub install seanphan/docx

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết