docx
使用 Microsoft Word 文件
也可從以下取得: 7Spade,davila7,7Spade,DYAI2025,ArtemisAI,Azeem-2,anthropics,ComposioHQ,Cam10001110101,K-Dense-AI
此技能使 Claude 能夠建立、編輯和分析 Microsoft Word 文件,完整支援追蹤修訂、註解和複雜格式。它提供使用 Python 和 JavaScript 函式庫進行文件操作的工作流程。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「docx」。 建立簡單的歡迎信函文件
預期結果:
一個 Word 文件,具有標題「Welcome Letter」、格式化內文和適當的商務信函樣式
正在使用「docx」。 編輯 contract.docx 將付款條款從 Net 30 更新為 Net 60,啟用追蹤修訂
預期結果:
文件現在在追蹤修訂中顯示「Net 60」(刪除「Net 30」,插入「Net 60」),準備好供客戶審閱
安全審計
安全This is a legitimate document manipulation skill for creating and editing Microsoft Word (.docx) files. Static scanner flagged external commands (pandoc, Python scripts), network URLs (XML namespace references in schema files), and filesystem operations (document read/write) - all are expected functionality for this skill. The cryptographic algorithm references in XSD schemas are standard XML schema definitions, not actual implementations. No malicious intent detected.
品質評分
你能建構什麼
產生專業商務文件
建立合約、報告和商務信函,具有適當的格式、頁首、頁尾和樣式
使用追蹤修訂審閱和編輯文件
審閱來函文件、新增註解並進行編輯,具有完整的追蹤修訂以供法律或編輯審閱
批次處理文件轉換
將多個文件轉換為 markdown、擷取內容或在文件集中套用一致的格式
試試這些提示
Create using the docx skill. a new Word document Include a title heading, 3 paragraphs of body text with bold and italic formatting, and a simple table with 3 rows.
Use the redlining workflow to edit document.docx. Replace all instances of 'company' with 'Acme Corp' and add a comment explaining the change. Use tracked changes so the client can review.
Extract all text content from report.docx and convert it to markdown format using pandoc with --track-changes=all to preserve any edits.
Unpack the document to access raw XML. Identify all comments, track changes (insertions and deletions), and embedded images. Provide a summary of the document structure.
最佳實務
- 在開始複雜的文件工作之前,務必閱讀完整的說明文件(docx-js.md 和 ooxml.md)
- 對於不屬於您擁有的文件使用修訂工作流程進行編輯,以維護稽核軌跡
- 進行多次編輯時批次測試變更,確保每個變更都能正確運作
避免
- 對於複雜的文件操作,避免跳過閱讀說明文件的步驟
- 編輯第三方文件時,對於法律或商務文件不要不使用追蹤修訂
- 避免一次進行所有變更 - 以批次方式增量測試