This handles Word document creation, editing, and analysis through a combination of pandoc, docx-js, and a custom Python OOXML library. The real value is in the redlining workflow, which converts docs to markdown for planning changes, then implements them as proper tracked changes in the XML with batch processing and minimal edit patterns. If you're creating docs from scratch, it uses docx-js. For reading content, it leans on pandoc. For edits, especially on someone else's document or anything requiring professional review trails, it unpacks the DOCX, manipulates the XML directly with helper scripts, and repacks it. The batching strategy and emphasis on preserving RSIDs shows this was built for real document collaboration workflows, not just text replacement.
- skills.sh installs
- 1.3K
- GitHub stars
- 184
- last updated
- Aug 21, 2026
Install
$ npx -y skills add appautomaton/document-skills --skill docx --agent claude-codeInstalls into .claude/skills of the current project.
Files
Word documents
You already know Word's features. This skill adds what you can't see from the code: a library that makes tracked changes and comments correctly, validation that catches untracked edits, a way to see pages as a reader will, and the docx-js and OOXML behaviours that silently produce broken files.
Running scripts
<skill> is the directory containing this file. Run bundled scripts by absolute path from the user's working directory, so relative paths to their files keep working:
uv run <skill>/ooxml/scripts/unpack.py contract.docx unpacked
Run Python you write with its dependencies declared, either uv run --with defusedxml script.py or a PEP 723 header. Run Node scripts as NODE_PATH=<skill>/node_modules node build.js; if <skill>/node_modules is missing, run npm install in <skill> once. Rendering pages needs LibreOffice (soffice) and poppler (pdftoppm); reading needs pandoc.
Choosing a workflow
Sponsors
Details
- Repository
- github.com/appautomaton/document-skills
- Category
- Office & Documents
- First seen
- May 16, 2026
