Skip to content
Back to skills

Docx

ASecurity

使用本工具包的 docx-js、OOXML 和 Document 腳本建立、編輯或分析本機 Word 檔案,含修訂與註釋;按工作類型讀取對應技術參考。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add ddmanyes/agent-skills-toolkit-zh-tw --skill docx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docx?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ddmanyes-docx/badge)](https://www.skillsdirectory.com/skills/ddmanyes-docx)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: docx
description: 使用本工具包的 docx-js、OOXML 和 Document 腳本建立、編輯或分析本機 Word 檔案,含修訂與註釋;按工作類型讀取對應技術參考。
---
# Word 文件處理

既有文件先確認用途與修改範圍,保留原檔或可恢復版本。單純讀取文字不需要完整編輯流程;若環境已有指定的文件工具,遵循其必要渲染規則。

| 工作 | 需要讀取的參考 |
| --- | --- |
| 用 docx-js 建立新文件 | [docx-js.md](docx-js.md) |
| 修改 OOXML、修訂追蹤、註釋與 Document API | [ooxml.md](ooxml.md) |
| 解包、驗證、打包 | [unpack.py](ooxml/scripts/unpack.py)、[validate.py](ooxml/scripts/validate.py)、[pack.py](ooxml/scripts/pack.py) |

先用現有頁面大小、樣式、表格及節設定;新文件依用途設計,保留分頁、目錄、超連結和腳註等必要結構。修改修訂時明確傳入作者,保留其他人的修訂;不靠全域替換作者名稱完成工具遷移。

交付前檢查 ZIP/XML 結構、關聯、需求內容與樣式。追蹤修訂需用原始文件作比較;渲染後檢查所有受影響頁面的截斷、表格與分頁,必要時擴大到整份文件。XML 閉合不等於 Word 可正常顯示。

修正發現的問題並重做相關檢查。若缺渲染器或 Word,回報實際完成的結構/內容檢查和未驗證相容性。只有比對證據支持時才說「已保留原始樣式」,不用固定成功措辭。

以繁體中文回報;使用者指定其他語言時依其要求。

Files in this skill

  • LICENSE.txt1.4 KB
  • SKILL.md1.5 KB
  • docx-js.md16.1 KB
  • ooxml.md23 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd73.2 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd6.8 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd50.1 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd624 B
  • ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd1.2 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd8.7 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd14.4 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd81.7 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd1.2 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd7.2 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd6.2 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd1.2 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd880 B
  • ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd2.5 KB
  • ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…