Excalidraw
by kcchien
Create professional diagrams and visualizations using Excalidraw JSON format. Specialized for IT architecture diagrams, flowcharts, network topology, system design, microservices, ER diagrams, and state machines. Includes curated color palettes and visual styles. Use when working with .excalidraw files, or when user mentions diagrams, flowcharts, architecture visualization, or drawing. Delegates to subagents to prevent context exhaustion from verbose JSON.
Skill Details
Repository Files
28 files in this skill directory
name: excalidraw description: Create professional diagrams and visualizations using Excalidraw JSON format. Specialized for IT architecture diagrams, flowcharts, network topology, system design, microservices, ER diagrams, and state machines. Includes curated color palettes and visual styles. Use when working with .excalidraw files, or when user mentions diagrams, flowcharts, architecture visualization, or drawing. Delegates to subagents to prevent context exhaustion from verbose JSON.
Excalidraw Diagram Skill
Create professional diagrams in Excalidraw JSON format.
Critical: Subagent Delegation
Main agents must NEVER read .excalidraw files directly.
Excalidraw JSON is extremely verbose (4,000 - 22,000+ tokens per file). Always delegate to subagent and request text summaries, never raw JSON.
Main Agent Subagent
│ │
├── Provide task description ──────►│
│ ├── Read/parse files
│ ├── Execute operations
│◄── Receive text summary ──────────┤
Component Libraries
Use pre-built components from libraries/ folder first.
Library Selection
| Diagram Type | Libraries |
|---|---|
| AWS | aws-architecture-icons |
| Azure | azure-cloud-services |
| GCP | gcp-icons, google-icons |
| System Design | software-architecture, system-design |
| Microservices | software-architecture, kubernetes-icons |
| Database/ER | database, uml-er-library |
| Flowchart | flow-chart-symbols |
| Network | network-topology-icons |
| DevOps/CI/CD | devops-icons, technology-logos |
| Wireframe | basic-ux-wireframing, web-kit |
Priority Order
- Pre-downloaded → Check
libraries/folder - Online → Fetch from libraries.excalidraw.com
- Custom → Build from basic shapes (last resort)
See LIBRARIES.md for usage details.
Workflow
Create Diagram
- Identify diagram type from user request
- Select appropriate library and palette
- Generate JSON with all required properties (see JSON-SCHEMA.md)
- Verify against Quality Checklist
Modify Diagram
- Read and parse existing file (via subagent)
- Apply requested changes
- Maintain style consistency
- Return summary of changes
Defaults
| Setting | Default | Notes |
|---|---|---|
| Style | hand-drawn |
Excalidraw signature look |
| Font | fontFamily: 1 (Virgil) |
Authentic hand-drawn feel |
| Roughness | 1 |
Hand-drawn effect |
| Grid | 20px |
Alignment base |
Quality Checklist
Before delivering:
- Visual hierarchy clear
- Color follows 60-30-10 rule
- Text contrast ≥4.5:1 (WCAG AA)
- Elements aligned to 20px grid
- Spacing ≥40px between elements
- All connections clearly directed
- Key elements labeled
- Style consistent throughout
Reference Documentation
| Document | Content |
|---|---|
| JSON-SCHEMA.md | Required - Complete JSON specification |
| ELEMENTS.md | Element types and properties |
| PALETTES.md | Color palette definitions |
| STYLES.md | Visual style configurations |
| ICONS.md | Hand-drawn icon patterns (fallback) |
| LIBRARIES.md | Component library reference |
| IT-DIAGRAMS.md | IT architecture templates |
| TEMPLATES.md | General diagram templates |
Related Skills
Team Composition Analysis
This skill should be used when the user asks to "plan team structure", "determine hiring needs", "design org chart", "calculate compensation", "plan equity allocation", or requests organizational design and headcount planning for a startup.
Startup Financial Modeling
This skill should be used when the user asks to "create financial projections", "build a financial model", "forecast revenue", "calculate burn rate", "estimate runway", "model cash flow", or requests 3-5 year financial planning for a startup.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Startup Metrics Framework
This skill should be used when the user asks about "key startup metrics", "SaaS metrics", "CAC and LTV", "unit economics", "burn multiple", "rule of 40", "marketplace metrics", or requests guidance on tracking and optimizing business performance metrics.
Market Sizing Analysis
This skill should be used when the user asks to "calculate TAM", "determine SAM", "estimate SOM", "size the market", "calculate market opportunity", "what's the total addressable market", or requests market sizing analysis for a startup or business opportunity.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Anndata
This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling large-scale biological datasets. Use when tasks involve AnnData objects, h5ad files, single-cell RNA-seq data, or integration with scanpy/scverse tools.
Geopandas
Python library for working with geospatial vector data including shapefiles, GeoJSON, and GeoPackage files. Use when working with geographic data for spatial analysis, geometric operations, coordinate transformations, spatial joins, overlay operations, choropleth mapping, or any task involving reading/writing/analyzing vector geographic data. Supports PostGIS databases, interactive maps, and integration with matplotlib/folium/cartopy. Use for tasks like buffer analysis, spatial joins between dat
Market Research Reports
Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix.
Plotly
Interactive scientific and statistical data visualization library for Python. Use when creating charts, plots, or visualizations including scatter plots, line charts, bar charts, heatmaps, 3D plots, geographic maps, statistical distributions, financial charts, and dashboards. Supports both quick visualizations (Plotly Express) and fine-grained customization (graph objects). Outputs interactive HTML or static images (PNG, PDF, SVG).
