Replace or update embedded figures in DOCX reports while preserving placement, sizing, and nearby captions. Use this skill when a user wants a figure updated inside a Word document, wants SVG/PNG media replaced without rebuilding the whole document manually, or needs related PDF regeneration only when explicitly requested.
Use this skill for deterministic figure replacement inside existing DOCX reports. Prefer the surrounding document layout over ad hoc copy-paste.
.docx.svg, slide source, or app asset).List embedded media:
python scripts/replace_docx_media.py report.docx --list
Replace one embedded image:
python scripts/replace_docx_media.py report.docx \
--media image35.png \
--replacement updated.png \
--output report.updated.docx
references/workflow.md for the replacement and validation checklist.scripts/replace_docx_media.py for deterministic package-level replacement.