/hwpx-docs:hwpx-gongmunfrom hwpx-docs
Generates Korean official documents (기안문, 시행문, 내부결재) as HWPX/HWP from data templates, and 개조식 보고서 from Markdown. Follows 행정업무운영 편람 item levels and official formatting rules.
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). Layout only: the wording, item symbols, dates, 붙임 and 끝.
follow skill gongmun-style (${CLAUDE_PLUGIN_ROOT}/skills/gongmun-style/). Check the text with
python "${CLAUDE_PLUGIN_ROOT}/skills/gongmun-style/scripts/check_gongmun.py" <text file>.
${CLAUDE_PLUGIN_ROOT}/templates/gongmun.json (A4, top 30, bottom 15, left 20, right 15 mm; named styles;
a skeleton body). Replace every ○○ and delete the blocks that you do not need: the 수신자 line only stays with
수신자 참조, the 협조자 line only with a 협조자. Official: the A4 size, the fields and their order, the label
words. Convention (the 편람 states no margin, font, size or line value for a 기안문): margins, 휴먼명조 12 pt,
the sizes and lines. The table is ${CLAUDE_PLUGIN_ROOT}/docs/gongmun-defaults.md."class": "l1" ... "l8" and the symbol written in the text:
L1 1. L2 가. L3 1) L4 가) L5 (1) L6 (가) L7 ① L8 ㉮ (levels.json). Each level starts 2타 further
right; wrapped lines align to the first letter of the item text. The classes carry hang (the level): the builder
measures the widest mark of each level in the list (10. is wider than 1.), writes one TAB after the mark and
sets the hanging width, so no indent is measured by hand for any font or size. Write the mark and one space
in the text ("p": "10. 안건"); do not write a tab or two spaces.
A level with one item has no symbol. 가나다... continues with 거너더... after 하.끝. (levels.json A1-A2, E1-E6): several 붙임 use attach (붙임 1. ...) and attach_next (2. ...), one 붙임 without a
number uses attach_one (붙임 ○○○계획서 1부.); the classes keep the wrapped lines and the next items on one text column. 끝. goes 2 spaces after the last text; with 붙임 after the last
붙임 line; after a table whose last cell is filled, on its own line below the table; a table that ends early
gets 이하 빈칸 in the next cell and no 끝..관인생략 or 서명생략 may stand right of it), 수신자
line, then 직위 이름 for each signer WITHOUT the words 기안자, 검토자, 결재권자 (협조자 직위 이름 keeps its word;
전결 or 대결 go in the signer's cell), 시행 처리과명-연도별 일련번호(시행일) 접수 ...(접수일), 우 우편번호 도로명주소 / 홈페이지, 전화번호 (지역번호)... 팩스번호 (지역번호)... / 전자우편주소 / 공개 (공개, 부분공개( ) or 비공개( ) with the
정보공개법 제9조제1항 clause number). Not in the template and optional: the agency logo (2 cm x 2 cm, left end of the
행정기관명 line) and a slogan right above it.hd gongmun-check spec.json (official fields and wording, GM01-GM05), hd build, hd readability, render (skill
hwpx-core), check the text with check_gongmun.py.Hangul-made 공문 samples to read as a start (hd read <file> spec.json): ${CLAUDE_PLUGIN_ROOT}/tests/fixtures/
gongmun.hwpx (기안문), gongmun_sihaeng.hwpx (시행문, several 수신), gongmun_gyeoljae.hwpx (결재란),
gongmun_gongo.hwpx (공고문), gongmun_bodo.hwpx (보도자료), gongmun_tongji.hwpx (통지서).
Markdown -> hd md report.md report.hwpx (preset report-gongmun: title box, chapter bars, □ ○ - · items, grid
tables). Markdown subset and presets: skill hwpx-text (references/presets.md).
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-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 받은 양식 채우기, 신청서 작성, 기존 한글 문서 수정, 문구 바꾸기, 한글 문서 텍스트 추출./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./hwpx-objectsDrawing objects in HWPX — rectangles, ellipses, lines and arrows, text boxes, pictures, native Hangul charts (bar, line, pie, combined) and charts drawn with shapes. Use for 한글 도형, 글상자, 그림 넣기, 그래프/차트가 있는 문서./hwpx-pagePage setup in HWPX — paper size, landscape, margins, gutter, columns, header and footer, page numbers, page borders, sections with their own setup, page and column breaks. Use for 한글 쪽 설정, 여백, 가로 방향, 다단, 머리말/꼬리말, 쪽 번호.Other plugins' skills for the same job