
from claude_skills_zh-cn372
Create, edit, and analyze .docx Word documents with workflows for text extraction, OOXML edits, tracked changes, comments, and conversion to PDF/images. Include
Provides a comprehensive set of workflows and tools for working with .docx Word documents. The skill covers reading and extracting text, low-level OOXML access for precise edits, creating new documents (docx-js), implementing tracked-change/redline workflows, batch edit strategies, and converting documents to PDF or images for review. It includes scripts for unpacking/packing OOXML, guidance on using pandoc to preserve track-changes, and examples for minimal, precise XML edits to preserve RSIDs and revision metadata.
Use this skill when the agent needs to: create a new Word document programmatically, perform surgical edits with tracked changes, extract clean markdown from complex .docx files, convert documents to PDFs/images for review, or implement batch doc edits safely. It is the right choice for legal, academic, or business documents where revision history and format fidelity matter.
Best used with agents that can run or call shell/python/js helpers (Copilot/Code-capable agents, Codex-style or Claude with code execution hooks).
A comprehensive DOCX creation, editing, and analysis skill that provides workflows for text extraction (via pandoc), OOXML editing, tracked changes/redlining, comments, and PDF/image conversion. Scripts include a well-architected Document class and XMLEditor utility for programmatic OOXML manipulation. Scripts fail on import due to missing defusedxml and ooxml packages, which are installable but not bundled. Uses defusedxml for safe XML parsing which is a security positive. SKILL.md is thorough with decision trees and batch-editing workflows.
defusedxmlooxmlClean security profile. Uses defusedxml for safe XML parsing. No network calls, no credential handling, no destructive operations. The ooxml dependency is from the same repo (leastbit/claude_skills_zh-cn). Skill is well-structured but has a heavy dependency chain for full functionality.