What problem does it solve?
This skill solves the need to safely unpack, validate, compact, and repack Office Open XML (DOCX/XLSX/PPTX) documents without corrupting structure.
Core Features & Use Cases
- OOXML unpacking with optional run merging: Extracts OOXML parts from an archive while optionally merging adjacent text runs for cleaner XML output.
- Package validation for structural correctness: Checks OOXML relationships, namespaces, content-types overrides, and that relationship targets exist.
- XML compaction and safe repacking: Compacts XML for efficiency and repacks while preserving required OOXML member ordering.
Use case: You receive multiple DOCX files and need a deterministic preprocessing step that (1) unpacks and normalizes XML, (2) validates the package structure before downstream processing, and (3) repacks it for consistent ingestion.
Quick Start
Use the office skill to unpack and validate an uploaded DOCX before any conversion-dependent QA: “Unpack the file into a working directory, validate the OOXML structure, and report any structural issues.”