word-docx

Solid

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.

Data & Documents 24 stars 0 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
47
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
kennethkhoocy
Repository
kennethkhoocy/legal-scholarship-skills
Created
6 days ago
Last Updated
5 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

docx-cli

Read, edit, redline, comment on, and create Microsoft Word .docx files. Use to fill out or edit a Word doc, redline a contract with tracked changes, add/resolve comments, replace text keeping its formatting, restyle headings/fonts, edit tables, or read/extract a .docx as Markdown or text. Also BUILD a new .docx — from Markdown or programmatically (code that outputs a Word report with headings, tables, images). Not for PDF, Google Docs, Excel, PowerPoint, or .doc.

158 Updated 1 weeks ago
kklimuk
Data & Documents Solid

docx

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.

213 Updated 1 weeks ago
lingxling
Data & Documents Listed

docx

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.

13 Updated yesterday
tassiovale