/ana:flowchart-diagramfrom ana
순서도 생성 스킬. 격자(열 × 행) 위에 상자·마름모(판단)·시작/끝을 놓고 꺾은 선으로 이어 순서도와 관계도(ER, 1:n · n:n 표시)를 그린다. 구역(준비·실행), 합류점, 관계 수, 선 라벨, 설명 표를 지원하고 밝은·어두운 화면용 인라인 SVG를 낸다. 상자를 뚫는 선과 넘치는 글자는 검사 스크립트가 찾는다. "순서도", "흐름도", "관계도", "개념과 관계", "ER 다이어그램", "몇 대 몇", "flowchart", "entity relationship" 요청에 쓴다.
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; scripts run unread.
AgentTA 홈의 개념과 관계를 만든 방식을 묶은 스킬이다.
skills/doc-generate/examples/library-relations.json(도서 대출 개념과 관계)이 기본 모양이다.skills/doc-generate/examples/library-loan-flow.json은 판단에서 갈라지고 되돌아가는 보통 순서도다.┌ 준비 ─────────────────────────────────────────┐
│ [영역] ──1:n──▶ [유형] ──태그──▶ [샘플] ─┐ │
│ └─▶ ◇체크 ──n:1──▶ [기준] │
└───────────────────────────────────────────────┘
┌ 실행 ─────────────────────────────────────────┐
│ [실행] ─1:n─▶ [시도] ─1:0..1─▶ [응답] ─1:n─▶ [판정] ◀─●(합류) │
└───────────────────────────────────────────────┘
(col, row) 칸에 놓는다. 여러 열에 걸치게 하려면 span을 준다.box: 보통core: 중심(파랑)map: 모아 보는 것·분류(주황)ext: 바깥(점선)innerterminal: 시작·끝(둥근)decision: 판단·연결(마름모)from: "id:변", to: "id:변". 변은 top·bottom·left·right 중 하나다.
hvh, vhv, hv, vh가 있고 route로 정할 수 있다.via: "gap:<행>", via: "gapc:<열>"로 꺾는 위치를 그 틈의 가운데로 옮긴다.card: ["1","n"]: 선 양 끝의 관계 수label: 선 이름dashed: 점선both: 양방향merge: true: 다른 선에 합류한다. 꺾이는 점에 점을 찍고 멈추며, 화살촉은 합쳐지는 선이 가진다.dot: "first": 갈라지는 점에 점을 찍는다.**굵게** 지원).minWidth(기본 760px)를 지키고 옆으로 밀어 본다. 이때 '← 옆으로 밀어 전체 보기 →' 안내가 붙는다.
"minWidth": 0으로 화면 폭에 맞춘다.prompts/01-interview.md로 묻는다.templates/spec.template.json을 채운다. LLM에게 맡길 때는 prompts/02-spec-writer.md를 준다.node scripts/check.mjs my.json
node scripts/render.mjs my.json --out out/ → out/<id>.html, out/<id>.svgnode scripts/snapshot.mjs out/<id>.html
prompts/03-review.md로 확인한다.render.mjs를 import해 figureHtml(spec)(+ tableHtml)을 넣는다.templates/theme.css의 .dg* 규칙을 앱 CSS로 옮긴다.merge: true로 첫째 선에 합류시키고 점을 찍는다(예: 채점 모델 → 기준→판정 선). 한 변에서 둘로 나가면 vhv + dot: "first"로 가른다(예: 판정 → 두 통계).decision)를 두고 1 : n, n : 1로 푼다. 위쪽 띠(pills)로 'A n : n B'를 따로 적는다.labelAt: "gap:<행>"으로 행 사이 틈에 놓는다.labelDx·labelDy를 쓴다.grid·rows를 바꾸고, 낱개 좌표를 박지 않는다.id). 같은 페이지에 그림이 둘이면 id를 달리한다.aria에 그림 전체를 한 문장으로 쓴다. 비우면 선 목록으로 자동으로 만든다.node scripts/check.mjs spec.json --scale 1.15 로 키운 글자 폭을 잰다. 경고가 남으면 열 폭(grid.colWidth)을 넓히거나 글을 줄인다.| 파일 | 내용 |
|---|---|
scripts/render.mjs | spec → SVG(+표) HTML, 단독 SVG. layout()은 좌표만 계산(검사와 공유). 의존성 없음 |
scripts/check.mjs | 상자 겹침·선이 상자 뚫음·참조·변 이름·글자 폭·라벨 걸침·고립 상자 |
scripts/snapshot.mjs | PC·휴대폰 × 밝은·어두운 PNG와 넘침 검사(Playwright) |
templates/spec.template.json | 빈 spec(필드 설명 포함) |
templates/theme.css | 색 토큰과 .dg* 그림·표 규칙 |
templates/page.html | 단독 페이지 틀 |
prompts/01-interview.md · 02-spec-writer.md · 03-review.md | 물을 것 · LLM 작성 지침 · 확인 목록 |
skills/doc-generate/examples/library-relations.* | 관계도(구역 띠 · 관계 수) |
skills/doc-generate/examples/library-loan-flow.* | 판단·되돌아감이 있는 보통 순서도 |
생성스킬 화면의 예시(skills/doc-generate/examples/library-relations.json — 도서 대출 개념과 관계)가 이 스킬의 기본 결이다: 구역 띠(준비 · 실행, 둘째 구역은 옅은 파랑) · 선 끝 관계 수 · 위쪽 파란 띠 · 판단 마름모 · 중심(파랑) · 모아 보기(주황) · 바깥(점선) · 합류점과 갈림점. v1.2의 묶음 · 원형 역할 · 목록 상자 · 선 색은 구성도를 그릴 때만 더한다.
흐름도처럼 한 줄로 내려가는 그림만이 아니라, 시스템 구성도를 여러 배치로 그린다. 참고한 슬라이드 그림(역할 원 · 점선 묶음 · 색 나눈 선)의 표현을 쓰되 공공 문서에 맞게 줄인다.
{ "title": "원스톱 플랫폼 · 기관 내부망", "nodes": ["a","b"], "tone": "blue|green|amber" } — 상자들을 감싸는 점선 테두리와 왼쪽 위 이름. 바탕은 아주 옅게.actor: 원형 — 사람·역할(담당자, 민원인). w·h를 같게.accent: 옅은 황토 — 그림에서 가장 중요한 한 곳만.list: 제목 아래 작은 칸 목록 — items: ["…","…"](세로) 또는 itemsRow: true(가로). 부서·과제 묶음처럼 구성 항목을 보일 때.plain: 테두리 없는 글.blue(요청·사용) · green(등록·저장·수집) · amber(강조) 세 가지. 나머지는 회색. 점선(dashed)은 돌아오는 것·선택적인 것."id:[email protected]"처럼 변의 비율 자리에 붙인다(넓은 상자에서 두 선을 나란히). via: "top" | "bottom"은 그림 바깥 위·아래 길로 돌아간다.col에 0.5 같은 소수, 상자마다 dx·dy(px).절제 규칙 — 색은 세 가지까지, 강조 상자는 한 곳, 그림자·그라데이션·아이콘·이모지 없음, 글자 크기는 두 단계(제목·설명). 대신 상세는 유지: 상자마다 하는 일 한 줄, 목록 상자에 구성 항목, 선마다 주고받는 것.
문서에 넣을 때 — 열은 4개 이하(넓으면 글자가 8pt 아래로 작아진다), 열 간격은 선 라벨이 들어가게 70px 이상(colStep - colWidth). 찍을 때 .dg-sub 13.2px · .dg-lbl 13px · .dg-t 15px · .dg-gt 13.5px.
예시: skills/doc-generate/examples/civil-service-arch.json(온라인 민원 처리 구성도).
prompts/01-interview.md (opens in a new tab)prompts/02-spec-writer.md (opens in a new tab)prompts/03-review.md (opens in a new tab)scripts/check.mjs (opens in a new tab)scripts/render.mjs (opens in a new tab)scripts/snapshot.mjs (opens in a new tab)templates/page.html (opens in a new tab)templates/spec.template.json (opens in a new tab)templates/theme.css (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub agent-native-agent/docs-ana --plugin ana16 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./ana-updateBring an existing, customized ANA up to date with the latest upstream ANA (github.com/tykimos/agent-native-agent) feature by feature — compare first, report what is new/missing/outdated, then port only what the user picks, using the per-feature skills (chat-window, context-chips, work-and-knowledge, app-shell, agent-requests, trust-checks). Never overwrite the ANA's own domain code. Use when the user says "최신 내용으로 업데이트해", "ANA 업데이트", "update this ANA", "upstream이랑 뭐가 달라", "새 기능 가져와", "base-ana 개선사항 적용", or gives the ANA GitHub URL and asks to sync./app-shellPort ANA's app shell — one workspace, six top tabs (PRD with Current / History, Work with a sub-tab per kind of work, Knowledge with Ontology / Graph, Requests · Evolve · Update with Waiting / In progress / Done), the bottom menu on phones, sub-tabs, badges, right-aligned profile, "New version available" reload pill, and the remembered tab. Use when the user says "하단 메뉴", "탭 구조", "모바일 네비게이션", "워크 탭", "서브탭", or when ana-update reports app-tabs missing./audio-cd-rip오디오 CD를 mp3로 리핑해 contents/music 앨범 폴더로 만든다. CD 케이스·표지 사진에서 곡명을 읽거나 MusicBrainz로 조회해 album.json 메타를 작성하고, 커버 이미지를 저장해 음악 탭(/music)에 바로 뜨게 한다. "CD 복사해줘", "CD를 mp3로", "앨범 넣어줘", "음악 CD 리핑" 요청 시 사용./chat-windowPort or rebuild the ANA chat window so it looks and behaves like the Claude app — full-width session combo, user bubbles + markdown replies + collapsible tool groups rendered from the agent's own JSONL log (Claude Code and Codex), floating composer with model pill, model/effort sheet, 5-hour/weekly usage rings, voice dictation, file attachments, reliable send state, iOS keyboard fit, one ledger per session. Use when the user says "채팅창 개선", "채팅창 스킬", "클로드 앱처럼", "모델 선택", "한도 표시", "음성 입력", "코덱스 지원", "세션별로 따로", "port the chat window", or when ana-update reports chat-* features missing.