d2-architect

Community

Auto-generate D2 diagrams from code.

Authordiegomarino
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of D2 diagrams by analyzing a codebase, saving developers the time and effort of manually mapping out system architecture and data models.

Core Features & Use Cases

  • Codebase Analysis: Scans directories to identify relevant code patterns (models, routes, services, config).
  • Automated Diagram Generation: Infers and generates multiple diagram types (ER, Sequence, Architecture, Class) based on code structure.
  • Use Case: Point this Skill at your backend project's src/ directory, and it will generate an ER diagram for your database models, a sequence diagram for your API request flow, and an architecture diagram for your services.

Quick Start

Use the d2-architect skill to scan the codebase at the path 'src/'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-architect
Download link: https://github.com/diegomarino/claude-toolshed/archive/main.zip#d2-architect

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.