docx-cn
OfficialCreate, edit and validate DOCX documents
System Documentation
What problem does it solve?
Many workflows require programmatic creation, precise editing, or safe validation of Word .docx files while preserving formatting, images, tables, comments, and tracked changes. This Skill removes fragile manual XML editing and inconsistent toolchains by providing reproducible unpack/edit/pack tools, tracked-change handling, comment management, and validators to prevent corrupt output.
Core Features & Use Cases
- Unpack & Repack: Extract .docx to editable XML, pretty-print and repack with validation and auto-repair.
- Create & Edit: Guidance and scripts for generating documents (docx-js) and for XML-level edits while preserving styling and TOC requirements.
- Tracked Changes & Comments: Tools to add comments, merge/simplify tracked changes, accept changes via LibreOffice, and enforce author conventions.
- Validation & Repair: XSD-based validators, relationship/content-type checks, ID constraint repairs, and whitespace preservation fixes to avoid corrupt files.
- Conversions & Media: Helpers for converting legacy .doc, producing images from pages, and adding images with correct relationships and content types.
- Use Case: Batch-process a set of client contracts to normalize styles, merge reviewer comments, accept specific authors' changes, and produce validated final .docx files.
Quick Start
Use the docx-cn skill to unpack document.docx, make edits or add comments using the provided scripts, accept tracked changes with the LibreOffice helper, and repack to a validated output.docx.
Dependency Matrix
Required Modules
Components
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: docx-cn Download link: https://github.com/SenseTime-FVG/sensenova-claw/archive/main.zip#docx-cn Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.