Langsung ke konten
Skillpedia
Branding56k Β· #3277

diagram-design

Fungsinya

Tool ini membuat diagram visual untuk menjelaskan ide yang rumit. Ia bisa menghasilkan berbagai jenis diagram seperti flowchart, bagan organisasi, dan model data agar informasi lebih mudah dipahami.

Kapan dipakai

  • βœ“Saat Anda perlu menjelaskan proses yang terdiri dari banyak langkah.
  • βœ“Untuk menunjukkan bagaimana berbagai bagian dalam sebuah sistem saling terhubung.
  • βœ“Saat menyajikan data secara visual, bukan dalam bentuk teks.

Link skill

https://github.com/cathrynlavery/diagram-design/blob/main/skills/diagram-design/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/cathrynlavery/diagram-design/blob/main/skills/diagram-design/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat flowchart yang menunjukkan proses login pengguna.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda mendeskripsikan jenis diagram dan informasi yang harus ada di dalamnya. Tool ini menggunakan deskripsi tersebut untuk membuat file HTML berisi diagram yang sudah divisualisasikan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Diagram Design

Create diagrams as self-contained HTML files with inline SVG and an editorial design system.

Forty-five visual types. Semantic patterns describe behavior; type references describe layout.


0. First-time setup β€” style guide gate

Before generating your first diagram in a new project, verify the style guide has been customized.

Do not silently ship default-skinned diagrams into a branded project.

First resolve any project .diagram-design marker per references/profiles.md; a successfully resolved marker selects its profile and bypasses this gate. That reference owns failures, the protected default, and save behavior.

Open references/style-guide.md and check the default tokens. If they are still the shipped defaults (paper #f5f5f5, ink #2d3142, accent #bf4520), pause and ask the user:

"This is your first diagram in this project and the style guide is still default. Customize now? Options: (a) website URL, (b) installed skill, (c) local folder/design-system, (d) paste tokens, (e) keep default, (f) load saved profile."

Then branch per the matching section of references/onboarding.md; for (f) follow references/profiles.md.

Once the style guide has been customized (or the user explicitly chose default), skip this gate on later runs. A leading profile header names the copied-in active profile. Without a header, any semantic-role value or typography family differing from shipped defaults means custom-unsaved: skip the gate and offer to save it as a profile. All-default tokens with no marker/header trigger the gate. After onboarding, offer to save as a named client profile per references/profiles.md.


1. Philosophy

The highest-quality move is usually deletion.

Applied to schematics:

  • Every node represents a distinct idea. Two nodes that always travel together are one node.
  • Every connection carries information. If the relationship is obvious from layout, remove the line.
  • Coral is editorial, not a flag. 1–2 focal nodes per diagram. Using it on 5 nodes erases the signal.
  • The schematic isn't done when everything is added. It's done when nothing can be removed.

Target density: 4/10. Enough to be technically complete. Not so dense it needs a guide. Above 9 nodes, it's probably two diagrams.


2. When to Use

Use for any of the 45 visual types (Β§3) when a reader will learn more from a visual than from prose, a table, or a bulleted list.

Don't use for:

  • Quick unicode diagrams β†’ use wiretext.
  • Lists of things β†’ table or bullets.
  • Attribute-only before/after β†’ table; topology changes β†’ Architecture delta.
  • One-shape "diagrams" β†’ just write the sentence.

Before drawing, ask: Would the reader learn more from this than from a well-written paragraph? If no, don't draw.


3. Selection: semantic pattern, then visual type

When behavior, state, enforcement, or risk carries the meaning, first load references/semantic-patterns.md and choose one primary pattern. Then choose the nearest visual type for layout. If no pattern matches, choose the type directly.

Behavioral trigger Semantic pattern β†’ nearest type
Fan-in, queue depth, finite capacity, bottleneck Fan-in queue / bottleneck β†’ Data flow
Repeated Question / Input / Governance / Output slots across stages Stage framework with semantic slots β†’ Process
Conversation or loose input becomes a structured durable artifact Unstructured input β†’ structured artifact β†’ Data flow
Two rule traces need pass/fail/skipped/not-reached and first divergence Paired policy-evaluation traces β†’ Flowchart
Trust boundaries plus permitted/forbidden ingress or deploy paths Secure paved road β†’ Architecture
Controls grouped by where they are enforced Governance / control catalog β†’ Layer stack
Defenses compensate for prior gaps and residual risk propagates Compensating security layers β†’ Layer stack
Hierarchical, ID-addressable decomposition needing per-block I/O, constraints, and a code link Traceable block decomposition β†’ Tree
One subject progresses through phases, waits, retries, cancellation, and terminal outcomes Lifecycle phase map β†’ State Machine

…

Pertanyaan umum

Apa itu 'editorial design system'?

Ini adalah kumpulan aturan dan gaya visual yang memastikan diagram tampil konsisten dan profesional, disesuaikan dengan identitas visual sebuah proyek.

Apa arti 'target density: 4/10'?

Artinya diagram harus cukup jelas dan informatif, tetapi tidak terlalu rumit atau penuh sesak. Tujuannya agar diagram mudah dipahami tanpa perlu panduan yang panjang.

Kapan sebaiknya saya tidak memakai tool ini?

Jangan gunakan untuk diagram teks sederhana (gunakan 'wiretext'), daftar (lebih baik pakai tabel atau poin-poin), atau untuk hanya menunjukkan perubahan atribut. Jika satu paragraf yang ditulis dengan baik sudah cukup, jangan buat diagram.

Detail

Deskripsi asli dari pembuat

Create branded architecture, architecture delta, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, exploded axonometric, axonometric plan, Venn, pyramid/funnel, treemap and marimekko, heatmap, bar and dumbbell, waterfall, line (slopegraph, ridgeli

repo: cathrynlavery/diagram-design

Popularitas

Bintang GitHub
56k
Peringkat
#3277
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill serupa