When to use it: You need a reviewable Word file with formatting, comments, or tracked changes—not just draft text.
What the method changes: The source selects a document-editing method, uses supporting scripts, and requires rendering the result for inspection. The useful addition is an executable document workflow, not a more elaborate drafting instruction.
Original source
Read the original skill ↗
anthropics/skills · skills/docx/SKILL.md
Inputs: The original .docx file, the exact requested changes, an author name for tracked edits, and the required deliverables. Supply your own template if its formatting matters.
Tools and dependencies: A compatible agent with file and code execution access; the package and its helper scripts; document libraries and rendering tools such as LibreOffice and Poppler.
How to use it
Make the complete package available using your host’s skill-loading instructions. Supply the document and requested changes, then ask for a redline and clean copy.
Using the available DOCX skill, edit [input.docx] only as follows: [changes]. Preserve all other wording and formatting. Attribute tracked edits to [author]. Return a redline and a clean copy. Validate the files and render every page for inspection. If a requested change cannot be tracked or the output cannot be rendered, stop and report the limitation before calling the task complete.
A first test
Use a fictional two-page agreement with a table, header, comment, and existing tracked deletion. Change one amount and one sentence. Check the redline in Word, confirm every other word is unchanged, and inspect both rendered pages. XML validation alone does not establish visual or substantive correctness.
Related lesson · Build a small test set
Back to the list