d2-validate

Community

Validate D2 diagrams

Authordiegomarino
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that your D2 diagram code is syntactically correct, preventing rendering errors and maintaining the integrity of your visual documentation.

Core Features & Use Cases

  • Syntax Validation: Checks .d2 files and D2 code blocks within .md files for correct D2 syntax.
  • Automated File Discovery: Can process individual files, multiple files within a directory, or extract D2 code from Markdown.
  • Use Case: After writing a complex D2 diagram for your system architecture, use this Skill to quickly verify its syntax before committing or rendering it.

Quick Start

Validate the D2 syntax in the file named 'architecture.d2'.

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

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.