Individual skill
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
backend/cli/skills/document-parsing/docx/SKILL.md
Source commit a08e0ad0ad3d6448123039ee4659163eb2e35d99
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 4,351
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
LICENSE.txtdoc · 1,467 bytesSKILL.mdcore · 7,555 bytesSKILL.mdcore · 7,555 bytesSKILL.mdcore · 7,555 bytesSKILL.mdcore · 7,555 bytesscripts/__init__.pyruns · 1 bytesscripts/accept_changes.pyruns · 4,051 bytesscripts/comment.pyruns · 13,518 bytesscripts/merge_runs.pyruns · 9,398 bytesscripts/office/helpers/__init__.pyruns · 3,358 bytesscripts/office/helpers/pptx_chart.pyruns · 5,862 bytesscripts/office/helpers/pptx_slide.pyruns · 1,675 bytesscripts/office/helpers/pptx_theme.pyruns · 3,510 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsdasset · 74,984 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsdasset · 6,956 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsdasset · 51,302 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsdasset · 624 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsdasset · 152,039 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsdasset · 1,231 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsdasset · 8,862 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsdasset · 14,795 bytesscripts/office/schemas/ISO-IEC29500-4_2016/pml.xsdasset · 83,612 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsdasset · 1,269 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsdasset · 7,328 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsdasset · 6,382 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsdasset · 1,248 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsdasset · 880 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsdasset · 2,608 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsdasset · 3,507 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsdasset · 7,507 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsdasset · 23,313 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsdasset · 1,367 bytesscripts/office/schemas/ISO-IEC29500-4_2016/sml.xsdasset · 242,277 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsdasset · 26,148 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsdasset · 25,279 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsdasset · 535 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsdasset · 5,712 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsdasset · 4,010 bytesscripts/office/schemas/ISO-IEC29500-4_2016/wml.xsdasset · 171,367 bytesscripts/office/schemas/ISO-IEC29500-4_2016/xml.xsdasset · 4,646 bytesscripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsdasset · 1,963 bytesscripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsdasset · 2,515 bytesscripts/office/schemas/ecma/fouth-edition/opc-digSig.xsdasset · 2,856 bytesscripts/office/schemas/ecma/fouth-edition/opc-relationships.xsdasset · 1,344 bytesscripts/office/schemas/mce/mc.xsdasset · 3,127 bytesscripts/office/schemas/microsoft/wml-2010.xsdasset · 26,549 bytesscripts/office/schemas/microsoft/wml-2012.xsdasset · 3,745 bytesscripts/office/schemas/microsoft/wml-2018.xsdasset · 901 bytesscripts/office/schemas/microsoft/wml-cex-2018.xsdasset · 1,778 bytesscripts/office/schemas/microsoft/wml-cid-2016.xsdasset · 1,002 bytesscripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsdasset · 600 bytesscripts/office/schemas/microsoft/wml-symex-2015.xsdasset · 745 bytesscripts/office/soffice.pyruns · 8,012 bytesscripts/office/validate.pyruns · 6,142 bytesscripts/office/validators/__init__.pyruns · 336 bytesscripts/office/validators/base.pyruns · 33,756 bytesscripts/office/validators/docx.pyruns · 17,482 bytesscripts/office/validators/pptx.pyruns · 15,966 bytesscripts/office/validators/redlining.pyruns · 11,231 bytesscripts/templates/comments.xmlasset · 2,603 bytesscripts/templates/commentsExtended.xmlasset · 2,611 bytesscripts/templates/commentsExtensible.xmlasset · 2,707 bytesscripts/templates/commentsIds.xmlasset · 2,619 bytesscripts/templates/people.xmlasset · 115 bytes
Read excerpt
# DOCX creation, editing, and analysis
A `.docx` is a ZIP archive of XML files. Choose your approach by task:
| Task | Approach |
|---|---|
| **Create** a new document | Write a `docx` (npm) script — see gotchas below |
| **Edit** an existing document | `unzip` → edit `word/document.xml` → `zip` (docx-js cannot open existing files) |
| **Read** content | `pandoc -t markdown file.docx` |
> Script paths below are relative to this skill's directory.
## Creating with docx-js — gotchas