diagramming-expert
npx skills add https://github.com/curiositech/some_claude_skills --skill diagramming-expert
Agent 安装分布
Skill 文档
Diagramming Expert
Master of text-based visual communication. Proactively creates diagrams to enhance understanding of complex concepts, systems, processes, and relationships.
Core Philosophy
“Above all else, show the data.” â Edward Tufte
Diagrams should:
- Reduce cognitive load â not add to it
- Maximize signal â minimize noise (data-ink ratio)
- Be maintainable â easy to update as understanding evolves
- Work everywhere â monospace text renders universally
When to Use This Skill
Use for:
- System architectures and component relationships
- Process flows and state transitions
- Hierarchical structures (org charts, taxonomies)
- Psychological structures (psyche maps, parts work)
- Decision trees and conditional logic
- Data relationships and entity models
- Feedback loops and causal systems
- Before/after comparisons
- Timelines and sequences
NOT for:
- Photo editing or image manipulation
- Vector graphics or GUI-based design tools
- Pixel-perfect mockups (use design tools)
- Complex 3D visualizations
Ask yourself: “Would this be clearer with a picture?” If yes â diagram it.
Diagram Types Reference
See
/references/diagram-types.mdfor complete taxonomy
Quick Reference
| Type | Use For | Key Pattern |
|---|---|---|
| Flowchart | Processes, decisions | Boxes + arrows |
| Hierarchy | Org structures, taxonomies | Tree structure |
| Layers | System architecture | Stacked boxes |
| Relationship | Connections, networks | Nodes + edges |
| Sequence | Time-ordered events | Vertical flow |
| Comparison | Side-by-side analysis | Parallel columns |
| Cycle | Feedback loops | Circular arrows |
| Matrix | 2D categorization | Grid structure |
Character Reference
See
/references/unicode-characters.mdfor complete character set
Essential Characters
BOXES: ARROWS: CONNECTORS:
âââ¬ââ âââ¦ââ â â â â â ⤠⬠â´
â â â â â â â ⺠Ⲡ⼠â ⣠⦠â©
âââ¼â⤠â ââ¬â⣠ⶠⵠⷠ⼠â â¬
â â â â â â â â â
âââ´ââ âââ©ââ ââ⺠âââ EMPHASIS:
âââ âââ
ROUNDED: BULLETS: âââ âââ
ââââ⮠⢠â â
â â âââ âââ DASHED:
â°âââ⯠â ⡠⪠â â
â â
Design Principles
1. Tufte’s Data-Ink Ratio
MAXIMIZE: MINIMIZE:
âââââââââââââââââââ ââââââââââââââââââââ
â Essential info â â ââââââââââââââââ® â
â Clear structure â â â Same info â â
â Direct labeling â â â + decoration â â
âââââââââââââââââââ â â°ââââââââââââââ⯠â
ââââââââââââââââââââ
â Good â Chartjunk
2. Cognitive Load Management
CHUNKING: Group related elements
BAD: GOOD:
âââ¬ââ¬ââ¬ââ¬ââ¬ââ¬ââ¬ââ âââââââ âââââââ âââââââ
âAâBâCâDâEâFâGâHâ â A B â â C D â â E F â
âââ´ââ´ââ´ââ´ââ´ââ´ââ´ââ â (1) â â (2) â â (3) â
âââââââ âââââââ âââââââ
3. Gestalt Principles
PROXIMITY: SIMILARITY: ENCLOSURE:
â â â â â â â â â âââââââââââââ
â â â â â â â â â â â â â â â â
Groups by Groups by â (grouped) â
nearness appearance âââââââââââââ
4. Visual Hierarchy
EMPHASIS LEVELS:
âââââââââââââââââââââââ Level 1: Double/Heavy
âââââââââââââââââââââââ Level 2: Single
- - - - - - - - - - - - Level 3: Dashed
. . . . . . . . . . . . Level 4: Dotted
SIZE HIERARCHY:
âââââââââââââââââââââââââââââ
â PRIMARY ELEMENT â
â ââââââââââââââââââââââââââââ£
â Secondary Element â
âââââââââââââââââââââââââââââ¤
â tertiary element â
âââââââââââââââââââââââââââââ
Common Patterns
See
/references/patterns-library.mdfor comprehensive patterns
Process Flow
âââââââââââ âââââââââââ âââââââââââ
â Start âââââºâ Process âââââºâ End â
âââââââââââ âââââââââââ âââââââââââ
Decision Tree
ââââââââââââ
â Decision â
ââââââ¬ââââââ
âââââââââââ´âââââââââ
â¼ â¼
ââââââââââ ââââââââââ
â Yes â â No â
ââââââââââ ââââââââââ
Layered Architecture
âââââââââââââââââââââââââââââââââââââââ
â PRESENTATION LAYER â
âââââââââââââââââââââââââââââââââââââââ¤
â BUSINESS LOGIC â
âââââââââââââââââââââââââââââââââââââââ¤
â DATA ACCESS â
âââââââââââââââââââââââââââââââââââââââ¤
â DATABASE â
âââââââââââââââââââââââââââââââââââââââ
Feedback Loop
ââââââââââââââââââââ
â â
â¼ â
âââââââââ âââââ´ââââ
â Input âââââââââââºâOutput â
âââââââââ âââââââââ
â² â
â â
ââââââââââââââââââââ
Anti-Patterns
Chartjunk
â BAD: Excessive decoration
ââââââââââââââââââââââââââââââââââââ
â ââââââââââââââââââââââââââââââââ® â
â â â
â
â
IMPORTANT INFO â
â
â
â â
â â°ââââââââââââââââââââââââââââââ⯠â
ââââââââââââââââââââââââââââââââââââ
â GOOD: Clean and direct
ââââââââââââââââââââ
â Important Info â
ââââââââââââââââââââ
Spaghetti Arrows
â BAD: Crossing lines, unclear flow
âââââ âââââ
â A ââââ¬âââ B â
âââââ â âââââ
â â³ â
âââ´ââ â âââ´ââ
â C ââââ´âââ D â
âââââ âââââ
â GOOD: Clear hierarchy, minimal crossings
âââââ âââââ
â A â â B â
âââ¬ââ âââ¬ââ
â â
â¼ â¼
âââââ âââââ
â C â â D â
âââââ âââââ
Information Overload
â BAD: Too much in one diagram
[Cramming 15 concepts with 30 arrows]
â GOOD: Break into focused diagrams
"Overview Diagram" + "Detail Diagram A" + "Detail Diagram B"
Skill Integrations
Works with:
- jungian-psychologist: Psyche mapping, parts work diagrams
- system-architect: System architecture diagrams
- backend-architect: API and data flow diagrams
Jungian Psychology Diagrams
See
/references/jungian-diagrams.mdfor psychology-specific patterns
This skill integrates closely with jungian-psychologist for:
- Psyche structure mapping
- Parts work visualization
- Shadow content diagrams
- Individuation journey maps
- Complex anatomy diagrams
- Ego-Self axis visualization
Mermaid Integration
When appropriate, provide Mermaid notation for diagrams that benefit from rendering:
graph TD
A[Conscious] --> B[Personal Unconscious]
B --> C[Collective Unconscious]
B --> D[Complexes]
C --> E[Archetypes]
Workflow
- Understand the content â What are we visualizing?
- Choose the right type â Hierarchy? Process? Relationship?
- Sketch the structure â Start rough, refine
- Apply principles â Data-ink ratio, chunking, hierarchy
- Test readability â Would someone new understand this?
- Iterate â Diagrams improve with revision
Remember: A good diagram is worth a thousand words. Create them proactively whenever complex concepts arise.