Help us improve
Share bugs, ideas, or general feedback.
From hwpx-generator
Generates production-ready HWPX documents from user requests in $ARGUMENTS, optional templates, Markdown content, images, and reference file analysis. Outputs to ./output/hwpx/ or specified dir.
npx claudepluginhub orientpine/honeypot --plugin hwpx-generatorHow this command is triggered — by the user, by Claude, or both
Slash command
/hwpx-generator:hwpx-generateThe summary Claude sees in its command listing — used to decide when to auto-load this command
Orchestrate end-to-end HWPX document generation from user intent and inputs in `$ARGUMENTS`. ## Configuration Options - `ARGUMENTS`: 사용자 요청 원문. 문서 유형, 목적, 포함할 내용, 산출 경로를 포함한다. - `reference_hwpx` (optional): 스타일/레이아웃 분석용 레퍼런스 `.hwpx` 경로. - `template_hwpx` (optional): 사용자 업로드 템플릿 `.hwpx` 경로. - `content_md` (optional): 마크다운 콘텐츠 파일 경로. 단일 파일 또는 여러 파일 경로 리스트. 제공 시 "마크다운 → 템플릿 채우기" 모드로 진행. - `images_dir` (optional): 이미지 파일 디렉토리 경로. `content_md` 기반 생성 시 이미지 임베딩에 사용. - `image_max_width` (optional): 이미지 최대 너비(px). 초과 시 비율 유지 리사이즈. (기본: 압축 없음) - `image_quality` (optional): JPEG 품질 (0-100). (기본: 85)...
/docsGenerates and exports documents in PPTX, DOCX, PDF, and Markdown formats from natural language descriptions. Supports technical specs, presentations, reports, and user guides.
/exportExport PR/FAQ LaTeX (.tex) to Word (.docx) via pandoc without TeX install. Specify [filename.tex] or auto-detects prfaq.tex.
/proposalCreates a print-ready multi-page HTML funding proposal with organization branding via guided wizard questions on type, sections, pages, and budget. Accepts optional project-name.
/product-reportGenerates offline-readable HTML planning report from conversation's product planning content, dynamically rendering completed stages with sticky TOC and interactive cards.
/visual-generateOrchestrates visual generation from input documents: analyzes content, extracts key concepts, selects themes/layouts/moods, generates prompts, and renders images to output folder.
Share bugs, ideas, or general feedback.
Orchestrate end-to-end HWPX document generation from user intent and inputs in $ARGUMENTS.
ARGUMENTS: 사용자 요청 원문. 문서 유형, 목적, 포함할 내용, 산출 경로를 포함한다.reference_hwpx (optional): 스타일/레이아웃 분석용 레퍼런스 .hwpx 경로.template_hwpx (optional): 사용자 업로드 템플릿 .hwpx 경로.content_md (optional): 마크다운 콘텐츠 파일 경로. 단일 파일 또는 여러 파일 경로 리스트. 제공 시 "마크다운 → 템플릿 채우기" 모드로 진행.images_dir (optional): 이미지 파일 디렉토리 경로. content_md 기반 생성 시 이미지 임베딩에 사용.image_max_width (optional): 이미지 최대 너비(px). 초과 시 비율 유지 리사이즈. (기본: 압축 없음)image_quality (optional): JPEG 품질 (0-100). (기본: 85)output_dir (optional): 결과 폴더. 기본값은 ./output/hwpx/.auto_mode (optional): 기본값 true.content_md가 여러 파일 경로 리스트인 경우:
md_merger.py로 자동 병합: python3 md_merger.py {files} --target-level {target} --output merged.jsonmerged.json을 xml_writer.py 입력으로 사용
단일 파일인 경우: 기존 방식대로 md_parser.py 직접 호출$ARGUMENTS and normalize requirements.
content_md가 제공되면 "마크다운 → 템플릿 채우기" 모드로 분류.template_hwpx가 있으면 사용자 업로드 템플릿 기반.content_md + template_hwpx 조합 시 Workflow 7 경로 선택 (md_parser → mapping → xml_writer → zip_surgery → image_embedder).reference_hwpx is provided, analyze before build.
{reference_hwpx} and produce reusable style/table/layout guidance for this request: $ARGUMENTS. Output a concise build-ready analysis report.".hwpx using this request $ARGUMENTS, selected format strategy (user template > default template > XML-first), and analyzer report if present. Return output path and generation path used."content_md와 images_dir 파라미터를 전달하여 Workflow 7 실행.#, ##, ###)을 템플릿 sub-header와 매칭하고, 매칭된 heading은 skip하며 body만 해당 위치에 삽입할 것.xml_writer.py의 build_table(), build_paragraph() 등을 사용할 것. 에이전트가 직접 XML을 작성하거나 generate_content.py 등 자체 스크립트를 생성하는 것은 금지. lxml/ElementTree를 사용한 section XML 직렬화도 금지(개행 삽입으로 한/글에서 파일이 깨짐)..hwpx 파일 경로, 사용된 생성 경로(/hwpx-generator:hwpx-core//hwpx-generator:hwpx-templates), 생성 요약.output_dir.python plugins/hwpx-generator/skills/hwpx-core/scripts/proofread.py "{generated_hwpx_path}"python plugins/hwpx-generator/skills/hwpx-core/scripts/validate.py "{generated_hwpx_path}"reference_hwpx or template_hwpx was provided, run page drift guard with appropriate mode.
| 워크플로우 | page_guard 모드 |
|---|---|
MD 채우기 (content_md 존재) | --mode template-fill |
| XML-first 생성 (템플릿 없음) | 실행하지 않음 (비교 대상 없음) |
스타일 복제 (reference_hwpx만 존재) | --mode default |
| 템플릿 소규모 편집 | --mode default |
python plugins/hwpx-generator/skills/hwpx-core/scripts/page_guard.py --mode template-fill --reference "{reference_hwpx}" --output "{generated_hwpx_path}"python plugins/hwpx-generator/skills/hwpx-core/scripts/page_guard.py --reference "{reference_hwpx}" --output "{generated_hwpx_path}"page_guard.py는 문단 수, 표 구조, 텍스트 길이 편차를 검사하여 쪽수 변동 위험을 사전 차단한다.template-fill 모드에서는 표 추가를 WARNING으로 보고하고, 기존 표 구조 보존 여부만 검사한다..hwpx 파일 경로.hwpx-analyzer 분석 리포트 경로.$ARGUMENTS에서 사용자 의도를 먼저 정규화한다.validate.py 검증 통과 전 결과를 완료 처리하지 않는다.page_guard.py 통과 전 결과를 완료 처리하지 않는다.**, *, ~~ 등)가 포함된 경우, HWPX 변환 전 인라인 서식을 multi-run으로 분할하거나 순수 텍스트로 정제한다..hwp 직접 생성을 지원한다고 안내하지 않는다.**, *, # 등)를 HWPX 텍스트(<hp:t>)에 그대로 포함시키지 않는다.{내용} 등)를 남겨두지 않는다. 반드시 전체 콘텐츠로 교체한다.@hwpx-generator 다음 ARGUMENTS로 HWPX 문서를 생성해줘.
ARGUMENTS:
- 문서 유형: 보고서
- 목적: 연구개발 주간 진행 보고
- 포함 내용: 개요, 금주 성과, 이슈, 차주 계획
- 양식: 사용자 템플릿 우선
- template_hwpx: ./templates/weekly_report_template.hwpx
- reference_hwpx: ./references/style_reference.hwpx
- output_dir: ./output/hwpx/
@hwpx-generator 다음 ARGUMENTS로 마크다운 콘텐츠를 템플릿에 채워 HWPX 문서를 생성해줘.
ARGUMENTS:
- 문서 유형: 연구계획서
- 목적: 정부 과제 제출용 연구계획서
- 양식: 사용자 템플릿 기반 마크다운 채우기
- template_hwpx: ./양식.hwpx
- content_md: ./3_비전_및_목표.md, ./4_핵심_연구내용.md
- images_dir: ./images/
- output_dir: ./output/hwpx/