devskale/skale-skills · skills/d2/SKILL.md

d2 skillA

d2 is agent-read markdown (skill) from devskale/skale-skills: Draw diagrams as code from text using the D2 language (d2lang.com). Knowledge skill — drives the `d2` CLI directly, plus a few thin bundled wrappers (`scripts/d2v`, `d2png`, `d2fresh`). Use when the user wants to create, edit, validate, or render architecture diagrams, flowcharts, sequence diagrams, ER diagrams, class diagrams, or any .d2 file. Triggers: draw a diagram, architecture diagram, visualize the system, render d2, .d2 file..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add devskale/skale-skills/d2@v1.4.0
Exact content
mdr add devskale/skale-skills/d2@sha256:10d6c4ed08beaa6a

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ol7hbmshofstocok.svg)](https://markdownregistry.com/a/art_ol7hbmshofstocok)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.4.0 latest2026-09-08 12dfa11 13,432 BA view · diff
v1.4.02026-08-12 229415e 13,350 BA view · diff
v1.4.02026-08-12 9b10468 13,015 BA view · diff
v1.4.02026-08-09 24b3db3 12,824 BA view · diff
v1.4.02026-08-09 c64a535 12,748 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13432 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

devskale/skale-skills · 2 stars · license none · pushed 2026-09-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ol7hbmshofstocok
GET https://markdownregistry.com/api/v1/resolve?ref=devskale/skale-skills/d2
GET https://markdownregistry.com/api/v1/blob/10d6c4ed08beaa6a2fd3856eb0f5026bdcee8909d23c4358e6aeef142ba89a3a