docx-word-processor
Skill3 starsChanged 3 months agoMITView on GitHub
Use this skill whenever you need to create, read, edit, or manipulate Word documents (.docx files). Trigger this on any mention of 'Word doc', 'word document', '.docx', or requests to produce formatted deliverables like reports, memos, or letters. Use this for extracting text, inserting images, tracking changes, or converting content to Word format. Do NOT use for PDFs or spreadsheets.
- Installs packages
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- adzic-bddSkill
- agent-md-refactorSkill
- agent-muxSkill
- agent-role-impersonatorSkill
- agilquest-reservationsSkill
- ai-text-humanizerSkill
- architecture-decision-recordsSkill
- ast-grepSkill
- atacSkill
- aws-cliSkill
- bart-adversarial-reviewerSkill
- bddSkill
- branch-doctorSkill
- c4-architectureSkill
- c4Skill
- claude-sub-agentSkill
- codemap-config-setupSkill
- codemap-exploreSkill
- codemap-handoffSkill
- codemap-hub-safetySkill
- codemapSkill
- commitSkill
- copilot-sub-agentSkill
- daily-standupSkill
- daily-statusSkill
- debugSkill
- design-thinkingSkill
- doctorSkill
- farley-tddSkill
- forensicsSkill
- gemini-sub-agentSkill
- git-commit-formatterSkill
- git-forensicsSkill
- github-actions-permissionsSkill
- github-cliSkill
- git-repo-discoverySkill
- git-safety-guardrailsSkill
- harness-idpSkill
- humanizeSkill
- iteration-plannerSkill
- jira-issue-managerSkill
- justfile-assistantSkill
- kiro-sub-agentSkill
- lessons-learnedSkill
- lessonsSkill
- lisa-planning-agentSkill
- lovejoy-release-agentSkill
- lsp-code-analysisSkill
- macro-to-microSkill
- marge-product-agentSkill
- meeting-notesSkill
- mermaid-diagram-generatorSkill
- modern-cli-overridesSkill
- native-web-searchSkill
- obsidian-notetakerSkill
- outlook-headlessSkill
- pdf-document-processorSkill
- pi-sub-agentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Never use
\nor unicode bullets: - Use separate Paragraphs and LevelFormat.BULLET. - Distinctive: line 40
Author Identity: Use "Claude" for tracked changes and comments.
- Distinctive: line 41
Minimal edits: - Only mark what actually changes in the XML.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DOCX creation, editing, and analysis
Overview
A .docx file is a ZIP archive containing XML files.
Task Quick Start
| Task | Approach |
| Analyze content | pandoc document.docx -o output.md |
| Convert .doc | python scripts/office/soffice.py --convert-to docx document.doc |
| Create new doc | Use docx-js. See references/creating.md |
| Edit existing doc | Unpack → edit XML → repack. See references/editing.md |
| Clean changes | python scripts/accept_changes.py input.docx output.docx |
| Convert to PDF | python scripts/office/soffice.py --convert-to pdf document.docx |
Reference Materials
To ensure high-quality document manipulation, refer to these detailed guides:
- Creating Documents: references/creating.md - Full guide for
docx-js(JavaScript). - Editing Documents: references/editing.md - Detailed workflow for unpacking and editing XML directly.
- XML Reference: references/editing.md#xml-reference - Patterns for tracked changes, comments, and images.
Critical Rules
For docx-js (Creating)
- Set page size explicitly - Defaults to A4; use US Letter (12240 x 15840 DXA) for US documents.
- Tables need dual widths -
columnWidthsarray AND cellwidth, both must match in DXA. - Never use
\nor unicode bullets - Use separate Paragraphs andLevelFormat.BULLET.
For XML Editing (Modifying)
- Author Identity: Use "Claude" for tracked changes and comments.
- Minimal edits - Only mark what actually changes in the XML.
- Comment Markers: Siblings of
<w:r>, never inside.
Dependencies
- pandoc: Text extraction
- docx:
npm install -g docx(new documents) - LibreOffice: PDF conversion (
scripts/office/soffice.py) - Poppler:
pdftoppmfor images
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

