Figure.make professional

From gpsaggese/helpers · View interactive version

Figure.make professional is an AI agent skill from the GitHub repository gpsaggese/helpers. Polish a TikZ, SVG, Graphviz, or Mermaid figure into a professional one

How to use this skill

Skill file

Goal

or <FILE>.mmd/Mermaid) and polish it into a publication-quality figure using

the project's figure conventions

Workflow

Identify the Figure Type

.claude/skills/figure.rules.md

.claude/skills/figure.rules.md

rule sets on one figure

Render the Original (Before)

```bash

> dev_scripts_helpers/dockerize/dockerized_tikz_to_bitmap.py \

-i <FILE>.tex -o before.png

```

```bash

> inkscape <FILE>.svg --export-type=png --export-filename=before.png

```

```bash

> dot -Tpng <FILE>.dot -o before.png

```

```bash

> mmdc -i <FILE>.mmd -o before.png

```

Apply the Rules

especially:

Graphviz: rank/cluster alignment)

shared palette in figure.rules.md unless the rules file gives a more

specific one, e.g., Graphviz's flat/architecture color tables)

Graphviz: edge style semantics; for Mermaid: the required %%{init: ...}%%

theme directive)

(Graphviz/Mermaid have none: follow every section above instead)

Render the Result and Iterate

(-o after.png / --export-filename=after.png)

labels, inconsistent strokes, non-semantic colors), fix the source and

re-render. Repeat until the figure is professional per the rules

Compare Side by Side

```bash

> montage before.png after.png -tile 2x1 -geometry +10+10 -label '%f' comparison.png

> open comparison.png

```

Verification

labeled side by side

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.