agentleFS
6aneffy6aneffy/hwpx-kit/skills/format-convert/SKILL.md

format-convert

Skill2 starsChanged 5 months agoApache-2.0View on GitHub

한국 문서 표기 변환 — 금액 한글 병기(금12,340원(금일만이천삼백사십원)/일금…원정), 날짜 요일 표기(2026.1.1.(목)), 만나이 계산. 문서에 금액·날짜·나이를 격식 표기로 넣어야 할 때, "금액 한글로", "한글 병기", "요일 붙여줘", "만나이" 요청 시 사용. Triggers: Korean amount notation, format Korean official date.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. rajnandan1/such-skills★ 3same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

Files
SKILL.md

format-convert: 표기 변환 (금액·날짜·만나이)

이 변환들은 절대 손(암산)으로 하지 말 것 — 큰 금액의 한글 자릿수, 요일, 만나이는 미세하게 틀리기 쉽다. 반드시 CLI를 호출한다 (결정론, 안 틀림):

hwpx-kit fmt --amount 12340 --json                → 금12,340원(금일만이천삼백사십원)
hwpx-kit fmt --amount 12340 --style ilgeum --json → 일금 12,340원정(일금 일만이천삼백사십원정)
hwpx-kit fmt --date 20260101 --json               → 2026.1.1.(목)
hwpx-kit fmt --age 930705 --base 20260710 --json  → 930705(32)

JSON 봉투의 data.result를 그대로 사용. 종료코드 0 성공 / 1 오류(사유는 error.message).

값이 여러 개면 한 셸 호출로 묶어라 (;로 연결하거나 루프) — 건별로 따로 실행하면 승인 프롬프트와 왕복만 늘어난다.

금액 스타일 선택 — 문서 맥락으로 판단

스타일형식쓰는 곳
gongmun (기본)금12,340원(금일만이천삼백사십원)정부·지자체 공문, 지출결의, 공고문, 행정 계약 문서 — 법정 형식(행정 효율과 협업 촉진에 관한 규정 시행규칙)
ilgeum일금 12,340원정(일금 일만이천삼백사십원정)영수증, 차용증, 민간 계약서 — '정(整)'으로 뒤에 숫자 못 붙이게 하는 민간 관습

작성 중인 문서가 공문서면 gongmun, 민간 서류면 ilgeum. 애매하면 사용자에게 어느 형식인지 확인하고, 문서에 이미 쓰인 금액 표기가 있으면 그 형식을 따른다.

규칙 요약 (검증·설명용 — 계산은 여전히 CLI로)

  • 금액 한글 읽기는 위변조 방지 표기: 십/백/천 앞 '일'을 생략하지 않음 (113,560 → 일십일만삼천오백육십 — "십일만"이 아님)
  • 날짜: 월·일 앞 0 없음, 일 뒤에도 마침표, 요일은 괄호 — 2026.1.1.(목)
  • 만나이: 주민번호 앞 6자리는 19YY로 해석. --base 생략 시 오늘 기준

문서에 넣기

변환 결과는 hwpx-form 스킬의 fill 값으로 사용한다: {"table:계약금액": "<fmt 결과>"} 또는 {"text:<원문 금액>": "<fmt 결과>"}.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.