/hwpx-docs:hwpx-editfrom hwpx-docs
Edits HWPX and HWP documents without breaking structure: lists slots (paragraphs, table cells, labels), fills forms by label, ticks checkboxes, replaces text, and validates structure/page drift. Converts HWPX to text or Markdown.
Ships in hwpx-docs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
hd = python "${CLAUDE_PLUGIN_ROOT}/lib/hd.py" (if ${CLAUDE_PLUGIN_ROOT} is unset, use ../../ relative to this SKILL.md). A received form keeps its look only if nothing but the text
changes. These commands change text only; every table, style, picture and ZIP entry stays as it is.
hd slots form.hwpx -> one line per slot: p3 (body paragraph), t1.r2c4 (table 1, row 2, column 4),
o2 (header/footer/note/text box), with [label] when a short cell names that slot (the empty cell to its right,
or below).values.json with slot keys or labels: {"성명": "가람", "t1.r3c2": "000-0000-0000", "p5": "새 문단"}.
\n = next line.hd edit form.hwpx filled.hwpx --values values.json [--set KEY=TEXT] [--replace OLD=NEW] [--check 동의함].
An unknown key or label stops with UNMATCHED (nothing written) unless --allow-missing. It prints the guard.hd guard form.hwpx filled.hwpx [--forbid 옛기관명] [--require 새기관명] [--max-unchanged 0.35]
hd pipe fill chains fill/edit + guard (+ preview) in one command (hd lookup cmd pipe); pass --no-png to hd preview for fast intermediate SVG/HTML checks.Rules: never rebuild a received form from scratch to change its text (the look changes); never edit inside text
boxes or charts with --set unless the user asks (they are o slots); the edited paragraphs lose their line layout
cache, which Hangul rebuilds; the preview picture is replaced with a blank one so no old text stays in the file.
A received .hwp (HWP 5.0, not HWPX): the same commands and steps with the file name changed, no Hangul unless you ask for --backend hangul — hd slots form.hwp,
hd edit form.hwp filled.hwp --values values.json, hd guard form.hwp filled.hwp --render pages/.
hd edit changes text only and keeps every other byte of the file. In a paragraph
with a 누름틀 the value goes inside the field. The guard also draws both files (COMPARE PAGE n TEXT = only text changed,
FORM = lines or boxes moved: the form changed; pages/<name>_compare.html shows where). Password, 배포용, DRM and
한글 97 files are refused. To add rows or paragraphs (hd edit never does): hd hwp tohwpx f.hwp f.hwpx, hd read f.hwpx s.json,
change the JSON, hd build s.json out.hwp (no Hangul; stops with UNSUPPORTED <element> only for an object or value the .hwp writer does not know).
hd preview f.hwp out/ draws a .hwp with no Hangul, and so do hd hwp compare and hd guard --render unless
you give --backend hangul (Windows; Hangul then opens a safe copy with the scripts blanked and the linked pictures removed, and may ask once for file access).
A macro (script) of the received .hwp stays in the edited file; hd edit f.hwp out.hwp ... --drop-scripts blanks it (for a file you do not trust).
Form objects of a .hwp (check boxes, radio buttons, lists): hd form list f.hwp works; hd form fill f.hwp out.hwp writes through the same route
(UNSUPPORTED <element> only for an object or value that is not known).
Other tools:
hd text in.hwpx [--md] [-o out.md] — text or Markdown (tables as Markdown tables, footnotes as [^n]).hd read) or make a preset (skill hwpx-text).hd form list in.hwpx, then
hd form fill in.hwpx out.hwpx --set name=value [...] (hd edit does not change them). Spec key form: docs/spec.md
"Fields and references".hd secure in.hwpx out.hwpx --mask-private (skill hwpx-security).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub blackbuddle/hwpx-docs --plugin hwpx-docs11 skills in this plugin
/gongmun-style공문 글쓰기 규칙(어투·단어·문장·표기). 공문·기안문·시행문·회신·보고서·보도자료·안내문·공고문 문장 쓰기, 공문체·공문 어투, 개조식, 행정 용어 순화, 날짜·시간·금액 표기, 띄어쓰기. Use whenever Korean official text is written, checked or replied to in 공문 tone./hwpx-coreMake, read and check HWPX (OWPML, KS X 6101) and HWP (HWP 5.0) documents that 한컴오피스 한글 opens — JSON spec to HWPX or HWP builder, HWPX/HWP to spec reader, build-check loop, page renders. Use for 한글 문서/hwpx/hwp 만들기, hwp 파일, 한글 양식, reading or editing an HWPX or .hwp as data. Other hwpx-* skills add text, tables, objects, page, forms from images, 공문./hwpx-from-imageReproduce a form exactly from an image or a description as an HWPX or HWP file — measure lines, grid and text bands in mm, write a fidelity checklist, build, render in Hangul, overlay and fix until no offset is over 0.5 mm. Use for 이 양식 그대로 만들어줘, 이미지 보고 한글 문서로, 서식 재현, HWP form from image.Other plugins' skills for the same job