excalidraw-diagram

Generate Excalidraw diagram JSON files with template layouts and semantic color styling.

Updated May 10, 2026
One-click install
npx skills add https://github.com/c-kraus/thws-skills --skill excalidraw-diagram-c-kraus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: excalidraw-diagram
Source: https://github.com/c-kraus/thws-skills/tree/main/excalidraw-diagram
Command: npx skills add https://github.com/c-kraus/thws-skills --skill excalidraw-diagram-c-kraus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps users convert abstract ideas and technical workflows into clear Excalidraw diagrams that visually argue relationships, flow, and structure rather than just labeling components.

Core Features & Use Cases

  • Template-first diagram generation: Produces .excalidraw JSON using pre-defined layout templates (flow, split, comparison, timeline, hub-and-spoke) to skip heavy design overhead.
  • Brand-consistent styling: Enforces a single source of truth via references/color-palette.md for semantic colors, strokes, and evidence artifact styling.
  • Evidence-driven technical diagrams: For technical content, guides inclusion of concrete evidence artifacts like real JSON/data examples, API/method names, step/event sequences, and code snippets.
  • Quality loop mindset: Specifies a render-and-validate workflow to catch clipping, overlap, arrow routing, and readability issues.
  • Multi-zoom structure guidance: Encourages summary flow, section boundaries, and detailed evidence-included regions for comprehensive diagrams.

Quick Start

Use the excalidraw-diagram skill to generate an .excalidraw JSON diagram from your workflow request using the appropriate layout template and the THWS color palette.

Frequently Asked Questions about excalidraw-diagram

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

FAQPage Schema
How do I generate Excalidraw diagrams from technical workflows?

You generate Excalidraw diagrams by providing a workflow request, which the skill processes by selecting a layout template, applying a semantic color palette, and producing valid Excalidraw JSON encoding structure, flow, and relationships visually.

What is the best way to visualize architecture diagrams with evidence artifacts?

The best way to visualize architecture diagrams with evidence artifacts is using layout templates that guide inclusion of real JSON examples, API names, step sequences, and code snippets alongside structural visual flow.

Can I use pre-defined layout templates for workflow visualization?

Yes, you can use pre-defined layout templates including flow, split, comparison, timeline, and hub-and-spoke to skip heavy design overhead and quickly structure workflow visualization tasks into persuasive Excalidraw diagrams.

Does Excalidraw JSON generation support brand-consistent styling?

Excalidraw JSON generation supports brand-consistent styling by enforcing a single source of truth from a color palette reference file for semantic colors, strokes, and evidence artifact styling.

How do I validate Excalidraw JSON to prevent arrow routing and overlap issues?

To validate Excalidraw JSON, run a render-and-validate quality loop workflow that catches clipping, overlap, arrow routing, and readability issues to ensure the final diagram output is clean.

What are the limitations of using template-first diagram generation?

Template-first diagram generation limits layouts to pre-defined structures like flow, split, comparison, timeline, and hub-and-spoke, which may not perfectly fit highly unconventional or unstructured mental-model diagrams without custom routing.