Zum Inhalt springen
Kitbay
Einreichen
Skill

figure

MITAktualisiert am 11. Nov. 202660.421GitHub-Sterne

A skill in the Hindsight repository, started by the user, for making one self-contained animated SVG diagram for a README, pull request, issue or blog post.

Was der Skill vermittelt

A skill in the Hindsight repository, started by the user, for making one self-contained animated SVG diagram for a README, pull request, issue or blog post. Instead of writing SVG by hand, the agent describes the diagram as Giotto JSON and renders it with the giotto command-line tool, passing the JSON through standard input so no draft file is left behind. It then serves the result locally, opens it in a browser and checks screenshots. Pages on the docs site use an interactive player instead of a static file. It saves into Hindsight's own docs and blog image folders.

Funktionen

  • Describe a diagram as Giotto JSON
  • Render an animated SVG with the giotto CLI
  • Check the figure in a browser with screenshots