docx
Was er macht
Dieser Skill bringt deinem Agenten bei, mit Word-Dokumenten im Format .docx zu arbeiten. Er kann sie erstellen, bearbeiten und analysieren und dabei die Formatierung erhalten. Er ist für alle gedacht, die Word-Dateien schreiben oder prüfen.
Wann du ihn nutzt
- ✓Wenn du ein neues Word-Dokument mit professioneller Formatierung erstellen musst.
- ✓Wenn du Änderungen in einer Word-Datei mit nachverfolgten Änderungen oder Kommentaren prüfen willst.
- ✓Wenn du den Text aus einer bestehenden .docx-Datei herausholen musst.
Link zum Skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/document-skills/docx/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Lies dieses Word-Dokument, extrahiere den ganzen Text und markiere meine vorgeschlagenen Änderungen als nachverfolgte Änderungen.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Eine .docx-Datei ist ein Bündel aus XML-Dateien, und der Agent liest oder bearbeitet diese Teile direkt. So bleibt das Layout erhalten, während sich der Inhalt ändert.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
DOCX creation, editing, and analysis
Overview
A .docx file is a ZIP archive containing XML files and resources. Create, edit, or analyze Word documents using text extraction, raw XML access, or redlining workflows. Apply this skill for professional document processing, tracked changes, and content manipulation.
Visual Enhancement with Scientific Schematics
When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.
If your document does not already contain schematics or diagrams:
- Use the scientific-schematics skill to generate AI-powered publication-quality diagrams
- Simply describe your desired diagram in natural language
- Nano Banana Pro will automatically generate, review, and refine the schematic
For new documents: Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.
How to generate schematics:
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
The AI will automatically:
- Create publication-quality images with proper formatting
- Review and refine through multiple iterations
- Ensure accessibility (colorblind-friendly, high contrast)
- Save outputs in the figures/ directory
When to add schematics:
- Document workflow diagrams
- Process flowcharts
- System architecture illustrations
- Data flow diagrams
- Organizational structure diagrams
- Any complex concept that benefits from visualization
For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
Workflow Decision Tree
Reading/Analyzing Content
Use "Text extraction" or "Raw XML access" sections below
Creating New Document
Use "Creating a new Word document" workflow
Editing Existing Document
Your own document + simple changes Use "Basic OOXML editing" workflow
Someone else's document Use "Redlining workflow" (recommended default)
Legal, academic, business, or government docs Use "Redlining workflow" (required)
Reading and analyzing content
Text extraction
To read the text contents of a document, convert the document to markdown using pandoc. Pandoc provides excellent support for preserving document structure and can show tracked changes:
# Convert document to markdown with tracked changes
pandoc --track-changes=all path-to-file.docx -o output.md
# Options: --track-changes=accept/reject/all
Raw XML access
Raw XML access is required for: comments, complex formatting, document structure, embedded media, and metadata. For any of these features, unpack a document and read its raw XML contents.
Unpacking a file
python ooxml/scripts/unpack.py <office_file> <output_directory>
Key file structures
word/document.xml- Main document contentsword/comments.xml- Comments referenced in document.xmlword/media/- Embedded images and media files- Tracked changes use
<w:ins>(insertions) and<w:del>(deletions) tags
Creating a new Word document
When creating a new Word document from scratch, use docx-js, which allows you to create Word documents using JavaScript/TypeScript.
Workflow
- MANDATORY - READ ENTIRE FILE: Read
docx-js.md(~500 lines) completely from start to finish. NEVER set any range limits when reading this file. Read the full file content for detailed syntax, critical formatting rules, and best practices before proceeding with document creation. - Create a JavaScript/TypeScript file using Document, Paragraph, TextRun components (You can assume all dependencies are installed, but if not, refer to the dependencies section below)
- Export as .docx using Packer.toBuffer()
Editing an existing Word document
When editing an existing Word document, use the Document library (a Python library for OOXML manipulation). The library automatically handles infrastructure setup and provides methods for document manipulation. For complex scenarios, you can access the underlying DOM directly through the library.
Workflow
- MANDATORY - READ ENTIRE FILE: Read
ooxml.md(~600 lines) completely from start to finish. NEVER set any range limits when reading this file. Read the full file content for the Document library API and XML patterns for directly editing document files. - Unpack the document:
Häufige Fragen
Bleibt meine Formatierung erhalten?
Ja. Der Skill sagt, dass er die Formatierung beim Bearbeiten bewahrt.
Kann er mit Kommentaren umgehen?
Ja. Der Skill deckt die Arbeit mit Kommentaren in Word-Dateien ab.
Kann er auch andere Dateitypen?
Der Skill ist für Word-Dateien im Format .docx gemacht, andere Formate liegen außerhalb seines Umfangs.
Details
Originalbeschreibung des Autors
Document toolkit (.docx). Create/edit documents, tracked changes, comments, formatting preservation, text extraction, for professional document processing.
Beliebtheit
- GitHub-Sterne
- 33k
- Platz im Ranking
- #8943
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
owasp-security
33kBringt deinem Agenten OWASP-Sicherheitsrichtlinien für Web-Apps, APIs, mobile Apps, Container und KI-Agenten bei, damit er typische Schwachstellen erkennt und Korrekturen vorschlägt.
agent-management
33kLässt deinen Agenten KI-Agenten mit der AI-Maestro-Kommandozeile erstellen, auflisten, pausieren, aufwecken, umbenennen und löschen und so ihren Lebenszyklus verwalten.
agent-messaging
33kLässt deinen Agenten signierte Nachrichten zwischen KI-Agenten senden, empfangen und beantworten, über das Agent Messaging Protocol, überwiegend auf deinem eigenen Rechner.
docs-search
33kLässt deinen Agenten automatisch erzeugte Code-Dokumentation nach Funktionssignaturen, Klassendefinitionen und Kommentaren durchsuchen und so die echte API prüfen, bevor er Code ändert.
Ähnliche Skills
feishu-doc
394kHilft deinem Agenten, Feishu-Cloud-Dokumente zu lesen, zu erstellen und zu bearbeiten, einschließlich Text, Bildern und Tabellen, über das Dokument-Werkzeug.
feishu-drive
394kLässt deinen Agenten Dateien in einem Feishu-Cloud-Ordner durchsehen, ordnen und kommentieren, der mit dem Bot geteilt wurde.
feishu-perm
394kHilft deinem Agenten zu prüfen und zu ändern, wer auf eine Feishu-Datei zugreifen darf, und wählt dabei die kleinste Berechtigung, die deine Anfrage erfüllt.