BlackBuddle avatar

hwpx-docs-forms

Optional add-on of hwpx-docs: layout rules of official Korean forms (measured on real 별지 서식) as packs, so a new form gets the page, fonts, label shading, lines and parts of its family

version
0.1.0
GitHub stars
34

Install

/plugin install hwpx-docs-forms@blackbuddle

Run it inside Claude Code after adding the marketplace with /plugin marketplace add BlackBuddle/hwpx-docs.

Contents

Discovered from source

Skills 1

Forms pack (optional)

Needs the plugin hwpx-docs. hd = the command of its skill hwpx-core. PACK = ${CLAUDE_PLUGIN_ROOT}/packs/<pack> (ls ${CLAUDE_PLUGIN_ROOT}/packs; no pack there = nothing to apply, build the form with hwpx-core alone). Format: docs/forms-pack.md of hwpx-docs. A pack is applied only when the user picks it.

  1. python "${CLAUDE_PLUGIN_ROOT}/scripts/pack.py" list "$PACK": rules with evidence n/N. Tell the user what the pack sets.
  2. Write the spec of the form (hwpx-core, docs/spec.md). Use parts: {"part": "applicant-table", "args": {...}}. Your own page, defaults and styles in the spec win over the pack.
  3. python "${CLAUDE_PLUGIN_ROOT}/scripts/pack.py" apply spec.json "$PACK" -o full.json [--with optional-name], then hd build full.json out.hwpx.
  4. Page fit: hd pagefit fix out.hwpx fitted.hwpx --profile "$PACK/pagefit.json" when the pack has that file.
  5. If the user has the original .hwp, compare page count and page images with it. The original is right.

Sponsors

Details

Marketplace
BlackBuddle/hwpx-docs
Source
addons/hwpx-docs-forms
Category
Community

More from BlackBuddle/hwpx-docs

All 3