
Processing Docx
This is a well-structured workflow manager for Word documents that actually respects the OOXML format instead of treating everything like a text file. It routes you to the right tool based on intent: pandoc for quick text extraction, docx-js for creating new documents, Python's Document library for simple edits, and a full redlining workflow with tracked changes when you're modifying someone else's work. The mandatory redlining for legal, academic, and business docs is the right call. The decision table at the top saves you from guessing which of the four approaches to use, and the references appear thorough at 500-600 lines each.
- GitHub stars
- 224
- last updated
- Jun 10, 2026
Install
$ npx -y skills add telagod/code-abyss --skill processing-docx --agent claude-codeInstalls into .claude/skills of the current project.
Files
DOCX Processing
.docx is a ZIP archive of XML and resources. Different tasks have different tools and workflows.
Workflow Decision
| Intent | Workflow | Reference |
|---|---|---|
| Read/analyze text only | pandoc → markdown | raw-xml-access.md |
| Read structure, comments, media, formatting | unpack → raw XML | raw-xml-access.md |
| Create new document | docx-js (JS/TS) | docx-js.md |
| Edit own document, simple changes | Document library (Python) | ooxml.md |
| Edit someone else's document | Redlining (tracked changes) | redlining.md |
| Legal / academic / business / gov docs | Redlining — REQUIRED | redlining.md |
| Visual analysis | soffice → PDF → pdftoppm | raw-xml-access.md |
Text Extraction (Quick)
pandoc --track-changes=all path-to-file.docx -o output.md
# --track-changes=accept/reject/all
Create New Document
Sponsors
Details
- Repository
- github.com/telagod/code-abyss
- Category
- Office & Documents
- License
- MIT
- First seen
- Jun 11, 2026
More from telagod/code-abyss
All 30- Processing Pdfs
- Provisioning Infrastructure
- Reducing Aigc Detection
- Securing Cloud And Supply Chain
- Securing Systems
- Shipping Changes
- Verifying Modules
- Analyzing Changes
- Analyzing Security
- Analyzing Spreadsheets
- Applying Ui Design System
- Architecting Security
- Automating Devops
- Building Agent Systems
- Checking Code Quality
- Creating Presentations
- Cultivating Personas
- Cultivating Skills
- Defending Applications
- Designing Architectures
- Designing Hardware Products
- Detecting And Responding
- Developing Mobile Apps
- Developing Software