Vigyata.AI
Is this your channel?

Build BEAUTIFUL Diagrams with Claude Code (Full Workflow)

11.6K views· 309 likes· 2:17· Mar 9, 2026

Most AI coding tools can generate diagrams, but they look terrible (wrong spacing, overlapping elements, no visual hierarchy, etc.). I spent weeks building a Claude Code skill that not only creates beautiful Excalidraw diagrams but actually validates them visually using Playwright and Python, iterating until they look incredible. In this video I'll walk you through the entire skill, how it works, and what the self-validation process looks like. And the diagram I use to explain the whole workflow was created by the skill itself! I'm giving the skill away for free so you can use it in your own Claude Code setup immediately.

About This Video

Coding agents like Claude Code just aren’t very visual out of the box. If you ask them for a diagram, you usually get something that’s technically “a diagram” but it looks terrible—bad spacing, overlapping elements, zero hierarchy, and a bunch of blocky boxes that don’t actually explain anything. So I spent weeks turning my full workflow into a reusable Claude Code skill that generates genuinely beautiful, practical Excalidraw diagrams by outputting the right JSON and following a clear instruction set. The core philosophy I built into the prompting is teaching the agent how to “argue visually.” That means the structure and labels should carry the explanation, not just dump concepts into rectangles. And my favorite part: the skill doesn’t stop at generation—it self-validates. It renders the Excalidraw diagram, takes a screenshot, looks at the PNG, and then iterates on imperfections until it looks incredible. That self-check loop is the difference-maker because agents aren’t naturally good at visual tasks. In the video, I walk through how the skill works end-to-end, what the self-validation process looks like, and how to get it running fast (honestly, the easiest move is to ask your coding agent to set it up by reading the README). Clone the repo, bring in the skill, tune the colors to your brand, and use it on anything—PDFs, codebases, whatever. It saves me hours every single week.

Frequently Asked Questions

🎬 More from Cole Medin