← ClaudeAtlas

word-docxlisted

Unified skill for Microsoft Word .docx workflows: extracting comments or tracked changes, summarizing reviewer feedback, generating response-to-comments documents, building Word memos or reports, applying tracked edits, auditing OOXML internals, validating and repairing documents, accepting revisions, adding or resolving comments, converting legacy .doc files, unpacking or repacking .docx files, simplifying redline markup, rendering .docx to images, and building Word documents with tables of contents, multi-column layouts, or page-numbered headers and footers. Use whenever a task involves reading, reviewing, building, editing, or analyzing .docx files. Prefer this skill over ad-hoc python-docx or docx2python usage. Route PDFs, spreadsheets, presentations, Google Docs, and LaTeX-to-Word conversion pipelines to their dedicated skills.
kennethkhoocy/legal-scholarship-skills · ★ 9 · Data & Documents · score 76
Install: claude install-skill kennethkhoocy/legal-scholarship-skills
# word-docx Unified CLI for Microsoft Word `.docx` review and generation workflows. Converts `.docx` content into structured JSON/Markdown before any LLM reasoning, and builds new `.docx` files from structured specs. ## Core Principle Never modify source `.docx` files in place. Never ask the LLM to parse raw `.docx` XML directly. The pipeline always works in two steps: 1. **Extract** structured data (JSON/Markdown) from the `.docx` 2. **Reason** over the structured data, then **build** a new `.docx` if needed ## CLI Entry Point All commands run through a single entry point: ```bash python scripts/word_docx.py <command> [options] ``` The scripts directory is at `~/.claude/skills/word-docx/scripts/`. ## Command Routing | User intent | Command | Primary library | |-------------|---------|-----------------| | Read comments / reviewer feedback | `extract-comments` | docx2python | | Read tracked changes / redlines | `extract-revisions` | docx-revisions, OOXML fallback | | Read ordinary text and tables | `extract-text` | python-docx | | Full inspection (all of the above) | `inspect` | all | | Build a new Word document | `build` | python-docx or docxtpl | | Render to PDF | `render-pdf` | LibreOffice | | Apply edits (auto-detect mode) | `apply-edits` | lxml + zipfile (OOXML) | | Apply tracked edits (force) | `apply-tracked-edits` | lxml + zipfile (OOXML) | | Apply silent edits (force) | `apply-non-tracked-edits` | lxml + zipfile (OOXML) | ## Backend Matrix | Command | Back