agentleFS
metaspartanmetaspartan/cybara/skills/diagram-maker/SKILL.md

diagram-maker

Skill38 starsChanged 5 months agoMITView on GitHub

Generate clean SVG/HTML diagrams for architecture, flows, sequences, ER diagrams, and whiteboards. Use when the user asks to "draw", "diagram", "visualize architecture/flow", or wants a schematic.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use discord-e2e, openclaw-repair-sweep and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • molt-botSkill

    discord-e2e

    Test Discord with Convex-leased QA bots: check credentials without a Gateway, exercise owned messages, or prove OpenClaw replies, files, threads, reactions, streaming, and typing. Distinguish API and Gateway evidence from manual user interactions.

    Also in 10 projects that use this

  • molt-botSkill

    openclaw-repair-sweep

    Run scoped OpenClaw issue/PR repair campaigns: coordinate workers, prove root causes, and land or close verified work under the requested authority.

    Also in 10 projects that use this

  • clawdbotSkill

    openclaw-performance

    Performance work in OpenClaw: a slow or heavy flow (latency, CPU, memory, SQL, RPC, renders), writing or reviewing a perf PR, or adding a cache. Count the work, delete waste first, cache last.

    Also in 7 projects that use this

  • clawdbotSkill

    plugin-sdk-impact

    Count Plugin SDK consumers across live ClawHub releases and bundled OpenClaw plugins before deprecation, removal, or behavior changes; supports public release-date filters.

    Also in 7 projects that use this

  • supermansuper563-opsSkill

    auto-qa

    Continuously audit, live-test, and stress-test the current OpenClaw codebase across at least ten independently scoped subsystem lanes; default to 100 independently verified, landed root-cause fixes, maintain an evidence-backed report, and announce each merged pull request immediately. Use for OpenClaw-wide autonomous QA, live-provider campaigns, gateway, CLI, web, plugin, native-app, scenario, packaging, and extended soak testing.

    Also in 10 projects that use this

  • clawsoulsSkill

    channel-message-flows

    Use when running QA Lab channel message flow evidence.

    Also in 10 projects that use this

  • +2 more from molt-bot

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create clear, correct diagrams as standalone SVG or self-contained HTML files.

    line 8
  2. Very specific:

    Prefer Mermaid: when the user wants editable/portable output — emit a fenced `mermaid block (flowchart / sequenceDiagram / erDiagram / …

    line 23
  3. Distinctive:

    Never fabricate relationships: If the diagram encodes code, ground every node/edge in actual files you read first.

    line 25
  4. Distinctive:

    Keep diagrams legible: avoid >8 nodes per row.

    line 31

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Diagram Maker

Create clear, correct diagrams as standalone SVG or self-contained HTML files. Default to SVG (inline-able, crisp at any size); use HTML when interactivity or Mermaid/Excalidraw-style rendering is wanted.

When to use (trigger phrases)

  • "draw a diagram of …", "diagram the architecture / flow / sequence"
  • "make an ER diagram", "visualize how these components interact"
  • "I want a schematic / flowchart / state machine"

How to diagram

  1. Pick the right form for the request:
    • Architecture / components → boxes + arrows, grouped by layer.
    • Process / flow → top-to-bottom or left-to-right flowchart with decision diamonds.
    • Sequence → vertical lifelines with horizontal message arrows (ordered top→bottom).
    • Data model → entity boxes with attribute lists + relationship lines.
  2. Prefer Mermaid when the user wants editable/portable output — emit a fenced ```mermaid block (flowchart / sequenceDiagram / erDiagram / stateDiagram-v2). Many tools render it.
  3. For SVG/HTML, write the file with the write tool, then open it. Keep a viewBox, a consistent palette, and readable font sizes (≥12px). Label every arrow.
  4. Never fabricate relationships. If the diagram encodes code, ground every node/edge in actual files you read first.

Output conventions

  • Save to a sensible path (e.g. docs/diagrams/<name>.svg or .html).
  • State the file path clearly after writing.
  • Keep diagrams legible: avoid >8 nodes per row; split into sub-diagrams when dense.

Mermaid quick templates

flowchart TD
  A[Start] --> B{Decision}
  B -- yes --> C[Do thing]
  B -- no --> D[Skip]
  C --> E[(Database)]

sequenceDiagram
  participant U as User
  participant A as API
  participant DB as Database
  U->>A: POST /order
  A->>DB: insert
  DB-->>A: ok
  A-->>U: 201 Created

For ER diagrams use erDiagram; for state use stateDiagram-v2.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.