Skip to content
Documentation
Skill

/hwp-model-spec

HWP 5.0과 HWPX(OWPML) 간 1:1 필드 매핑 테이블. hwp-model 크레이트 설계·구현·검증 시 참조.

BOOST
From plugin
hwpjs
1605 skills1 command
Install
$ npx -y skills add ohah/hwpjs --skill hwp-model-spec --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/hwp-model-spec

Context preview

The summary Claude sees to decide when to auto-load this skill.

HWP 5.0과 HWPX(OWPML) 간 1:1 필드 매핑 테이블. hwp-model 크레이트 설계·구현·검증 시 참조.

SKILL.md

hwp-model-spec.SKILL.md
description: HWP 5.0과 HWPX(OWPML) 간 1:1 필드 매핑 테이블. hwp-model 크레이트 설계·구현·검증 시 참조.

hwp-model-spec

HWP 5.0(바이너리)과 HWPX(KS X 6101:2024, XML) 두 포맷 간의 필드별 매핑 관계를 정리한 스펙 문서.

용도

  • `hwp-model` 공통 문서 모델 설계 시 참조
  • `hwp-parser` (HWP 5.0 → Document) 구현 시 변환 로직 확인
  • `hwpx-parser` (HWPX → Document) 구현 시 변환 로직 확인
  • `hwp-writer` / `hwpx-writer` 구현 시 역변환 로직 확인

파일 구성

| 파일 | 내용 | |------|------| | 1-매핑-개요.md | 전체 요약, 설계 원칙, 포맷별 특성 | | 2-resources-매핑.md | 글꼴, 글자모양, 문단모양, 테두리/배경, 탭, 번호, 글머리표, 스타일 | | 3-section-매핑.md | 섹션 정의, 페이지 설정, 각주/미주, Grid, 단 정의, 쪽 테두리 | | 4-paragraph-매핑.md | 문단, Run, 텍스트, 제어문자, 글자모양 적용, 범위태그 | | 5-control-매핑.md | 머리글/꼬리말, 각주/미주, 자동번호, 필드, 책갈피 | | 6-shape-매핑.md | 개체 공통, 표, 그림, 도형 6종, OLE, 수식, 묶음, 글맵시 | | 7-hints-전용필드.md | HWP only / HWPX only 필드 정리, hints 설계 |

사용 방법

  • 특정 영역 구현 시 해당 번호의 `.md` 파일을 읽어 참조
  • 예: 표 개체 구현 → `6-shape-매핑.md`, 문단 파싱 → `4-paragraph-매핑.md`
Ships withhwpjs

HWP5·HWPX용 Headless API와 웹 어댑터, 저수준 CFB 읽기·쓰기를 제공하는 JavaScript/WASM 모노레포입니다. 고수준 ESM 진입점은 @ohah/hwpjs와 프레임워크별 subpath입니다.

Get the whole plugin
Stats
160
Stars
23
Forks
Active
Maintenance
Zig
Language
MIT
License
6h ago
Last commit
5y ago
Created
3h ago
Added

Repo: ohah/hwpjs

Other skills on hwpjs.

hwp-spec
Skill

hwp-spec

HWP 5.0 명세를 소제목 단위로 나눈 스펙 문서. 해당 파트 구현·파싱·검증 시 같은 번호의 .md 파일을 읽어 참조.

@ohah@ohahInstall Skill
hwpx-spec
Skill

hwpx-spec

KS X 6101:2024 HWPX(OWPML) 문서 구조 표준 명세를 소제목 단위로 나눈 스펙 문서. HWPX 파싱·렌더링·검증 시 같은 번호의 .md 파일을 읽어 참조.

@ohah@ohahInstall Skill
release
Skill

release

hwpjs 배포 플로우. 버전 범프, 빌드, 커밋, PR 생성, npm 배포, GitHub 릴리즈까지 전체 과정을 수행한다.

@ohah@ohahInstall Skill