Skip to content
Back to skills

Coding

ASecurity

Create and manage Excalidraw diagrams via MCP for architecture visualization.

  • 23 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 14, 2026
ai-agentsgonoderailsapidatabaseci/cdsecuritydocumentation

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 14, 2026

npx -y skills add andreibesleaga/GABBE --skill coding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-coding-560d7f33/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-coding-560d7f33)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: excalidraw
description: Create and manage Excalidraw diagrams via MCP for architecture visualization.
triggers: [excalidraw, whiteboard, visual diagram, hand-drawn diagram]
tags: [coding, architecture, visual, diagramming]
context_cost: medium
---
# Excalidraw Skill

## Goal
Create, edit, and manage Excalidraw diagrams programmatically using the `@cmd8/excalidraw-mcp` server. Generate architecture diagrams, flowcharts, system maps, and wireframes with the hand-drawn Excalidraw aesthetic.

## Prerequisites
- **MCP Server**: `excalidraw` must be configured in your MCP config (see `templates/core/MCP_CONFIG_TEMPLATE.json`).
- **Runtime**: Node.js 18+
- **File**: A `.excalidraw` file path must be specified (created automatically if it doesn't exist).

## Capabilities

### MCP Tools Available
| Tool | Purpose |
|---|---|
| `createNode` | Create a shape (rectangle, ellipse, diamond) with label text. Returns node ID |
| `createEdge` | Create an arrow connecting two nodes by ID or label |
| `deleteElement` | Remove a node or edge by ID or label |
| `getFullDiagramState` | Get markdown representation of the full diagram (nodes, edges, frames, colors) |

### Supported Diagram Types
- **Architecture Diagrams**: C4 Context, Container, Component views
- **Flowcharts**: Decision trees, process flows, SDLC workflows
- **System Maps**: Microservice topology, network diagrams
- **Wireframes**: UI layout sketches, page flows
- **Entity Relationships**: Database schema visualizations
- **Event Storming**: Domain event maps with sticky-note aesthetics

## Steps

1. **Plan the diagram structure**
   - Use `WHITEBOARD_DESIGN_TEMPLATE.md` to pre-map geometry (X/Y grid)
   - List all nodes (name, shape, color) and edges (source → target, label)
   - Pre-calculate coordinates to avoid overlap — LLMs are poor at spatial arrangement

2. **Create nodes**
   - Call `createNode` for each element with appropriate shape and position
   - Group related nodes by color or frame

3. **Create edges**
   - Call `createEdge` to connect nodes by ID or label
   - Add edge labels for relationship descriptions

4. **Verify diagram**
   - Call `getFullDiagramState` to review the complete diagram
   - Check for missing connections, overlapping nodes, or unlabeled edges

5. **Sync back to text**
   - Mirror structural changes into `PLAN.md` or `SYSTEM_ANALYSIS_TEMPLATE.md`
   - Diagrams are not searchable by RAG — keep metadata in text

## Deliverables
- `.excalidraw` file with the completed diagram
- Text-based summary of diagram structure in project documentation

## Usage Examples

### Create an architecture diagram
```
> "Create an Excalidraw architecture diagram for our microservices: API Gateway → Auth Service, User Service, Order Service. Save to docs/architecture.excalidraw"
```

### Visualize a database schema
```
> "Draw the database schema in Excalidraw showing Users, Orders, and Products tables with relationships"
```

### Create a flowchart
```
> "Create an Excalidraw flowchart for the CI/CD pipeline: Build → Test → Security Scan → Deploy → Smoke Test"
```

## Security & Guardrails

### 1. Skill Security
- **Local Files Only**: Excalidraw MCP operates on local `.excalidraw` files. No network access, no cloud storage.
- **No Code Execution**: The MCP creates diagram elements — it does not execute any code.
- **File Scope**: Ensure the `--diagram` path points to a file within the project directory.

### 2. Agent Guardrails
- **Pre-map Geometry**: Always calculate node positions before creating elements. Random placement results in unreadable diagrams.
- **State Sync**: Always update text-based documentation when modifying visual diagrams.
- **Verify Before Sharing**: Call `getFullDiagramState` to validate the diagram is complete before presenting to the user.

Files in this skill

  • agent-trajectory-eval.skill.md5.7 KB
  • artisan-commands.skill.md3.7 KB
  • browser-tdd.skill.md7 KB
  • chaos-fault-injection.skill.md8.1 KB
  • ci-autofix.skill.md4.2 KB
  • clean-coder.skill.md4.5 KB
  • code-review.skill.md6.1 KB
  • debug.skill.md6.5 KB
  • documentation.skill.md7.3 KB
  • eval-driven-development.skill.md6.9 KB
  • evals/code-review.eval.yaml1 KB
  • excalidraw.skill.md3.7 KB
  • file-processing.skill.md4.3 KB
  • git-workflow.skill.md7.2 KB
  • metamorphic-testing.skill.md7.8 KB
  • mobile-dev.skill.md4.2 KB
  • nodejs-expert.skill.md1.6 KB
  • output-validation.skill.md5.4 KB
  • pbt-strategy.skill.md8 KB
  • performant-ai.skill.md3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.