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

office-document-editor

bởi tsukisama9292

Git & GitHub
500Lượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Professional DOCX/PPTX document editing with tracked changes, formatting preservation, highlights, strikethrough.

Mô tả

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

Edits DOCX and PPTX files using JSON-defined rules for text replacement, highlights, strikethrough, and slide reordering. Files can be sourced from uploads, local paths, public URLs, or SFTP. Generates unified diff reports and integrates with Git for version tracking.

Edits preserve the original file formatting and produce a diff report in the same workflow, without requiring a desktop office application.

Khi nào nên dùng

  • Updating a deadline date across an IRB or compliance document
  • Rearranging presentation slides after a review meeting
  • Marking contract revisions with highlights and strikethroughs
  • Generating a diff report between two versions of a Word document
  • Batch-replacing placeholder text in a DOCX template

Quy trình ví dụ

ĐẦU VÀO

User asks: In the uploaded contract.docx, replace 'February 28, 2026' with 'August 31, 2026', highlight the change, and show what changed

AGENT
  1. 1

    Fetch the uploaded contract.docx to the workspace

  2. 2

    Create edits.json with a replacement rule using 'highlight' style

  3. 3

    Run docx_editor.py to apply edits and produce output.docx

  4. 4

    Run generate_diff.py to create a unified diff report as diff.md

  5. 5

    Commit output.docx and diff.md to the local Git repo

ĐẦU RA

output.docx with the date highlighted in yellow, plus diff.md showing the exact line change in unified diff format

Yêu cầu

  • uv command-line tool

Cài đặt

clawhub install tsukisama9292/office-document-editor

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