Vigyata.AI
Is this your channel?

Build BEAUTIFUL Diagrams with Claude Code (Full Workflow)

75.2K views· 2,189 likes· 9:53· Mar 2, 2026

🛍️ Products Mentioned (3)

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. ~~~~~~~~~~~~~~~~~~~~~~~~~~ - If you want to learn how to build reliable and repeatable systems for AI coding, check out the Dynamous Community and Agentic Coding Course: https://dynamous.ai/agentic-coding-course - Here is the GitHub repo with the skill: https://github.com/coleam00/excalidraw-diagram-skill - Obsidian Excalidraw plugin: https://github.com/zsviczian/obsidian-excalidraw-plugin ~~~~~~~~~~~~~~~~~~~~~~~~~~ 0:00 The Need for Visual Agents 0:55 Installation and Setup 1:47 Demo: Creating a Diagram 2:46 Visual Validation Loop 3:58 Iteration and Imperfections 5:19 Philosophy: Argue Visually 6:30 The Generation Workflow 8:01 Customizing Patterns and Colors 9:24 Outro ~~~~~~~~~~~~~~~~~~~~~~~~~~ Join me as I push the limits of what is possible with AI. I'll be uploading videos weekly - at least every Wednesday at 7:00 PM CDT!

About This Video

Most people are visual learners (I definitely am), but coding agents like Claude Code aren’t naturally visual. If you’ve ever asked an AI coding tool to make a diagram, you’ve probably gotten the same messy output: bad spacing, overlapping elements, zero hierarchy. In this video, I walk through the Excalidraw Diagram Skill I built for Claude Code so it can “argue visually” and produce diagrams that actually teach something—clean layout, intentional structure, and a consistent style. The core of the workflow is simple: you give the agent an idea (or a file path—YouTube script, PDF, notes, even a codebase), it generates Excalidraw JSON, and then it validates the diagram visually. That self-validation loop is the secret sauce: it renders the diagram, screenshots it, inspects the PNG, and iterates on imperfections by directly editing the JSON. It’s not perfect on the first pass (there are too many micro-decisions in layout, color, arrows, labels), but it consistently gets you an insane starting point that you can refine in a couple of directed iterations. I also show how I structure patterns, avoid “boxes and boxes,” handle deep diagrams in chunks to stay under token limits, and customize palettes so the output stays on-brand.

Frequently Asked Questions

🎬 More from Cole Medin