docx
创建和编辑Word文档
こちらからも入手できます: K-Dense-AI,anthropics,ArtemisAI,Azeem-2,sickn33,davila7,Cam10001110101,DYAI2025,7Spade,ZhanlinCui,ComposioHQ
此技能使Claude能够创建、编辑和分析Word文档(.docx文件)。它处理文档结构、跟踪更改、批注和格式保留,适用于专业的文档工作流程。
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「docx」を使用しています。 Create a new Word document with a title, heading, and paragraph
期待される結果:
- Created document with title 'Project Proposal'
- Added heading 'Executive Summary'
- Paragraph describes project goals
- Document saved to /workspace/project.docx
「docx」を使用しています。 Edit contract to change payment terms from Net 30 to Net 45
期待される結果:
- Unpacked document to /workspace/contract_unpacked
- Created 3 tracked changes updating payment terms
- Repacked to /workspace/contract_updated.docx
- Tracked changes show 'Net 30' replaced with 'Net 45'
「docx」を使用しています。 Extract text from annual report
期待される結果:
- Converted report.docx to markdown
- Extracted 15 paragraphs across 5 sections
- Text content preserved with heading hierarchy
セキュリティ監査
低リスクThis is a legitimate document processing skill. The static scanner produced many false positives due to misinterpretation of documentation code examples as shell commands, XML namespace declarations as network calls, and schema definitions as cryptographic usage. The skill uses secure libraries (defusedxml) for XML parsing, file operations are scoped to user-specified directories, and external commands are limited to document tools (pandoc, soffice) with controlled arguments.
リスク要因
⚡ スクリプトを含む (2)
📁 ファイルシステムへのアクセス (2)
⚙️ 外部コマンド (1)
品質スコア
作れるもの
使用跟踪更改审阅合同
在编辑法律文档的同时保留修订历史记录,以便合规性文档记录。
自动化文档更新
批量更新文档文件,同时保持格式和跟踪更改记录。
标准化文档格式
在多个Word文档中应用一致的样式和格式。
これらのプロンプトを試す
Create a new Word document named report.docx with a title 'Quarterly Report', a subtitle with today's date, and three paragraphs of placeholder text about Q1 results.
Edit the document at /workspace/contract.docx to change '30 days' to '45 days' throughout. Use the redlining workflow to create tracked changes visible in Word.
Extract all text content from the document at /workspace/proposal.docx and output it as markdown. Include tracked changes (accepted).
Open the document at /workspace/draft.docx and add comments to the first paragraph suggesting improvements to the language and structure.
ベストプラクティス
- 在编辑非自己创建的文档时,始终使用修订标记工作流以保留修订历史
- 将相关编辑分组为3-10个更改的批次,以便更轻松地调试和审查
- 使用pandoc和--track-changes=all查看包含所有修订的完整文档状态
回避
- 不要在文本内容中使用原始换行符(\n)- 使用独立的段落元素
- 避免在跟踪更改中重复未更改的文本 - 保留原始的运行RSID值
- 重新打包文档时不要跳过验证 - 可能会产生损坏的文件
よくある質問
此技能可以处理受密码保护的文档吗?
跟踪更改是如何工作的?
需要哪些工具?
我可以编辑文档中的图像吗?
支持哪些文件格式?
如何验证文档更改?
開発者の詳細
ファイル構成
📁 ooxml/
📁 schemas/
📁 ecma/
📄 dml-wordprocessingDrawing.xsd
📄 pml.xsd
📄 shared-additionalCharacteristics.xsd
📄 shared-commonSimpleTypes.xsd
📄 shared-customXmlDataProperties.xsd
📄 shared-customXmlSchemaProperties.xsd
📄 shared-documentPropertiesCustom.xsd
📄 shared-documentPropertiesExtended.xsd
📄 shared-documentPropertiesVariantTypes.xsd
📄 shared-relationshipReference.xsd
📄 sml.xsd
📄 vml-wordprocessingDrawing.xsd
📄 wml.xsd
📄 xml.xsd
📁 mce/
📄 mc.xsd
📁 scripts/
📄 base.py
📄 docx.py
📄 pptx.py
📄 pack.py
📁 scripts/
📄 ooxml.md
📄 SKILL.md