← 返回 Skills 市场
Visual Architecture
作者
Leo Stehlik
· GitHub ↗
· v0.1.0
· MIT-0
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install visual-architecture
功能描述
Render clean technical architecture diagrams from structured JSON using a deterministic SVG engine. Use when turning system topology, agent workflows, routin...
使用说明 (SKILL.md)
Visual Architecture
Render architecture diagrams with the bundled Python renderer instead of hand-writing SVG.
Workflow
- Create a JSON file with
title,nodes, andedges. - Snap intended node positions to the renderer grid mentally before writing them:
- horizontal grid: 120px
- vertical grid: 80px
- Run:
python3 skills/visual-architecture/scripts/render_architecture.py input.json output.svg
- If
rsvg-convertis available and you need a bitmap preview, run:
rsvg-convert -o output.png output.svg
JSON Input Structure
{
"title": "Service Map",
"nodes": [
{
"id": "web",
"label": "Web App",
"subtitle": "User interface",
"kind": "service",
"x": 120,
"y": 160
},
{
"id": "api",
"label": "API",
"subtitle": "Business logic",
"kind": "service",
"x": 360,
"y": 160
}
],
"edges": [
{
"from": "web",
"to": "api",
"kind": "primary-data",
"label": "HTTP"
}
]
}
Node Kinds
service: rounded rectanglellm: double-border rounded rectangleagent: hexagonmemory: cylinder
Each node requires:
id: unique stringlabel: primary titlekind: one of the node kinds abovex,y: grid-aligned center coordinates
Optional:
subtitle: smaller secondary labelshow_grid: set true to display the editing grid in the exported SVG
Edge Kinds
primary-data: blue solid arrowmemory-write: green dashed arrowcontrol: slate dashed arrow
Each edge requires:
from: source node idto: target node id
Optional:
label: rendered on the route with a shielding background rectsource_side,target_side: force edge anchors (left,right,top,bottom)via: array of orthogonal turn points, each withxandylabel_segment: zero-based segment index to place the label onlabel_offset:[dx, dy]shift for fine label placement
Renderer Guarantees
- Route arrows orthogonally only
- Render in this order: background, arrows, nodes, labels
- Keep label shields behind arrow text for readability
- Stay restrained: clean strokes, no decorative effects, and hide the editing grid unless explicitly requested
Usage Notes
- Prefer this skill when the user wants architecture diagrams, routing maps, or system relationship visuals.
- Choose semantic kinds first, then place nodes on the grid, then add only the edges needed to explain flow.
- Keep diagrams sparse. If a diagram feels crowded, split it into two files instead of forcing a dense composite.
Example
Use examples/service-map.json as a generic starting point for web app, API, worker, database, and LLM provider diagrams.
能力标签
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install visual-architecture - 安装完成后,直接呼叫该 Skill 的名称或使用
/visual-architecture触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial public Visual Architecture skill.
元数据
常见问题
Visual Architecture 是什么?
Render clean technical architecture diagrams from structured JSON using a deterministic SVG engine. Use when turning system topology, agent workflows, routin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。
如何安装 Visual Architecture?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install visual-architecture」即可一键安装,无需额外配置。
Visual Architecture 是免费的吗?
是的,Visual Architecture 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Visual Architecture 支持哪些平台?
Visual Architecture 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Visual Architecture?
由 Leo Stehlik(@leostehlik)开发并维护,当前版本 v0.1.0。
推荐 Skills