d2-diagram

Community

Generate D2 diagrams instantly.

AuthorRandyHaylor
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of complex technical diagrams (flowcharts, architecture, sequence, etc.) using the D2 language, eliminating the need for manual drawing and ensuring consistency.

Core Features & Use Cases

  • Diagram Generation: Creates .d2 files for various diagram types including flowcharts, architecture, sequence, state machines, SQL schemas, and class diagrams.
  • Template Library: Offers pre-defined templates for common diagram needs.
  • Syntax Reference: Provides comprehensive guides on D2 syntax for customization.
  • Use Case: Document your microservices architecture with a clear, renderable D2 diagram, or visualize a complex API request flow.

Quick Start

Use the d2-diagram skill to create a D2 architecture diagram for a system with a web server, API gateway, and a PostgreSQL database.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: d2-diagram
Download link: https://github.com/RandyHaylor/enhanceclaude/archive/main.zip#d2-diagram

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.