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