What problem does it solve?
This Skill solves the challenge of producing client-ready DOCX documents when typography, tables, and pagination must match the intended visual layout.
Core Features & Use Cases
- DOCX visual validation via rendering: Convert DOCX to PDF and then rasterize pages to PNG images for inspection, including a bounded first-20-pages workflow.
- Structured DOCX authoring/editing support: Use python-docx as the primary tool for deterministic, structured changes to headings, styles, tables, and lists.
- Safety-guarded parsing and rendering: Applies size and bounds checks (DOCX XML decompressed-size cap, sane page dimensions, DPI limits, conversion timeouts) to reduce risk from malformed documents.
- Use Case: Prepare a proposal document with complex tables and consistent formatting, then re-render pages to ensure nothing shifts or clips before sending the final file.
Quick Start
Use the doc skill to render the attached .docx to page images, then fix any layout issues and return the updated DOCX.