SuperAPI AI Directory

hwp-template

General & other

View repository

Updated 10-15 23:23

About this skill

Hangeul Template Management

Input

$ARGUMENTS

Command

Command Description Example
save <이름> <파일> Save as Template /hwp-template save IRB IRB서식.hwpx
list Saved Template List /hwp-template list
info <이름> Template Details /hwp-template info IRB
delete <이름> Delete Template /hwp-template delete IRB

Save Location

Templates are current project directory saved based on:

{프로젝트}/
└── templates/
    ├── index.json      # 템플릿 메타데이터
    └── {이름}.hwpx     # 템플릿 파일들

Processing Procedure

save

  1. templates/ create directory if it does not exist
  2. Copy file to templates/{이름}.hwpxcopy to
  3. Analyze template and extract field list
  4. templates/index.jsonSave metadata in:
{
  "templates": [
    {
      "name": "IRB",
      "file": "IRB.hwpx",
      "fields": ["연구과제명", "연구책임자", "연구기간"],
      "created": "2024-01-15"
    }
  ]
}

list

  1. templates/index.json Read
  2. Display template list in table format:
템플릿 목록:
| 이름 | 필드 수 | 등록일 |
|------|---------|--------|
| IRB  | 15개    | 2024-01-15 |

info

  1. templates/index.jsonFind the corresponding template in
  2. Display details:
    • Name, file path
    • Field list (items to fill in)
    • Registration date

delete

  1. templates/{이름}.hwpx Delete file
  2. templates/index.jsonRemove item from
  3. Deletion complete notice

Usage

Saved templates are /hwp-fillUse by name instead of file path in:

/hwp-fill IRB 내용.md

→ templates/IRB.hwpxautomatically find and use

Precautions

  • Template names may contain only English/Korean/numbers (no special characters)
  • When saving with the same name, confirm overwriting the existing template
  • templates/ The directory is .gitignorerecommended to add to (since it is a personal format)