docx
使用跟踪更改创建和编辑 Word 文档
متاح أيضًا من: 7Spade,7Spade,davila7,DYAI2025,Azeem-2,ComposioHQ,anthropics,ZhanlinCui,ArtemisAI,Cam10001110101,K-Dense-AI
以编程方式处理 Word 文档非常复杂。此技能提供全面的 DOCX 创建、编辑和分析功能,完全支持跟踪更改、批注和格式保留。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "docx". 从 5 页合同提取文本
النتيجة المتوقعة:
提供文档摘要并识别关键条款,然后是按章节组织的完整提取文本
استخدام "docx". 创建项目提案文档
النتيجة المتوقعة:
专业的 .docx 文件,包含标题页、执行摘要、工作范围、时间线、预算章节和适当的格式
استخدام "docx". 添加跟踪更改以修订付款条款
النتيجة المتوقعة:
修订文档显示已删除的 '30 days' 和已插入的 '60 days',具有适当的 RSID 跟踪以供专业审查
التدقيق الأمني
مخاطر متوسطةStatic analysis flagged 1082 potential issues across 59 files, but most are false positives. External command findings (235) are documentation examples showing bash commands for users to run, not executable code. Network URL findings (426) are XML namespace declarations in official ECMA/ISO XSD schema files, not actual network requests. Legitimate filesystem access is required for document processing. Some weak crypto warnings are false positives from XML schema text patterns. One concern: the skill requires external dependencies (pandoc, LibreOffice, docx npm package) that execute shell commands - users should verify these are installed from trusted sources.
مشكلات عالية المخاطر (1)
مشكلات متوسطة المخاطر (2)
مشكلات منخفضة المخاطر (2)
عوامل الخطر
📁 الوصول إلى نظام الملفات (3)
⚙️ الأوامر الخارجية (4)
درجة الجودة
ماذا يمكنك بناءه
法律合同审查
创建合同的修订版本,使用法律专业人士期望的适当跟踪更改格式显示所有拟议更改。
学术论文协作
编辑带有跟踪更改和批注的研究论文,使合著者能够审查和接受/拒绝修改。
商业文档自动化
从模板生成标准化商业文档(提案、报告、信函),并动态插入内容。
جرّب هذه الموجهات
Extract all text content from this Word document and summarize the key points: [attach document.docx]
Create a professional Word document with the following structure: [provide outline]. Include proper headings, numbered sections, and a table of contents.
Review this contract and create a redlined version with the following changes: [list changes]. Use tracked changes so the other party can see what was modified.
Process these 10 Word documents and extract specific data fields (client name, date, amount) from each into a summary table.
أفضل الممارسات
- 在开始复杂操作之前,务必阅读完整的文档文件(docx-js.md、ooxml.md)
- 对于需要更改跟踪的法律、学术或商业文档,使用修订标记工作流程
- 在运行脚本之前使用 grep 验证 XML 更改,并使用 pandoc 转换验证最终文档
- 将相关更改批量处理(每个脚本 3-10 个)以便于调试和增量进展
تجنب
- 当仅更改少数几个单词时,不要替换整个句子 - 仅标记实际更改的特定文本
- 避免使用 markdown 行号进行 XML 编辑 - 它们不映射到文档结构
- 切勿跳过跟踪更改的 RSID 分配 - 始终使用 unpack 脚本中的一致 RSID
- 在验证 XML 之前不要运行 pack.py --force - 生成的文档可能会损坏
الأسئلة المتكررة
我需要安装哪些依赖项?
此技能可以编辑在 Microsoft Word 中创建的文档吗?
跟踪更改是如何工作的?
我可以将跟踪更改转换为最终文本吗?
如果我的文档有批注怎么办?
此技能用于敏感文档安全吗?
تفاصيل المطور
المؤلف
sickn33الترخيص
Proprietary. LICENSE.txt has complete terms
المستودع
https://github.com/sickn33/antigravity-awesome-skills/tree/main/web-app/public/skills/docx-officialمرجع
main
بنية الملفات
📁 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