Edit SharePoint-hosted Word `.docx` files while preserving document structure and styling. Use when the user wants to update a real Word document in SharePoint rather than summarize it as plain text.
Use this skill for .docx edits that start from SharePoint. Treat the file as a real Word package, not as extracted text, and preserve the existing document structure and styling unless the user explicitly accepts formatting loss.
.docx with fetch(download_raw_file=true) before editing.python-docx or equivalent OOXML-aware local tooling so the original Word package remains intact.update_file using the exact drive-root-relative path from SharePoint metadata..docx with plain text output..docx with a minimal regenerated package merely to make upload succeed unless formatting loss is already acceptable from the request context..docx packages. If the write path looks unsafe, stop and explain the formatting risk rather than silently degrading the file.itemNotFound, inspect the folder items and use the exact root-relative path from SharePoint metadata.