What problem does it solve?
This Skill solves the problem of editing Hancom HWPX documents with high visual fidelity (styles, tables, cell merges, and page layout) without breaking the original structure.
Core Features & Use Cases
- Reference-first XML preservation: Analyzes an attached
.hwpx, extracts header.xml and section0.xml, then rewrites only the requested content while keeping structure and style IDs aligned.
- XML-first generation/build pipeline: Creates or modifies HWPX by assembling templates and XML overrides, then validates the result.
- Layout drift safety gate: Runs
page_guard.py to block risky changes that would likely alter page counts, especially for reference-based edits.
- Text extraction for understanding: Extracts plain text or Markdown (optionally including table/nested content) from a
.hwpx.
Quick Start
Use the hwpx skill to generate an edited HWPX from an attached reference document and ensure the final page count matches the reference.