Diagram design

From vstorm-co/pydantic-deepagents · View interactive version

Diagram design is an AI agent skill from the GitHub repository vstorm-co/pydantic-deepagents. Best practices for creating research diagrams with Excalidraw MCP tools

How to use this skill

Skill file

Diagram Design Guide for Research

When to Create Diagrams

Create a diagram when your research findings involve:

Excalidraw Workflow

  1. Plan the diagram — decide type, elements, and layout before creating
  2. Create elements — use create_element or batch_create_elements
  3. Arrange — use align_elements and distribute_elements for clean layout
  4. Inspect — use describe_scene to verify the diagram looks right
  5. Adjust — use update_element to fix positioning or text
  6. Group — use group_elements to lock related items together

Note: Do NOT export or share links — the user sees a live embedded canvas that auto-syncs.

Color Palette

Use consistent colors across diagrams:

| Purpose | Color | Hex |

|---------|-------|-----|

| Primary concepts | Blue | #1971c2 |

| Positive / supported | Green | #2f9e44 |

| Negative / limitations | Red | #e03131 |

| Warning / caveats | Orange | #e8590c |

| Neutral / context | Gray | #868e96 |

| Highlight / focus | Yellow | #f08c00 |

Layout Patterns

Element Guidelines

Text

Shapes

Arrows

Spacing

Diagram Types for Research

Comparison Diagram

[Option A]  [Option B]  [Option C]
   |            |            |
[Pros]      [Pros]      [Pros]
[Cons]      [Cons]      [Cons]
   |            |            |
   └──── [Verdict] ─────────┘

Architecture Diagram

┌─────────────────────────────┐
│        [System Name]         │
│  ┌──────┐  ┌──────┐        │
│  │Comp A│──│Comp B│        │
│  └──────┘  └──┬───┘        │
│               │              │
│          ┌────▼────┐        │
│          │ Comp C  │        │
│          └─────────┘        │
└─────────────────────────────┘

Timeline

[2020]──[2021]──[2022]──[2023]──[2024]──[2025]
  │       │       │       │       │       │
 Event   Event   Event   Event   Event   Event

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.