DOCX Processing
技能 活跃Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', 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 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.
To enable AI agents to perform complex operations on Word documents, from generating professional reports to editing existing files with precision.
功能
- Create new .docx documents programmatically
- Edit existing .docx files via XML manipulation
- Validate .docx files against schemas and tracked changes
- Accept all tracked changes using LibreOffice
- Convert .doc to .docx and extract content
- Insert/replace images and perform find-and-replace
使用场景
- Generating polished reports, memos, or letters as .docx files
- Extracting and reorganizing content from existing Word documents
- Automating edits, such as find-and-replace or image insertion, in bulk
- Reviewing and cleaning up documents with complex tracked changes or comments
非目标
- Processing PDFs, spreadsheets, or Google Docs
- General coding tasks unrelated to document generation
- Modifying documents without proper validation or tracked change handling
工作流
- Unpack DOCX file to XML structure
- Edit XML files for content, formatting, or tracked changes
- Validate and optionally auto-repair XML
- Pack the modified XML back into a DOCX file
实践
- Document generation
- Document editing
- Validation
- Code quality
先决条件
- npm install -g docx (for document creation)
- LibreOffice installed (for conversions and accepting changes)
License
- warning:License usabilityThe license is marked as 'Proprietary. See LICENSE.txt' and the bundled LICENSE.txt indicates significant restrictions on copying, distribution, and reverse engineering, which may not be compatible with OSS redistribution.
Maintenance
- warning:Dependency ManagementDependencies like 'docx' are declared via npm but there are no explicit measures for vulnerability scanning or automated updates mentioned, only a general mention of installation.
Execution
- warning:Pinned dependenciesWhile 'docx' is installed via npm, there's no explicit lockfile or version pinning mentioned in the documentation, leaving dependency versions potentially unstable.
安装
请先添加 Marketplace
/plugin marketplace add lawvable/awesome-legal-skills/plugin install docx-processing-anthropic@lawvable质量评分
类似扩展
Generate Docx Contract
99Generate an editable DOCX service agreement with parties, terms, and payment schedule.
Docx
99Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', 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 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.
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Public Google Drive
100无需 OAuth 即可创建公开的 Google Docs 或 Google Sheet 文件。使用此技能创建和编辑 Google Docs 和 Sheets,无需登录 Google。文档可通过共享链接查看。首次使用时自动注册。
Oh My Claudecode
100Process-first advisor routing for Claude, Codex, or Gemini via `omc ask`, with artifact capture and no raw CLI assembly
使用我的浏览器
100当工作依赖于用户实时浏览器会话或可见的渲染状态,而不是静态抓取时使用,尤其是在浏览器调试上下文或 DevTools 选择的元素或请求、登录仪表板或 CMS 流程、localhost 应用、上传、下载、媒体检查、DOM 或 iframe 检查、Shadow DOM,或看起来像软 404、身份验证墙、反机器人检查或速率限制的浏览器故障时。