📄

docx

Risque faible 📁 Accès au système de fichiers⚙️ Commandes externes⚡ Contient des scripts

إنشاء وتحرير مستندات Word

Également disponible depuis: ArtemisAI,Cam10001110101,K-Dense-AI,ComposioHQ,sickn33,anthropics,ZhanlinCui,DYAI2025,7Spade,7Spade,Azeem-2

أتمتة إنشاء مستندات Word وتحريرها وتحليلها مع دعم كامل للتغييرات المتتبعة والتعليقات والتنسيق. تحويل المستندات، وتطبيق التعديلات في وضع المراجعة، واستخراج المحتوى بدقة.

Prend en charge: Claude Codex Code(CC)
⚠️ 68 Médiocre
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "docx". إنشاء مستند Word مع عنوان، وثلاث فقرات بمحاذاة مختلفة، وقائمة نقطية بـ 5 عناصر.

Résultat attendu:

  • تم إنشاء document.docx مع:
  • • عنوان centered 'Project Report'
  • • فقرة مقدمة بمحاذاة لليسار
  • • محتوى أساسي justified مع تباعد 200/200
  • • خاتمة بمحاذاة لليمين
  • • قائمة نقطية بـ 5 عناصر ورموز bullets من خط Symbol

Utilisation de "docx". تحويل report.docx إلى markdown مع عرض جميع التغييرات المتتبعة، ثم grep للنص المحذوف 'old value' والنص المُدخل 'new value'.

Résultat attendu:

  • اكتمل التحويل: report_with_changes.md
  • تم العثور على 3 occurrences من 'new value' (إدخالات)
  • تم العثور على 3 occurrences من 'old value' (حذوفات)
  • إجمالي التغييرات المتتبعة: 6 (3 إدخالات، 3 حذوفات)

Audit de sécurité

Risque faible
v6 • 1/17/2026

The docx skill is a legitimate document processing tool. Static findings are false positives triggered by documentation examples and standard XML schema files. The actual Python code uses defusedxml for secure parsing and performs no network requests, cryptography, or credential handling. Minor concern: dependency installation commands in documentation require user review before execution.

60
Fichiers analysés
25,370
Lignes analysées
5
résultats
6
Total des audits
Problèmes à risque moyen (1)
External commands in documentation files
All findings are markdown documentation showing command-line examples for pandoc, LibreOffice, and other dependencies. These are usage instructions in SKILL.md, not executable code that poses security risk.
Problèmes à risque faible (1)
Hardcoded URLs in XSD schema files
Standard OOXML namespace declarations in specification schema files. These are immutable XML namespace URLs defined by the ISO/IEC 29500 standard for Word documents, not external network calls.

Score de qualité

45
Architecture
100
Maintenabilité
87
Contenu
19
Communauté
83
Sécurité
91
Conformité aux spécifications

Ce que vous pouvez construire

تدقيق المستندات القانونية

تطبيق التغييرات المتتبعة على العقود والمستندات القانونية مع معالجة RSID الصحيحة والمعالجة الدفعية.

خط أنابيب تحويل المستندات

تحويل مستندات Word إلى markdown، وتحليل البنية، والتصدير مع الحفاظ على التنسيق.

توليد التقارير

إنشاء مستندات Word احترافية مع الجداول والصور والتنسيق من التحليل الآلي.

Essayez ces prompts

استخراج محتوى النص
استخراج جميع محتوى النص من document.docx وحفظه في output.md باستخدام pandoc مع الحفاظ على التغييرات المتتبعة.
إنشاء مستند جديد
إنشاء مستند Word جديد باسم report.docx مع فقرة عنوان، وعنوانين، وجدول يحتوي على 3 صفوف و 4 أعمدة.
تحرير مع التغييرات المتتبعة
مراجعة contract.docx وإجراء التغييرات المتتبعة التالية: استبدال '30 يومًا' بـ '45 يومًا' في القسم 2، وتحديث تنسيق تاريخ التوقيع، وإضافة تعليق حول شرط التجديد.
معالجة المستندات بالدفعة
فك حزمة جميع ملفات DOCX في دليل الإدخال، واستخراج محتوى النص الخاص بها، وتطبيق التصحيحات في batch_review.md على كل منها، وإعادة حزمها مع التغييرات المتتبعة.

Bonnes pratiques

  • قم دائمًا بفك حزمة ملفات DOCX قبل التحرير وإعادة حزمها بعد التغييرات للحفاظ على بنية OOXML.
  • استخدم التغييرات المتتبعة لجميع التعديلات على المستندات الخارجية - هذا مطلوب للمستندات القانونية والأكاديمية والتجارية.
  • قم بتجميع التغييرات ذات الصلة في دفعات من 3-10 لتسهيل التصحيح التدريجي والتقدم.

Éviter

  • لا تستخدم الاستبدال بالسلسلة الخام على ملفات DOCX - قم دائمًا بفك الحزمة، وتحرير XML، وإعادة الحزم.
  • تجنب تعديل عناصر XML متعددة في نص برمجي واحد دون اختبار دفعي.
  • لا تتخطى قراءة ملفات التوثيق الكاملة قبل بدء عمليات المستندات المعقدة.

Foire aux questions

What dependencies are required for this skill?
The skill requires pandoc, docx (npm), LibreOffice, poppler-utils, and defusedxml (pip). Install them as documented in SKILL.md.
How do I create a new Word document from scratch?
Read docx-js.md for complete syntax, then create a JavaScript/TypeScript file using Document, Paragraph, and TextRun components, then export using Packer.toBuffer().
Can I edit someone elses document with tracked changes?
Yes. Use the redlining workflow: unpack the document, create a Python script using the Document library, implement changes with tracked changes, then repack.
How do I preserve formatting when editing documents?
Extract the original run (w:r) element for unchanged text and reuse its RSID. Only mark what actually changed in w:ins and w:del elements.
What file operations are safe in DOCX files?
Use the unpack/pack workflow with ooxml/scripts/unpack.py and ooxml/scripts/pack.py. Never modify DOCX files directly as ZIP archives.
How do I validate a document after editing?
Use python ooxml/scripts/pack.py with the --force flag to skip validation, or without --force to validate using LibreOffice soffice.

Détails du développeur