/hwpx-docs:hwpx-readabilityfrom hwpx-docs
Improves readability of HWPX/HWP documents by adjusting page breaks, table splits, and spacing so reading units stay on one page. Use when asked for '읽기 좋게', '쪽 넘김 줄이기', '표 안 끊기게', '가독성', or '쪽 꽉 차게'.
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 pagefit check|fix and hd readability take a .hwp as well as a .hwpx; pagefit fix in.hwp out.hwp writes a new .hwp through HWPX.
hd = python "${CLAUDE_PLUGIN_ROOT}/lib/hd.py" (if ${CLAUDE_PLUGIN_ROOT} is unset, use ../../ relative to this SKILL.md). Use it only when the user asks for it ("읽기 좋게", "쪽 넘김 줄이기", "표 안 끊기게",
"가독성", "쪽 꽉 차게"). Never run it after a normal build (md2hwpx, hd build) on your own: this is the user's reading style.
| profile | what it does |
|---|---|
readable | use this for the requests above: reading units (heading + first content, item + sub items, table or figure with caption / introduction / notes, summary box, 붙임, last paragraph + 끝. + 결문) stay on one page; a long table is cut between rows with the header repeated and 3 rows at least in each part; pointers ("표 3 참조", page numbers) and footnotes that go on are reported; free space goes into paragraph and table spacing; a page break always goes before the heading and introduction that keep with a table (Hangul does not carry a heading over a break); a table of a third of a page or more that would leave 40 mm or more empty above it is cut between rows (header repeated) instead of moved whole; fixed row heights stay (freeing them made text lines overlap in Hangul) |
gongmun | dense official document / report layout: keeps intermediate pages filled to >= 85% with minimal trailing whitespace, and splits tables of >= 20% page height across rows with repeating headers (min 2 data rows per part) whenever keeping a table whole would leave >= 35 mm empty, while preserving headings, items, captions, attach lists, and tail blocks |
minimal | the least change (heading keeps with the next paragraph, no single lines, forced breaks after a mostly empty page, short last page); what hd pagefit does with no --profile |
| own file | --profile my.json: copy lib/hwpx_docs/pagefit/profiles/readable.json, keep "extends": "readable" and write only the keys that change (format: lib/hwpx_docs/pagefit/profile.py); hd pagefit profiles [name] prints a profile in full |
Ask the user once whether they have their own profile file; if not, use readable.
hd pagefit check <file.hwpx|spec.json> --profile readable. Show the findings (page numbers, what makes the reader turn the page, how empty a page is) in the user's language.hd pagefit fix <in> <out.hwpx> --profile readable (prints before, the changes, after). Text, text size and the order of the content never change; only keep flags, page breaks and paragraph / table spacing do.hd render hwpx <out.hwpx> <dir> --backend hangul (hidden Hangul, one batch, on a safe copy) and compare the page count with the one fix printed. The page layout of pagefit follows Hangul within 1 mm on the documents measured; footnote pages are less exact.
(For intermediate non-Hangul checks, hd preview <out.hwpx> <dir> --no-png skips PNG conversion; hd pipe run can chain pagefit + preview in one turn — see hd lookup cmd pipe.)Limits: vertical-writing sections are skipped; the preview, not Hangul, computes the pages (steps 1-2), so step 3 is the proof.
What SKILL.md sets; muted values are Claude Code's defaults
11 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-editChange an existing HWPX or .hwp without breaking it — list its slots (paragraphs, table cells, labels), fill a received form by label, tick check boxes, replace words, then check structure, page drift and leftover text; also HWPX to text or Markdown. Use for 받은 양식 채우기, 신청서 작성, 기존 한글 문서 수정, 문구 바꾸기, 한글 문서 텍스트 추출.npx claudepluginhub blackbuddle/hwpx-docs --plugin hwpx-docsOther plugins' skills for the same job