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.
skills/docx/SKILL.md
Source commit b436d6bb494c8731c8181783f75fdc5c28013912
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 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)
- 990
- Repository last updated
- Nov 8, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-skills Repository topic
- workflows Repository topic
- skills Repository topic
- anthropic-skills Repository topic
- planning Repository topic
- superpowers Repository topic
- context-engineering Repository topic
- ui-ux-design Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- engineering Derived category
- writing Derived category
- docs Derived category
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 · 6,911 bytesSKILL.mdcore · 6,911 bytesSKILL.mdcore · 6,911 bytesSKILL.mdcore · 6,911 bytesdocx-js.mddoc · 16,509 bytesooxml.mddoc · 23,572 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsdasset · 74,984 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsdasset · 6,956 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsdasset · 51,302 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsdasset · 624 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsdasset · 152,039 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsdasset · 1,231 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsdasset · 8,862 bytesooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsdasset · 14,795 bytesooxml/schemas/ISO-IEC29500-4_2016/pml.xsdasset · 83,612 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsdasset · 1,269 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsdasset · 7,328 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsdasset · 6,382 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsdasset · 1,248 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsdasset · 880 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsdasset · 2,608 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsdasset · 3,507 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsdasset · 7,507 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsdasset · 23,313 bytesooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsdasset · 1,367 bytesooxml/schemas/ISO-IEC29500-4_2016/sml.xsdasset · 242,277 bytesooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsdasset · 26,148 bytesooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsdasset · 25,279 bytesooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsdasset · 535 bytesooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsdasset · 5,712 bytesooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsdasset · 4,010 bytesooxml/schemas/ISO-IEC29500-4_2016/wml.xsdasset · 171,367 bytesooxml/schemas/ISO-IEC29500-4_2016/xml.xsdasset · 4,646 bytesooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsdasset · 1,963 bytesooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsdasset · 2,515 bytesooxml/schemas/ecma/fouth-edition/opc-digSig.xsdasset · 2,856 bytesooxml/schemas/ecma/fouth-edition/opc-relationships.xsdasset · 1,344 bytesooxml/schemas/mce/mc.xsdasset · 3,127 bytesooxml/schemas/microsoft/wml-2010.xsdasset · 26,549 bytesooxml/schemas/microsoft/wml-2012.xsdasset · 3,745 bytesooxml/schemas/microsoft/wml-2018.xsdasset · 901 bytesooxml/schemas/microsoft/wml-cex-2018.xsdasset · 1,778 bytesooxml/schemas/microsoft/wml-cid-2016.xsdasset · 1,002 bytesooxml/schemas/microsoft/wml-sdtdatahash-2020.xsdasset · 600 bytesooxml/schemas/microsoft/wml-symex-2015.xsdasset · 745 bytesooxml/scripts/pack.pyruns · 5,596 bytesooxml/scripts/unpack.pyruns · 1,037 bytesooxml/scripts/validate.pyruns · 1,959 bytesooxml/scripts/validation/__init__.pyruns · 336 bytesooxml/scripts/validation/base.pyruns · 39,892 bytesooxml/scripts/validation/docx.pyruns · 9,996 bytesooxml/scripts/validation/pptx.pyruns · 12,327 bytesooxml/scripts/validation/redlining.pyruns · 11,179 bytesscripts/__init__.pyruns · 1 bytesscripts/accept_changes.pyruns · 4,051 bytesscripts/comment.pyruns · 14,054 bytesscripts/document.pyruns · 50,409 bytesscripts/merge_runs.pyruns · 9,398 bytesscripts/office/helpers/__init__.pyruns · 3,358 bytesscripts/office/helpers/merge_runs.pyruns · 5,567 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/helpers/simplify_redlines.pyruns · 5,754 bytesscripts/office/pack.pyruns · 4,991 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 · 5,927 bytesscripts/office/unpack.pyruns · 4,052 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 bytesscripts/utilities.pyruns · 13,694 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