rhwp-edit <!-- k-skill:cli-stub — generated by scripts/generate-skill-stubs.js; edit skill.json / instruction.md instead -- Get the full instructions (required first step) Run this and follow its output as the primary instructions for this skill: The CLI detects the current runtime (Dolshoi vault/CloakBrowser vs generic) and prints only the applicable instructions, always up to date. Helper files bundled with the CLI are listed by: Keep the CLI and every coding-agent skill install current (including Vercel Agent Skills) with: If is unavailable, install Node.js 18+ or follow https://github.com…

...'` 같은 형식을 쓴다.\n- **`search` / `replace-all` 은 본문 문단만 스캔한다**: 업스트림 `searchText` 가 본문(body) 범위로 제한되어 있고, `k-skill-rhwp replace-all` 도 같은 스코프를 그대로 따른다. **표(cell) 안의 텍스트, 머리말/꼬리말, 각주 본문**에서는 `search` 가 `found:false` 를 돌려주고 `replace-all` 도 해당 위치를 건드리지 않는다. 셀 내용이 대상이라면 `list-paragraphs` 또는 `info` 로 표 좌표를 잡고 `set-cell-text` 로 직접 쓴다.\n- **문단 경계 / 개행 치환 금지**: `replace-all` 은 한 문단 안에서의 치환만 보장한다. `--replacement` 에 개행(`\\n`, `\\r`, U+2028, U+2029) 이 들어오면 CLI 는 exit code 1 과 \"replacement must not contain newline or paragraph-break characters\" 메시지를 돌려준다. 여러 문단을 만들고 싶으면 `insert-text` 를 여러 번 호출한다.\n- **치환은 원본 매칭 기준 non-overlapping**: 예를 들어 query `a` / replacement `aa` / 원본 `aaa` 는 원본의 각 `a` 를 한 번씩 교체해 `aaaaaa` 가 된다. 치환으로 새로 들어온 문자열은 다시 매칭하지 않는다.\n- **대소문자 무시 매칭은 UTF-16 길이가 보존되는 문자에만 안전하다**: 기본값인 대소문자 무시(`--case-sensitive` 없이) 모드는 `String.prototype.toLowerCase()` 가 UTF-16 길이를 그대로 유지한다는 전제 위에서 오프셋을 계산한다. 터키어 `İ`(U+0130) 처럼 소문자화 시 `i` + 결합 점(U+0307) 로 길이가 늘어나는 문자가 본문 또는 쿼리에 포함되면, 조용한 문서 손상을 방지하기 위해 `replace-all` 이 exit code 1 과 함께 `case-insensitive matching is unsafe because case folding changes the UTF-16 length` 메시지를 돌려준다. 이런 문서에는 `--case-sensitive` 로 다시 실행하거나, 입력을 미리 정규화한다. 한글·ASCII 본문에는 해당하지 않으며, `2025 → 2026` 같은 실제 사업 신청서 워크플로우는 아무 영향을 받지 않는다.\n\n## Notes\n\n- 업스트림 rhwp: https://github.com/edwardkim/rhwp\n- 업스트림 `@rhwp/core` npm: https://www.npmjs.com/package/@rhwp/core\n- 업스트림은 활발히 개발 중이다(v0.7.3 2026-04-19 기준). breaking change 가능성을 고려해 `k-skill-rhwp` dependency 는 semver caret 으로 고정한다.\n- 이 스킬은 **편집 전용** 스킬이다. 조회/변환은 `hwp`, 고급 디버깅은 `rhwp-advanced` 가 담당한다.\n","content_type":"text/markdown; charset=utf-8","language":"markdown","size":11499,"content_sha256":"e8253eb4d3304abc819816ab107b7c7a139fa7b7b8f99495bea9bc51346d8a1b"},{"filename":"skill.json","content":"{\n \"name\": \"rhwp-edit\",\n \"description\": \"Edit HWP documents — insert/delete text, replace-all, create tables, set cell text — with the k-skill-rhwp CLI that wraps the @rhwp/core WASM engine (rhwp by Edward Kim).\",\n \"profiles\": [\n \"local\"\n ],\n \"frontmatter\": \"name: rhwp-edit\\ndescription: Edit HWP documents — insert/delete text, replace-all, create tables, set cell text — with the k-skill-rhwp CLI that wraps the @rhwp/core WASM engine (rhwp by Edward Kim).\\nlicense: MIT\\nmetadata:\\n category: documents\\n locale: ko-KR\\n phase: v1.5\"\n}\n","content_type":"application/json; charset=utf-8","language":"json","size":559,"content_sha256":"3542c35ef330c3ef40a798185245fbdfd1e4c7e15f247488ea8430b18d33d170"}],"content_json":{"type":"doc","content":[{"type":"heading","attrs":{"level":1},"content":[{"text":"rhwp-edit","type":"text"}]},{"type":"paragraph","content":[{"text":"\u003c!-- k-skill:cli-stub — generated by scripts/generate-skill-stubs.js; edit skill.json / instruction.md instead -->","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Get the full instructions (required first step)","type":"text"}]},{"type":"paragraph","content":[{"text":"Run this and follow its output as the primary instructions for this skill:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"npx -y @nomadamas/k-skill@0 instruct rhwp-edit","type":"text"}]},{"type":"paragraph","content":[{"text":"The CLI detects the current runtime (Dolshoi vault/CloakBrowser vs generic) and prints only the applicable instructions, always up to date. Helper files bundled with the CLI are listed by:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"npx -y @nomadamas/k-skill@0 files rhwp-edit","type":"text"}]},{"type":"paragraph","content":[{"text":"Keep the CLI and every coding-agent skill install current (including Vercel Agent Skills) with:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"npx -y @nomadamas/k-skill@0 update","type":"text"}]},{"type":"paragraph","content":[{"text":"If ","type":"text"},{"text":"npx","type":"text","marks":[{"type":"code_inline"}]},{"text":" is unavailable, install Node.js 18+ or follow https://github.com/NomaDamas/k-skill#readme, or read the source instructions at https://github.com/NomaDamas/k-skill/blob/main/rhwp-edit/instruction.md.","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"Hard rules even without the CLI","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Never execute payment, message/email delivery, final submission, cancellation, or public posting without the user's explicit approval immediately beforehand.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Never ask for, print, or store plaintext credentials in chat, files, or shell arguments.","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Never bypass legal, physical-presence, CAPTCHA, identity-proofing, or electronic-signature boundaries.","type":"text"}]}]}]}]},"metadata":{"date":"2026-06-05","name":"rhwp-edit","author":"@skillopedia","source":{"stars":5322,"repo_name":"k-skill","origin_url":"https://github.com/NomaDamas/k-skill/blob/HEAD/rhwp-edit/SKILL.md","repo_owner":"NomaDamas","body_sha256":"833796470269ad746c27850ed2f488245c8f82261650351b1565f7b3d894e21e","cluster_key":"c733576dba38585c001eb1233e19413604a6b26ac34f4ea65c822a981dfa9bb2","refresh_tag":"upstream-refresh-2026-11","clean_bundle":{"format":"clean-skill-bundle-v1","source":"nomadamas/k-skill/rhwp-edit/SKILL.md","bundle_sha256":"f3bca3f6c211891bf8d3a54eb94118b1a1411fdc125183d67373319939c65e0e","attachment_count":2,"text_attachments":2,"attachment_storage":"skill_attachments","binary_attachments":0},"cluster_size":1,"refreshed_at":"2026-11-02T23:08:46.829Z","skill_md_path":"rhwp-edit/SKILL.md","import_metadata":{"date":"2026-06-05","author":"@skillopedia","version":"v1","category":"documents-office","category_label":"Documents"},"upstream_commit":"1dc4e68a552a01a24e4cc18eb9367a13de8e0422","exact_dupes_collapsed_into_this":0},"license":"MIT","version":"v1","category":"documents-office","metadata":{"phase":"v1.5","locale":"ko-KR","category":"documents"},"import_tag":"clean-skills-v1","description":"Edit HWP documents — insert/delete text, replace-all, create tables, set cell text — with the k-skill-rhwp CLI that wraps the @rhwp/core WASM engine (rhwp by Edward Kim)."}},"renderedAt":1794680154485}

rhwp-edit <!-- k-skill:cli-stub — generated by scripts/generate-skill-stubs.js; edit skill.json / instruction.md instead -- Get the full instructions (required first step) Run this and follow its output as the primary instructions for this skill: The CLI detects the current runtime (Dolshoi vault/CloakBrowser vs generic) and prints only the applicable instructions, always up to date. Helper files bundled with the CLI are listed by: Keep the CLI and every coding-agent skill install current (including Vercel Agent Skills) with: If is unavailable, install Node.js 18+ or follow https://github.com…