eraserlabs avatar

Eraser Diagrams

Generates architecture diagrams from code, infrastructure files, or descriptions through the Eraser API.

CCM score
49 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
6
skills.sh installs
2.8K
GitHub stars
47
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers five diagram types: flow charts, ERDs, cloud architecture, sequence, and BPMN swimlane diagrams
  • Provides per-type DSL references for syntax, properties, and worked examples
  • Runs a POST to the Eraser render endpoint and returns an image URL and editor link
  • Designed for requests to visualize, diagram, or document system architecture from Terraform, AWS, or Azure files

Install

$ npx -y skills add eraserlabs/eraser-io --skill eraser-diagrams -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Eraser Diagram Generator

Generates professional architecture diagrams directly from code, infrastructure files, or natural language descriptions using the Eraser API.

When to Use

Activate this skill when:

  • User asks to create, generate, or visualize a diagram
  • User wants to document architecture from code
  • User has Terraform, AWS, Azure, or infrastructure files
  • User describes a system and wants it visualized
  • User mentions "diagram", "architecture", "visualize", or "draw"

How It Works

  1. Analyze the source: Extract architecture information from code, files, or descriptions
  2. Generate Eraser DSL: Create Eraser DSL code that describes the diagram
  3. Call the Eraser API: Make an HTTP POST request to render the diagram
  4. Return the result: Present the image URL and editor link to the user

Diagram Types and Syntax

Eraser supports five types of diagrams, each optimized for different use cases. For detailed DSL syntax and examples, refer to the appropriate reference file:

Flow Charts

Visualize process flows, user flows, and logic flows represented as nodes, groups, and relationships. Diagrams are created using simple syntax.

Details

Repository
github.com/eraserlabs/eraser-io
Categories
Technical Documentation, Design & UI/UX, DevOps & Cloud

More from eraserlabs/eraser-io

All 5

Similar to Eraser Diagrams

More Technical Documentation