excalidraw-diagrams

Generate Excalidraw diagrams from Python code as .excalidraw JSON files.

12|5|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/ahostbr/kuroryuu-public --skill excalidraw-diagrams-ahostbr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: excalidraw-diagrams
Source: https://github.com/ahostbr/kuroryuu-public/tree/main/ai/skills/excalidraw/skills-sh/excalidraw-diagrams
Command: npx skills add https://github.com/ahostbr/kuroryuu-public --skill excalidraw-diagrams-ahostbr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Excalidraw diagrams can be generated from code to replace manual drawing, enabling reproducibility, version control, and rapid iteration for visuals such as flowcharts and architecture diagrams.

Core Features & Use Cases

  • Programmatic creation of flowcharts, architecture diagrams, and system designs using Python
  • Outputs .excalidraw JSON files that can be opened in Excalidraw or VS Code with the Excalidraw extension
  • Ready-to-use API for common diagram elements and layouts, with clear guidance in the README for practical usage

Quick Start

Create a Python script that imports excalidraw_generator, builds a simple Diagram, and saves it as diagram.excalidraw

Frequently Asked Questions about excalidraw-diagrams

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Excalidraw diagrams from Python code?

You generate Excalidraw diagrams from Python by importing the excalidraw_generator module, using its Diagram and Flowchart builders to construct layouts programmatically, and saving the output as a .excalidraw JSON file.

What is the best way to create architecture diagrams as code for version control?

Creating architecture diagrams as code enables reproducibility and version control. This Skill provides builders for system designs and outputs valid Excalidraw JSON, replacing manual drawing and allowing rapid iteration.

Does this Excalidraw diagram generator require any external Python dependencies?

No external dependencies are required. This Excalidraw diagram generator uses a no-dependency, standard-library Python implementation to output valid .excalidraw JSON files.

Can I open the generated .excalidraw files in VS Code?

Yes, the generated .excalidraw JSON files can be opened directly in Excalidraw or in VS Code with the Excalidraw extension installed.

How do I programmatically build flowcharts and system designs without manual drawing?

You programmatically build flowcharts and system designs by using the ready-to-use API for common diagram elements and layouts provided in the Python script, which replaces manual drawing with reproducible code.