/ana:doc-generatefrom ana
Docs 문서(HWPX) 안에 표 · 다이어그램(단계 흐름 · 판단 흐름 · 체계도) · 그림 · 목차를 한/글에서 고칠 수 있는 형태로 만드는 방법. 사람이 「생성스킬」 화면에서 고른 스킬(이름은 「표 기반 ○○ 생성 스킬」 · 「이미지 기반 ○○ 생성 스킬」 · 「문서 목차 생성 스킬」 꼴)이나 「~를 다이어그램으로/표로/목차로」 요청을 받으면 쓴다.
Ships in ana. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
스킬 목록과 각 스킬의 순서·규칙은 skills.json 한 곳에 있다(화면 Work › 생성스킬 도 이 파일을 읽는다 — 고치면 화면도 바뀐다).
~/.local/share/ana/docs-ana/nrf/docs/<문서>/original.hwpx 를 직접 고친다. 고치기 전에 scripts/secedit.py 의 edit(fn, header_fn, tag) 를 쓰면 백업(original.before-.hwpx · state.before-.json)과 문단 키 재조정이 함께 된다(DOC=<문서 id> 환경변수).scripts/pg.js 로 쪽을 세고 scripts/fillpg.py '<json>' 로 목차 쪽 번호를 채운다.scripts/diagram.py 의 box · ar · nb · dec · yes · dn 칸으로 스펙을 짜서 만든다(칸 간격 1mm, 연한 바탕).먼저 표로 할 수 있는지 본다. 표 다이어그램은 한/글에서 고칠 수 있어 그대로 두는 것이 기본이다(2026-11-20 주인 지시: 「모두 바꾸지 말고, 표로는 품질이 너무 떨어지는 것만」). 그림으로 바꾸는 것은 꺾인 선 · 되돌아가는 흐름 · 관계 수처럼 표로 그릴 수 없을 때뿐이고, 문서 폭에서 그림 속 글자가 8pt 아래로 작아지면 그림으로 넣지 않는다. 표 다이어그램이 엉성하면 먼저 표 안에서 고친다(칸 폭 · 글자 꺾임 · 색).
선이 꺾여 이어지거나 관계 수(1:n)를 적어야 하는 그림은 표로 그릴 수 없다. 이때는 따로 둔 두 스킬을 쓴다 — 각 폴더의 SKILL.md 를 따른다.
skills/flowchart-diagram — 이미지 기반 순서도 생성 스킬(판단 · 되돌아감 · 합류 · 구성도, ER 관계도)skills/concept-map-diagram — 이미지 기반 개념도 생성 스킬(목표모델형: 패널 · 모듈 카드 · 제공/사용자 열 · 연계 막대 · DB · 인프라 · 선 아이콘)skills/module-flow-diagram — 이미지 기반 흐름도 생성 스킬(한 시스템 안 단계 흐름 · 역할 · 바깥 시스템 — 예전 개념도의 흐름형)
render.mjs · check.mjs 는 이 서버의 Node 로 바로 돈다. snapshot.mjs(Playwright)는 설치돼 있지 않으니 Docs 헤드리스 화면(cdp)으로 PNG를 찍는다. 문서에는 PNG를 그림으로 넣고 아래에 「[그림 n] 제목」을 단다(한/글에서 글은 고칠 수 없다는 점을 사람에게 알린다).생성스킬 화면의 예시는 examples/<스킬 ID>.png. 공개해도 되는 일반 내용(민원 처리 · 도서 대출 · 온라인 주문 등)으로만 그린다 — 특정 기관·사업 문서를 쓰지 않는다.
examples/make-examples.py 에 HTML 을 더하고 헤드리스로 찍어 여백을 잘라 PNG 로.examples/*.json spec 을 render.mjs 로 그린 HTML 을 찍는다.
새 스킬을 skills.json 에 넣을 때 예시 PNG 도 함께 만든다..dg-sub 13.2px · .dg-lbl 13px · .dg-t 15px · .dg-note 13px · .dg-zt 13.5px 로 키운다(약 1.15배).check.mjs spec.json --scale 1.15 로 먼저 검사한다(시작·끝 둥근 상자는 쓸 폭이 더 좁다).examples/city-data-board.json (opens in a new tab)examples/civil-service-arch.html (opens in a new tab)examples/civil-service-arch.json (opens in a new tab)examples/concept-map-diagram.png (opens in a new tab)examples/ex-city-board.svg (opens in a new tab)examples/ex-city.html (opens in a new tab)examples/ex-lib-rel.html (opens in a new tab)examples/ex-lib-rel.svg (opens in a new tab)examples/flowchart-diagram.png (opens in a new tab)examples/hwpx-decision-flow.html (opens in a new tab)examples/hwpx-decision-flow.png (opens in a new tab)examples/hwpx-image.html (opens in a new tab)examples/hwpx-image.png (opens in a new tab)examples/hwpx-img2table.html (opens in a new tab)examples/hwpx-img2table.png (opens in a new tab)examples/hwpx-matrix.html (opens in a new tab)examples/hwpx-matrix.png (opens in a new tab)examples/hwpx-pending-memo.html (opens in a new tab)examples/hwpx-pending-memo.png (opens in a new tab)examples/hwpx-step-flow.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agent-native-agent/docs-ana --plugin anaOther plugins' skills for the same job
16 skills in this plugin
/agent-requestsPort ANA's Requests, Evolve, PRD and Knowledge tabs — Requests (what the agent needs from the user — pending data-change diffs, approval / decision / access requests, work only the user can do, missing information), Evolve (the agent looks at the work and the usage log and proposes what to do now and how the app should change, then builds the approved ones) and PRD (what this ANA is and does — the agent writes it, people edit it, every version is kept). Knowledge (an ontology and a graph that start empty and the agent fills from the work). Every card speaks plainly (why / ask / effect / ifNot). Also triggers on "PRD", "요구사항 문서", "지식", "온톨로지". Use when the user says "Requests 탭", "에이전트가 요청", "사용자에게 요청", "Evolve", "진화 제안", "개선 제안 탭", or when ana-update reports agent-requests / agent-evolve missing./anaAttach ANA (Agent-Native Agent) to an existing web app or service so the user can operate it by watching a dashboard and chatting with a coding agent that runs inside tmux — chat is injected via tmux paste-buffer and the session is mirrored via capture-pane, with zero dependencies (no MCP, no bridge, no hooks, no plugin runtime). Use this whenever the user wants to "add ANA / a chat+watch dashboard to my app", "attach a coding-agent chat to an existing service", "make my dashboard talk to a tmux agent", "화면 보면서 대화로 조작", "기존 서비스에 ANA 붙이기", or to scaffold the standalone ANA base app. The single file `channel-core.js` is the whole runtime — drop it in and mount it.