bama
BAMA: 모든 Mac 앱을 만들 수 있습니다
깨끗한 Kroki 다이어그램·SVG 뷰어·자동 인덱스를 생성하는 에이전트 스킬
Agent skill for generating clean Kroki diagrams, interactive SVG viewers, and auto-built diagram indexes.
스킬Python · ShellGitHub @smoldrago직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
설치형 프로젝트는 배포 도메인 없이도 확인할 수 있습니다. 개인 저장소는 GitHub 로그인으로, 조직 저장소는 위의 저장소 확인 파일로 직접 확인해 주세요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A distributable agent skill for turning architecture ideas, flows, schemas, and dependency maps into clean, versionable diagrams.
Kroki is a diagram rendering service. Instead of drawing boxes manually in a GUI, you write diagrams as text using engines like PlantUML, Mermaid, Graphviz, and ERD syntax, then Kroki renders them to SVG, PNG, PDF, or text output.
That gives you a few big advantages:
This skill packages that workflow for coding agents so they do not just dump raw diagram syntax or pick a random engine. It helps them choose the right diagram type, style it sanely, render it, and optionally make it interactive.
https://github.com/user-attachments/assets/e22072b9-ae73-4405-b6ad-659f2cefc868
From start to finish, the skill:
interactive.html viewer around the SVGindex.html page for the diagram collectionSo it is not just “render this diagram.” It is a full diagram production workflow.
plantuml, c4plantuml, graphviz, mermaid, and erdindex.html pages with list and card viewsdocs/diagrams/<artifact-name>/When you render an interactive wrapper, the generated HTML viewer can provide:
Support is strongest for:
Best-effort support exists for:
This skill is built for tasks like:
Examples:
The packaged skill payload lives at plugins/kroki-diagrams/.
Important pieces:
SKILL.md
The main workflow and decision rules.render_kroki_diagram.py
Renders diagram source through Kroki, prints a shareable URL, writes metadata, and refreshes index.html.build_interactive_kroki_html.py
Wraps rendered SVG output in an interactive HTML viewer (dark/light theme, node list, minimap, copy-URL).build_diagram_index.py
Builds the collection gallery page for a directory of diagram artifacts (filter rail, search, grid/list, theme toggle).references/
Holds the selection matrix, style templates, layout rules, and support notes the agent reads on demand.The skill usually writes one folder per diagram artifact:
docs/diagrams/my-diagram/
source.puml
rendered.svg
interactive.html
.diagram-meta.json
And at the parent level it can maintain:
docs/diagrams/index.html
That index is useful once a repo accumulates a larger diagram library.
Normal SVG render:
python3 plugins/kroki-diagrams/scripts/render_kroki_diagram.py \
--engine plantuml \
--input /path/to/source.puml \
--output /path/to/rendered.svg
SVG render plus interactive viewer:
python3 plugins/kroki-diagrams/scripts/render_kroki_diagram.py \
--engine plantuml \
--input /path/to/source.puml \
--output /path/to/rendered.svg \
--interactive-output /path/to/interactive.html
What you get back:
index.html by defaultThis repo includes a ready-to-open sample set under examples/interactive-playground/.
It includes medium-complex examples across the main supported engines:
Start with:
To rebuild the sample outputs from source:
cd examples/interactive-playground
./render_all.sh
Because different diagram jobs want different engines.
This skill handles that selection step so the agent does not force one engine onto every problem.
/plugin marketplace add smoldrago/kroki-diagrams
/plugin install kroki-diagrams@kroki-diagrams-marketplace
git clone --depth 1 https://github.com/smoldrago/kroki-diagrams.git /tmp/kroki-diagrams
cp -r /tmp/kroki-diagrams/plugins/kroki-diagrams ~/.agents/skills/kroki-diagrams
rm -rf /tmp/kroki-diagrams
Invoke with $kroki-diagrams or let Codex trigger it implicitly.
curl -fsSL https://raw.githubusercontent.com/smoldrago/kroki-diagrams/main/install-pi.sh | bash
Or clone and run:
git clone --depth 1 https://github.com/smoldrago/kroki-diagrams.git
cd kroki-diagrams
./install-pi.sh
.claude-plugin/
plugin.json
marketplace.json
plugins/
kroki-diagrams/
.claude-plugin/plugin.json
SKILL.md
agents/openai.yaml
references/
scripts/
install-pi.sh
Shipped:
Planned:
MIT