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

> Source: <https://news.ycombinator.com/item?id=50705172>
> Published: 2026-11-30 19:50:31+00:00

**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.

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

# Comments: 0
