Skip to content

feat: Add diagram-generation plugin for Excalidraw diagrams #151

@kiriz

Description

@kiriz

Summary

Add a new diagram-generation plugin for creating professional Excalidraw diagrams for architecture and design documentation.

Components

Type Name Description
Agent diagram-pro Excalidraw diagram expert (sonnet model)
Command diagram-generate Generate new diagrams from descriptions
Command diagram-fix Correct layout/bindings in existing diagrams
Skill excalidraw-diagram Comprehensive diagram generation knowledge

Features

  • 5 diagram types: System/Component, Workflow/State, Sequence, ERD, Deployment
  • Library-first approach: 70+ pre-built components across 16 categories
  • Semantic color palettes: Architecture, workflow, AWS, K8s themes
  • Presentation-ready: 1920x1080 frames with hand-drawn aesthetic
  • Correction workflow: Fix layout, bindings, and colors in existing diagrams

Skill Structure (Progressive Disclosure)

skills/excalidraw-diagram/
├── SKILL.md           # Core instructions (~270 lines)
├── assets/            # Config and palettes
├── library/           # 70+ component library with index
├── patterns/          # Diagram type templates
├── primitives/        # Basic shapes and connectors
└── reference/         # Detailed templates (load on demand)

Use Cases

  1. Architecture documentation for systems and services
  2. Workflow and state machine visualization
  3. Sequence diagrams for API interactions
  4. Entity-relationship diagrams for data models
  5. Deployment diagrams for infrastructure

Checklist

  • Plugin directory created
  • Agent with proper frontmatter (name, description, model)
  • Commands with clear triggers
  • Skill with YAML frontmatter and "Use when" clause
  • Registered in marketplace.json
  • Documentation updates (plugins.md, agents.md, agent-skills.md)

Related PR

#146

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions