anthropic-skills/skills/docx/scripts/office/validators
Peter Lai fa0fa64bdc
Update docx, pptx, and xlsx skills (#1447)
Add support for template formats (.dotx, .potx, .xltx) across validation
and the helper scripts.

Consolidate the shared office helpers into a single module, replacing the
pack/unpack pipeline with explicit zip/unzip steps. Extraction now rejects
symlink and path-traversal archive entries. Move run merging to a
standalone docx script, since it only ever applied to Word documents.

Fix the redlining validator so it compares against the original even when
a document has no tracked changes, which is when an untracked edit would
otherwise go unreported.

Provision a LibreOffice user profile per invocation so conversions work in
sandboxed environments.

Trim the skill docs to the guidance that earns its place.
2026-07-16 19:47:37 -07:00
..
__init__.py Update docx, xlsx, pdf, pptx skills with latest improvements (#330) 2026-02-03 18:09:36 -08:00
base.py Update docx, pptx, and xlsx skills (#1447) 2026-07-16 19:47:37 -07:00
docx.py Update docx, pptx, and xlsx skills (#1447) 2026-07-16 19:47:37 -07:00
pptx.py Update docx, pptx, and xlsx skills (#1447) 2026-07-16 19:47:37 -07:00
redlining.py Update docx, pptx, and xlsx skills (#1447) 2026-07-16 19:47:37 -07:00