diagrams

Installation
SKILL.md

Diagrams

Generate diagrams from structured JSON → SVG (and optionally PNG).

Quick Start

  1. Install elkjs in the target directory (if not already present):

    cd <project>/docs/diagrams && npm init -y && npm install elkjs
    # Set "type": "module" in package.json
    
  2. Write ELK JSON files describing the diagram (see schema below)

  3. Render:

    # Single file
    node <skill-dir>/scripts/render-elk.mjs diagram.json output.svg
    
Installs
11
First Seen
Feb 24, 2026
diagrams — tychohq/agent-skills