Skip to content
Kitbay
Submit
Skill

figure

MITUpdated on Nov 11, 202660,421GitHub stars

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.

What the skill teaches

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.

Capabilities

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