docx-official
A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.
Human ResourcesFinance & AccountingLegal & ComplianceHealthcareEducation & TrainingGovernment & Public SectorReal Estate & ConstructionInsurance & RiskOffice & Administration
DOCX creation, editing, and analysis
Overview
A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.
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
If you just need to read the text contents of a document, you should 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
You need raw XML access for: comments, complex formatting, document structure, embedded media, and metadata. For any of these features, you'll need to unpack
Subscribers only
The full skill, its 59 bundled files and every download is included with every paid Complete AI plan.
Details
| Source | community |
|---|---|
| License | — |
| Risk label | critical ("critical" means the skill may run commands or touch files — read before use) |
| Files | LICENSE.txt, SKILL.md, docx-js.md, ooxml.md, ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd, ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd, ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd, ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd, ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd, ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd, ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd, ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd, ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd, ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd, ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd, ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd, ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd, ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd, ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd, ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd, ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd, ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd, ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd, ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd, ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd, ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd, ooxml/schemas/mce/mc.xsd, ooxml/schemas/microsoft/wml-2010.xsd, ooxml/schemas/microsoft/wml-2012.xsd, ooxml/schemas/microsoft/wml-2018.xsd, ooxml/schemas/microsoft/wml-cex-2018.xsd, ooxml/schemas/microsoft/wml-cid-2016.xsd, ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd, ooxml/schemas/microsoft/wml-symex-2015.xsd, ooxml/scripts/pack.py, ooxml/scripts/unpack.py, ooxml/scripts/validate.py, ooxml/scripts/validation/__init__.py, ooxml/scripts/validation/base.py, ooxml/scripts/validation/docx.py, ooxml/scripts/validation/pptx.py, ooxml/scripts/validation/redlining.py, scripts/__init__.py, scripts/document.py, scripts/templates/comments.xml, scripts/templates/commentsExtended.xml, scripts/templates/commentsExtensible.xml, scripts/templates/commentsIds.xml, scripts/templates/people.xml, scripts/utilities.py |
| Added | 2026-02-27 |
Related skills
doc-coauthoring
This skill provides a structured workflow for guiding users through collaborative document creation. Act as an active guide, walking users through three stages: Context Gathering, Refinement & Structure, and Reader Testing.
pdf-official
This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see reference.md. If you need to fill out a PDF form, read forms.md and follow its instructions.
writer
Document creation, format conversion (ODT/DOCX/PDF), mail merge, and automation with LibreOffice Writer.
