Zum Inhalt springen
Skillpedia
Dokumentation41k · #7001

diagram

Was er macht

Dieser Skill sagt einem Agenten, wann ein Diagramm oder eine einfache Grafik eine technische Idee besser erklärt als Text. Er ist für Menschen gedacht, die verstehen müssen, wie Code abläuft oder wie seine Teile zusammenpassen.

Wann du ihn nutzt

  • ✓Wenn eine schriftliche Erklärung zu Kontrollfluss oder Aufbau schwer nachzuvollziehen ist.
  • ✓Wenn du sehen willst, wie die Teile eines Systems einander aufrufen oder voneinander abhängen.
  • ✓Wenn du in einem Dokument oder einer Chat-Antwort ein einfaches Diagramm einer Änderung willst.

Link zum Skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/diagram/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/diagram/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du mir zeigen, wie der Login-Vorgang durch unseren Code läuft? Nimm das einfachste Diagramm, das es klar macht.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent wählt eine Ansicht, die zur Frage passt, etwa Pseudocode, einen Aufrufbaum, einen Dateibaum oder ein Mermaid-Diagramm. Wenn gewöhnlicher Text die Frage schon beantwortet, verzichtet er auf die Grafik.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Diagrams are load-bearing, not decoration. Reach for one only when prose forces the reader to hold a whole shape in their head at once — then pick the smallest view that lets them see the shape instead of reconstructing it from sentences. Everything here renders in the conversation as text blocks or Mermaid; at most one artifact file is ever written.

The vocabulary

Pick one view; two at most. More is noise.

Pseudocode — logic without language noise. Reduces a decision to its branching shape:

on(request)
  if state file locked by another writer
    queue and return pending
  acquire lock
  write
  release

Call tree — runtime control flow. Depth shows who owns the flow; annotate where the interesting edge is:

acquireStateFileLockSync()
  resolveLockPath()
  openExclusive()
  writePid()

Component tree — UI or module structure, with the boundaries that matter annotated inline:

<SettingsPage> (src/routes/settings)
  <SessionList> (owns its fetches)
  <DangerZone>
    <ConfirmButton> (disabled until typed confirmation)

File tree — where responsibility lives; keep it shallow, one annotation per directory:

src/
├── hooks/        # hook registry + types
├── tools/        # MCP tool handlers
└── workflow/     # registry + projections

Mermaid — interaction between parties, dataflow, or state transitions:

sequenceDiagram
    participant CLI
    participant Hook
    participant State
    CLI->>Hook: PreToolUse
    Hook->>State: read mode
    Hook-->>CLI: allow / deny + facts

Diff — the shape of a change when the surrounding structure already exists. Match the diff to the topic:

a component change:

 <SettingsPage>
   <SessionList />
   <DangerZone>
+    <ConfirmButton />
   </DangerZone>

a file-layout change:

 src/tools/
-└── state-tools.ts
+└── state-tools/
+   ├── handlers.ts
+   └── schema.ts

a control-flow change:

 commit()
   stage()
     hashBlobs()
+  writeObject()
   updateRef()
+    acquireStateFileLock()

a state-machine change:

 on(request)
-  write immediately
+  if locked
+    queue and return pending
+  acquire lock
+  write
+  release

The whole block — when elision would hide who owns what or the order things run in, show the complete unit once, copyable:

export function isRegistryEnabled(): boolean {
  const flag = process.env.OMC_WORKFLOW_REGISTRY;
  return flag !== '0' && flag !== 'false';
}

When text runs out

A UI layout, a before/after comparison, or a concept too dense for Mermaid: write one focused HTML file — a diagram, an infographic, or a few slides — styled after the product's own colors, type, and components, filled with real labels and data, working on desktop and mobile. Open it with the platform opener (start on Windows, open on macOS, xdg-open on Linux) and stop there: one artifact, not a gallery.

Discipline

  • Place each visual directly beside the two or three sentences it supports.
  • Carry only the calls, files, props, states, and boundaries that answer the current question — every extra node is a decoding tax on the reader.
  • If the honest answer fits in one sentence, write the sentence.
Häufige Fragen

Fügt er immer ein Diagramm hinzu?

Nein. Er fügt nur eines hinzu, wenn Fließtext dich zwingen würde, die ganze Form im Kopf zu behalten.

Welche Arten von Diagrammen nutzt er?

Pseudocode, Aufrufbäume, Komponentenbäume, Dateibäume, Mermaid-Diagramme und Diffs.

Erstellt er Bilddateien?

Höchstens eine Artefakt-Datei wird geschrieben, und die meisten Darstellungen erscheinen als Textblöcke im Chat.

Details

Originalbeschreibung des Autors

Use the smallest visual when prose must carry structure—control flow, call depth, module ownership, or change shape: pseudocode, call tree, component/file tree, Mermaid diagram, or diff. Skip it when prose already answers the question.

repo: Yeachan-Heo/oh-my-claudecode

Beliebtheit

GitHub-Sterne
41k
Platz im Ranking
#7001
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills