# Excalidraw Diagram Generator

A skill for generating Excalidraw-format diagrams from natural language descriptions. This skill helps create visual representations of processes, systems, relationships, and ideas without manual drawing.

## When to Use This Skill

Use this skill when users request:

- "Create a diagram showing..."
- "Make a flowchart for..."
- "Visualize the process of..."
- "Draw the system architecture of..."
- "Generate a mind map about..."
- "Create an Excalidraw file for..."
- "Show the relationship between..."
- "Diagram the workflow of..."

**Supported diagram types:**
- 📊 **Flowcharts**: Sequential processes, workflows, decision trees
- 🔗 **Relationship Diagrams**: Entity relationships, system components, dependencies
- 🧠 **Mind Maps**: Concept hierarchies, brainstorming results, topic organization
- 🏗️ **Architecture Diagrams**: System design, module interactions, data flow
- 📈 **Data Flow Diagrams (DFD)**: Data flow visualization, data transformation processes
- 🏊 **Business Flow (Swimlane)**: Cross-functional workflows, actor-based process flows
- 📦 **Class Diagrams**: Object-oriented design, class structures and relationships
- 🔄 **Sequence Diagrams**: Object interactions over time, message flows
- 🗃️ **ER Diagrams**: Database entity relationships, data models


## Progressive Disclosure

This `SKILL.md` is the routing layer. Detailed recipes, examples, integration notes, and troubleshooting guidance live in `references/details.md` so they are loaded only when the task needs them.

Before producing concrete output, making a design recommendation, or debugging an implementation, load the relevant reference section below. Do not rely on memory for branch-specific APIs, examples, or caveats.

| Task branch | Read first |
| --- | --- |
| Prerequisites | `references/details.md#prerequisites` |
| Agent and System Snapshot Mode | `references/details.md#agent-and-system-snapshot-mode` |
| Step-by-Step Workflow | `references/details.md#step-by-step-workflow` |
| Best Practices | `references/details.md#best-practices` |
| Example Prompts and Responses | `references/details.md#example-prompts-and-responses` |
| Troubleshooting | `references/details.md#troubleshooting` |
| Advanced Techniques | `references/details.md#advanced-techniques` |
| Output Format | `references/details.md#output-format` |
| Validation Checklist | `references/details.md#validation-checklist` |
| Icon Libraries (Optional Enhancement) | `references/details.md#icon-libraries-optional-enhancement` |
| References | `references/details.md#references` |
| Limitations | `references/details.md#limitations` |
| Future Enhancements | `references/details.md#future-enhancements` |
