Skip to content
Back to skills

Diagram Rules

ASecurity

Use when drawing an architecture, flow or dependency diagram (SVG, Mermaid, Artifact or .excalidraw); adds evidence rules and an editable Excalidraw output mode.

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
developmentgonode

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add modem7/claude-config-sync --skill diagram-rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Diagram Rules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Diagram Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modem7-diagram-rules/badge)](https://www.skillsdirectory.com/skills/modem7-diagram-rules)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: diagram-rules
description: Use when drawing an architecture, flow or dependency diagram (SVG, Mermaid, Artifact or .excalidraw); adds evidence rules and an editable Excalidraw output mode.
---

# Diagram rules

Add these to whatever diagram tool you use, including the built-in Artifact diagram skills.

## Explain first, then structure
Write a short architecture explanation (a few sentences) before drawing. Build the nodes and edges from that text, not straight from the files.

## Every edge cites evidence
- Each edge names the file or line that supports it.
- If the code you read does not show a relationship, draw the edge dashed and label it "inferred".
- The caller owns the edge. Do not chain siblings into a pipeline. Labels are 2 to 4 words. Use 3 to 6 groups.

## Editable output: `.excalidraw`
Choose by who will use it: editable or shared for edits goes to a `.excalidraw` file; a polished standalone picture goes to SVG.
- Put each bound text element straight after its container.
- Shapes at least 120 by 60, text 16 px, `roughness: 1`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.