bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
翻譯準備中
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