cd /news/developer-tools/i-needed-a-tool-to-for-an-llm-the-de… · home › topics › developer-tools › article
[ARTICLE · art-178846] src=news.ycombinator.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

I needed a tool to for an LLM the design of the app, so I made Mermaid Sketcher

Developer Jorge Leo released Mermaid Sketcher, a free browser-based diagram editor that runs entirely in the browser and stores files in local storage, to document app design decisions in Mermaid markdown files that LLMs can follow. Leo said text files are easier to maintain than images because modifying an .md file is simpler than regenerating a picture when a design changes. The tool supports multiple diagram types, sub-diagrams, and import/export to and from the Mermaid format.

key takeaway

Documenting design decisions as Mermaid markdown files rather than images lets an LLM consume and revise the design, since editing an .md file is easier than regenerating a diagram.

by read1 min views1 publishedNov 30, 2026

Some of the designs decisions that I needed to make to keep the system consistent are better done visually. How the database schema changes or how the user travel trough the app to accomplish something... there are diagrams for that.

Those design decisions or constrains need also to be communicated to the LLM so the code follows those ideas and the best way to document something to an llm is markdown files. I know that LLMs understand pictures if the vision tower is loaded... but text files are much easier to maintain. If the LLM needs to change a design portion is easier to modify an md file than regenrate the image.

So I created Mermaid Sketcher. https://jorgeleo.github.io/mermaid-editor/

It is not a Microsoft Visio replacement, but it is simple and free. It lives only on the browser, and stores the files in your local storage. It allows for different diagram types, and for sub diagrams. It also allows to import/export diagrams from and to the mermaid format.

Enjoy and let me know what you think

Comments URL: [https://news.ycombinator.com/item?id=50705172](https://news.ycombinator.com/item?id=50705172)

Points: 1

── more in #developer-tools 4 stories · sorted by recency
── more on @jorge leo 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-needed-a-tool-to-f…] indexed:0 read:1min 2026-11-30 · —