sysketch

v0.5.0
io.github.Tonys-Coding/sysketch Checked 3 days ago Published 1 month ago

Polished system design diagrams (SVG/PNG) from a tiny YAML spec, ~18x fewer tokens than raw SVG.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

render_diagram

Render a system design diagram from a tiny YAML spec. Writes an .svg/.png file and returns its path. Never write SVG yourself. Spec keys: title, type (sequence: message timeline), theme (sketch|graphite|blueprint|midnight|classic), direction (omit: auto-fit; right|down only if asked), steps (false hides numbers), legend (true lists steps), nodes {id: "icon | Label | subtitle"}, groups {Label: [ids or group labels to nest]}, edges ["a > b > c | label", "a ..> b" dashed, "a <> b" two-way, "a => b" thick, "a -- b" line, "a > b [red]" color]. Ids that are icon names/aliases (client, lb, api, db, c…

ParameterTypeDescription
filestringPath to a spec file (preferred; edit it, then re-render)
outstringOutput path, .svg (default) or .png
previewbooleanReturn a PNG image to inspect. Only when the user asks you to look (~1-2k tokens)
specstringYAML spec text
themestring

list_icons

List sysketch icon names and aliases, or search installed brand logos.

ParameterTypeDescription
logosstringSearch installed logos by name